筆記
不懂裝懂,永世飯桶!
2012年8月24日 星期五
set java path and classpath in bat file
›
set path=%path%+;C:\Program Files\Java\jre7\bin set classpath=C:\Program Files\Java\jre7\lib save as *.bat file and run ref:http://registerb...
2012年7月18日 星期三
Quote: Make bootable usb from bootable cd on Windows
›
quote from: http://www.ehow.com/how_5942169_convert-bootable-iso-bootable-usb.html 1 Insert your USB drive into the USB slot in your compute...
/dev/sda1 is apparently in use by the system
›
Possible: Mount Umount /dev/sda1 Used by RAID mdadm -S /dev/md1
2012年7月14日 星期六
One outs
›
2 正因為有多餘的選擇,人才會迷惘
2012年7月12日 星期四
Repair bad sector using 'Data Lifeguard Diagnostic for Windows'
›
Log: Fast test - OK Full test - Fail, Bad sector Write Zeros (Full) - Fail, Bad sector Write Zeros (Fast) - OK Write Zeros(Full) - OK Full t...
2012年6月19日 星期二
簡明詞典
›
價值觀 - 想法與做法 - by Wong Sir Process scheduling - What process should run on next time and how long 聰明- 做正確的事情, 醒目- 做好一件事 by Tam Sir
2012年6月13日 星期三
mon process via pid file
›
#!/usr/bin/python3.2 import os self_pid_path = '/var/run/monPid.pid' pid_path_list = ['/var/run/mldonkey.pid', '/var/run...
2012年5月31日 星期四
burn iso though cui
›
emerge -av dvd+rw-tools growisofs -dvd-compat -Z /dev/dvdrw=/root/yourImage.ISO -speed=4
2012年5月24日 星期四
Linux登出之後,讓程式繼續執行的方法
›
nohup yourCommand Refer: http://dragonspring.pixnet.net/blog/post/33257496-%5Blinux%5Btips%5Dnohup%3A-%E8%AE%93command%E5%9C%A8%E9%81%A0%E7%...
2012年5月10日 星期四
Set default search behavior in opera address bar
›
Go to opera:config#network Disable "Check Local HostName" Disable "Enable HostName Expansion" Enable "Enable Hos...
2012年5月2日 星期三
金句-Fight Club
›
我找到了自由,拋開所有希望就是自由 I found freedom. Losing all hope was freedom. 我要到洞裡找我的精神動物 不要用快死的人的方式躲避疼痛 我在這裡看到了最強最聰明的人 你們都很有潛力 但都被浪費了 ...
2012年4月30日 星期一
七二法則
›
七二法則是用於計算在某段時間之內成長到原有價值兩倍的方法。 倍數成長年限=72/成長率 真是這麼神奇? Code: import math print (('%5s %5s %5s') % ('%', '72/I', 'Ac...
2012年4月23日 星期一
Some install record concerning mod_wsgi on gentoo
›
Target: Using Virtual Server (I called it prototype :) ). Request modify the hosts file /etc/apache2/modules.d/70_mod_wsgi.conf # WSGISocket...
Run Home bashrc
›
all below lines attached the file /etc/bash/bashrc #enable personally bashrc if [[ ~/.bashrc ]] ; then source ~/.bashrc fi Example #!/bi...
Kick user/ terminal on linux
›
## show user ~# w ## ## kick terminal ~# skill -KILL -v pts/0 ## ## kick user ~# skill -KILL -u user ## ## Stop/Pauseuser activites ~# skill...
Enable key pad in termal
›
/etc/profile.d/term.sh #!/bin/bash # This program change term to vt220 for enable num pad on terminal # The side effect is the page up/down ...
The quicker way of run cmd with administrator rights
›
Press Win Key Type cmd Combine to press Ctrl + Shift + Enter Refer:http://fasterdata.es.net/host-tuning/ms-windows/
2012年4月22日 星期日
Edit remote *nix text file on windows using Notepad++
›
Notepad++ with the useful plugin - NppFtp Step: Plugin->NppFtp->Show NppFtp windows On NppFtp windows, click 'Gear' (Settings...
2012年4月18日 星期三
Save power through dynamic frequency
›
the program split in 2 part: a program set something and call the script to manage the frequency /etc/local.d/powerSave.start #!/bin/bash #R...
2012年4月15日 星期日
Calculate range number either prime number
›
import math for n in range(2, 100): o = n s = set() i = 2 j = math.floor(n) while i < j: if o % i == 0: s.add(i) o //= i ...
‹
›
首頁
查看網路版