-
-
Save tokuhirom/978211 to your computer and use it in GitHub Desktop.
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
# wget --header='Accept-Encoding: gzip' -O root.bin.gz http://bellard.org/jslinux/root.bin | |
# gunzip root.bin.gz | |
# mkdir mnt | |
# mkdir files | |
# sudo mount -t ext2 -o loop root.bin mnt | |
# dd if=/dev/zero of=files/root.bin bs=1k count=4096 | |
# sudo mke2fs -m 0 -i 2000 files/root.bin | |
# mkdir mnt2 | |
# sudo mount -t ext2 -o loop files/root.bin mnt2 | |
# sudo cp -dpR mnt/* mnt2/ | |
# sudo umount mnt2/ | |
and use CocProxy or Fiddler's AutoResponder for http://bellard.org/jslinux/root.bin | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
wget http://svn.coderepos.org/share/lang/ruby/cocproxy/proxy.rb
ruby proxy.rb -n -p 5462 --disable-double-screen