This file contains 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
-- require "tmr" | |
rr_tmr = tmr.create() -- round-robin timer for wifi connect | |
stations = { | |
current = 0, | |
{ | |
ssid="AP1", | |
pwd="123456", | |
save=false | |
}, |
This file contains 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
#!/bin/sh | |
exec tail -n +3 $0 | |
menuentry "Android-x86" { | |
set root='(hd0,msdos9)' | |
linux /kernel root=/dev/ram0 androidboot.hardware=android_x86 SRC= video=-16 video=LVDS-1:d | |
initrd /initrd.img | |
} |
This file contains 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
#!/bin/bash | |
# restore busybox functions' links | |
# suppose that busybox is in PATHs | |
DOREMOTE=${DOREMOTE:-adb shell} | |
LOCALRUNNER=`busybox which busybox 2>/dev/null` | |
busybox which busybox || RUN=${RUN:-$DOREMOTE busybox} | |
$LOCALRUNNER which adb || RUN=${RUN:-busybox} | |
RUN=${RUN:-$DOREMOTE busybox} |
This file contains 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
#!/bin/bash -ef | |
URL=${URL:-http://www.goproblems.com/mkoff/goproblemsSGF.tgz} | |
WORKDIR=${WORKDIR:-.} | |
mkdir -p "$WORKDIR" | |
cd "$WORKDIR" | |
[[ -s goproblemsSGF.tgz ]] || \ | |
wget "$URL" |