Skip to content

Instantly share code, notes, and snippets.

View faruktoptas's full-sized avatar
🐝
I may be slow to respond.

Faruk Toptaş faruktoptas

🐝
I may be slow to respond.
View GitHub Profile
@faruktoptas
faruktoptas / aliases
Last active June 14, 2017 13:51
My bash_profile aliases
alias adbforw=./adb forward tcp:7777 tcp:7777
alias apkd=/.apktool d
alias apkb=/.apktool b
adb shell date $(date +%m%d%H%M%Y)
@faruktoptas
faruktoptas / bash
Created June 10, 2014 07:43
Useful bash commands
#find file
find . -name "*.*"
@faruktoptas
faruktoptas / gist:943a13767d92bf6648e0
Created June 10, 2014 07:40
Enable OS X App Store Debug mode
defaults write com.apple.appstore ShowDebugMenu -bool true
@faruktoptas
faruktoptas / objkeys.js
Last active January 4, 2019 10:19
JS Object Keys
function objkeys(obj){
keys = Object.keys(obj);
var ret = "";
for (var o in keys){
ret = ret +keys[o] + "=>" + obj[keys[o]] + "\n";
}
return ret;
}
@faruktoptas
faruktoptas / jcompile.sh
Created August 22, 2013 19:25
Sublime Text 2 Java compile build settings. Place jcompile.sh in /usr/bin directory then make it executable.
#!/bin/bash
file=$1
basename="${file%%.*}"
javac $file
java $basename