Skip to content

Instantly share code, notes, and snippets.

@revanmj
revanmj / SimpleJavaHttp.java
Last active September 25, 2016 18:41
Simple class for HTTP requests in Java and Android
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.HttpURLConnection;
import java.net.URL;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
@revanmj
revanmj / surface_keyboard.ahk
Last active May 28, 2020 15:25
Surface Keyboard Fn keys mappings to Fxx for specific apps
#IfWinActive ahk_exe studio64.exe ; Android Studio
$Volume_Down::F2
$Volume_Up::F3
Return
#IfWinActive ahk_exe chrome.exe ; Google Chrome
$<#F21::Send ^+i ; Settings button (F12) to Chromium dev tools
Return