Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
Focusing

S. M. AMRAN smamran

:octocat:
Focusing
View GitHub Profile
@smamran
smamran / enable_nativebridge
Created Apr 9, 2020 — forked from uzxmx/enable_nativebridge
android x86 /system/bin/enable_nativebridge
View enable_nativebridge
#!/system/bin/sh
PATH=/system/bin:/system/xbin
houdini_bin=0
dest_dir=/system/lib$1/arm$1
binfmt_misc_dir=/proc/sys/fs/binfmt_misc
if [ -z "$1" ]; then
if [ "`uname -m`" = "x86_64" ]; then
@smamran
smamran / bash_profile
Last active Dec 7, 2015 — forked from hofmannsven/README.md
My simply MySQL Command Line Cheatsheet
View bash_profile
alias mysql=/Applications/MAMP/Library/bin/mysql
@smamran
smamran / getValuesFromObjectKeys.js
Created Sep 22, 2015 — forked from coreyc/getValuesFromObjectKeys.js
functional way to get values from object keys
View getValuesFromObjectKeys.js
var inputObject = { 0: 'a', 1: 'b', 2: 'c' };
var values = [];
Object.keys(inputObject).forEach(function(key) {
values.push(inputObject[key]);
return values;
});
console.log(values);