Skip to content

Instantly share code, notes, and snippets.

View EkoAdiWijayanto's full-sized avatar

Eko Adi Wijayanto EkoAdiWijayanto

View GitHub Profile
@EkoAdiWijayanto
EkoAdiWijayanto / gist:6342120
Created August 26, 2013 14:38
Masalah menu saat netbean maximize
Restore window netbean, drag ke kiri atas, lakukan maximize
<allow-navigation href="http://*/*" />
@EkoAdiWijayanto
EkoAdiWijayanto / List
Created November 24, 2015 02:06
Cordova Plugins
cordova plugin add https://github.com/polychrom/cordova-android-accountmanager.git
@EkoAdiWijayanto
EkoAdiWijayanto / ASUS ROG GL552JX DM174H, ARCH LINUX INSTALL STEP
Last active June 17, 2017 06:51
ASUS ROG GL552JX DM174H, ARCH LINUX INSTALL STEP
setup bios
disable secure boot control
enable csm & disable pxe oprom policy
wifi-menu
ping -c3 www.google.com
lsblk
cfdisk /dev/sda
mkfs.ext4 /dev/sda7
mkfs.ext4 /dev/sda8
@EkoAdiWijayanto
EkoAdiWijayanto / .bashrc
Created December 31, 2015 14:59
Keep new terminal on last dir
# including this ensures that new gnome-terminal tabs keep the parent `pwd` !
if [ -e /etc/profile.d/vte.sh ]; then
. /etc/profile.d/vte.sh
fi
sudo npm uninstall grunt-concurrent --save-dev
sudo npm install [email protected] --save-dev
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(ansi-color-faces-vector
[default default default italic underline success warning error])
'(custom-enabled-themes (quote (misterioso)))
'(inhibit-startup-screen t)
'(initial-frame-alist (quote ((fullscreen . maximized))))
#/etc/zsh/zshenv
export ANDROID_HOME=/tools/android-sdk-linux
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/platform-tools
export PATH=$PATH:/tools/netbeans_80/bin
export PATH=$PATH:/tools/arduino-1.6.5
export PATH=$PATH:/tools/fritzing-0.9.2b.linux.AMD64
export PATH=$PATH:/tools/android-sdk-linux/build-tools/23.0.0_rc2
#!/bin/bash
DIR="/sys/class/power_supply/BAT0"
for PREFIX in "charge" "energy"
do
if [ -f "$DIR/${PREFIX}_now" ] && [ -f "$DIR/${PREFIX}_full" ]
then
echo "$DIR/${PREFIX}_now"
echo "$DIR/${PREFIX}_full_design"
ssh-keygen -R 192.168.1.12