- DOS usb boot -> ubuntu live iso usb boot(too big), minimal_linux_live_20-Jan-2017_64-bit.iso(only 6.8MB)
- diskgenius for dos -> testdisk("No Log\Proceed\Intel\Analyse\Quick Search", better than fdisk), gnome-disks
- norton ghost for dos -> "fsarchiver savefs" "fsarchiver restfs", remastersys
- windows xp -> debian+de(lxde, xfce), kali, ubuntu
- ntldr boot.ini -> grub menu.lst, boot-repair
- RemapKey/KeyTweak -> xmodmap -pke > ~/.Xmodmap then modify it, it will be loaded automatically
- myboard.exe -> myboard.py + modified xorg-server + modified libgtk2.0-0 + fcitx-googlepinyin
- MagicMover(D:\Program Files) -> remastersys restored sda1 + UnionFS-FUSE(pivot_root) sda2
- WinHex -> wxHexEditor, bless, (sublime hexviewer only can edit one line)
- emEditor(PHP/C braces outline, csv editor) -> sublime(ctrl+r to list functions, addon packages: AlignTab,SublimeCodeIntel,Codecs,ConvertToUTF8), SciTE(to view log files)
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
import platform | |
if platform.system() == "Windows": | |
import msvcrt | |
def getch(): | |
return msvcrt.getch() | |
else: | |
import tty, termios, sys | |
def getch(): | |
fd = sys.stdin.fileno() |
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
import random | |
import sys | |
import time | |
while True: | |
sys.stdout.write(random.choice([u'╱',u'╲'])) | |
sys.stdout.flush() | |
time.sleep(0.01) |