- 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
仁济医院 (科室 53 个, 大夫 760 人) 277位大夫在线 | |
第九人民医院 (科室 47 个, 大夫 581 人) 269位大夫在线 | |
新华医院 (科室 60 个, 大夫 681 人) 266位大夫在线 | |
瑞金医院 (科室 44 个, 大夫 738 人) 247位大夫在线 | |
华山医院 (科室 45 个, 大夫 686 人) 246位大夫在线 | |
长海医院 (科室 47 个, 大夫 487 人) 218位大夫在线 | |
第一人民医院 (科室 43 个, 大夫 548 人) 210位大夫在线 | |
长征医院 (科室 37 个, 大夫 379 人) 198位大夫在线 | |
第十人民医院 (科室 42 个, 大夫 399 人) 195位大夫在线 | |
东方医院 (科室 52 个, 大夫 348 人) 180位大夫在线 |
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
<style> | |
input[type=checkbox] {width:25px;} | |
input[type=checkbox]:before | |
{content:""; | |
display: inline-block; | |
width: 25px; | |
height: 25px; | |
border:1px solid black; | |
background-color:white; | |
} |
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
<script>window.open("javascript:s=document.createElement('scr'+'ipt');s.setAttribute('onload', '$.ajax({url:\"http://192.168.0.1/index.php?action=get_todos\",type:\"POST\",success:function(json){json=eval(\"(\"+json+\")\");console.log(json);}});');s.src='http://cdnjs.cloudflare.com/ajax/libs/zepto/1.0/zepto.min.js';document.body.appendChild(s);");</script> |
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
======================要随ubuntu系统启动, 放在/home/<user>/.Xmodmap===================== | |
clear lock | |
clear shift | |
clear mod4 | |
keycode 8 = | |
keycode 10 = Escape NoSymbol Escape | |
keycode 11 = 1 exclam 1 exclam | |
keycode 12 = 2 at 2 at | |
keycode 13 = 3 numbersign 3 numbersign | |
keycode 14 = 4 dollar 4 dollar |
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
clear lock | |
clear shift | |
clear mod4 | |
keycode 8 = | |
keycode 10 = Escape NoSymbol Escape | |
keycode 11 = 1 exclam 1 exclam | |
keycode 12 = 2 at 2 at | |
keycode 13 = 3 numbersign 3 numbersign | |
keycode 14 = 4 dollar 4 dollar | |
keycode 15 = 5 percent 5 percent |
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
#remove dnsmasq-base without removing network-manager, don't use "apt-get remove" | |
#but apt-get will be held, so need no do this line | |
sudo dpkg --remove --force-all dnsmasq-base | |
#kill dnsmasq to release the port 53 | |
sudo kill -SIGHUP $(cat /var/run/dnsmasq/dnsmasq.pid) | |
#confirm /etc/resolv.conf is: | |
nameserver 127.0.0.1 |
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
boot procedure of RCs: | |
1./etc/rc*.d/S* | |
"rc" means "run commands" | |
run command as root | |
for example:/etc/init.d/unbound linked as /etc/rc[2-5].d/S20unbound and /etc/rc[0,1,6].d/K20unbound | |
2./etc/crontab | |
"@reboot root <command>" | |
3./etc/rc.local | |
run command as root |
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
=================================pc lubuntu上, 2013年=========================================== | |
#!/bin/sh | |
#chroot only for root user session | |
#pivot_root for whole system root directory changing | |
#sudo su | |
#mkdir /mnt/new_root #must be 755 root:root, or else sudo won't work: unable to stat /etc/sudoers: Permission denied | |
#mkdir /mnt/root #must be 755 root:root | |
#mkdir /mnt/rw #must be 755 root:root |
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 | |
/sbin/pivot_root /old_root /old_root/mnt/new_root #reverse pivot root, or else sys won't shutdown and disk won't be cleanly unmounted | |
exit 0 #return success |