Skip to content

Instantly share code, notes, and snippets.

View VibeMage's full-sized avatar
🏠
Working from home

VibeMage VibeMage

🏠
Working from home
View GitHub Profile
@VibeMage
VibeMage / eco-server-order-on-ovhcloud-api.md
Created November 8, 2024 23:44 — forked from adns44/eco-server-order-on-ovhcloud-api.md
Eco server order process with OVHcloud API step-by-step

OVH - How to use the API to order any server? The answer is here!

I ASK YOU IN FIRST

This process is automateable. I'll write the know-how, how to do it. I kindly ask you! Do NOT ABUSE it! Please keep the oportunity to order limited edition servers for other ones!

How the OVH API works?

First of all, OVH provides API libraries to access the API. And for this too, they have an API console where you can try it. For now, we'll see the API console. We'll place an older. Lets go!

@VibeMage
VibeMage / expand-collapse.java
Created February 14, 2020 09:04 — forked from ZkHaider/expand-collapse.java
Simple Expand / Collapse RecyclerView Item
public static class ExampleViewHolder extends RecyclerView.ViewHolder
implements View.OnClickListener {
private int originalHeight = 0;
private boolean isViewExpanded = false;
private YourCustomView yourCustomView
public ExampleViewHolder(View v) {
super(v);
v.setOnClickListener(this);
@VibeMage
VibeMage / EachDirectoryPath.md
Last active January 17, 2020 03:35 — forked from granoeste/EachDirectoryPath.md
[Get the each directory path] #Android

System directories

Method Result
Environment.getDataDirectory() /data
Environment.getDownloadCacheDirectory() /cache
Environment.getRootDirectory() /system

External storage directories