This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.app.Application; | |
import android.content.Context; | |
import android.content.SharedPreferences; | |
public enum EasyPref { | |
AString, | |
ABoolean, | |
AInt, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess, time, vlc | |
from gtts import gTTS | |
from inputimeout import inputimeout, TimeoutOccurred | |
print("Hello, world!\n") | |
# upower -i /org/freedesktop/UPower/devices/battery_BAT1 | |
language = 'en' | |
playLines = "" | |
exitPromptEmpty = "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
* @param x | |
* @param inMin | |
* @param inMax | |
* @param outMin | |
* @param outMax | |
* @return | |
*/ | |
private long normalize(long x, long inMin, long inMax, long outMin, long outMax) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data:text/html, <html contenteditable> | |
https://coderwall.com/p/lhsrcq/one-line-browser-notepad |