之前Ezgo11安裝vagrant都用的還滿順的
突然換到XP來用…,就發現麻煩的不少
沒法只能用XP來用
這次發現CHEFsupermarket改版了
連找cookbooks下載地方都找不太到
最後發現在右下角 = =|||
Cookbooks網址:https://supermarket.getchef.com/
vagrant box add base http://files.vagrantup.com/lucid32.box
This is an indication that the the base virtual image is not configured, usually from forgetting to finish the installation. This image is copied, and modified to produce the desired virtualized environment. It’s easy to fix, by running the following:
vagrant box add base http://files.vagrantup.com/lucid32.box
It is also possible that you installed the box under a different name (the Vagrant website sometimes refers to lucid32). Instead of downloading a new box, in this case, you can edit Vagrantfile like so, changing the box name to whatever you called it on download:
學校給我一台舊電腦(CPU:Sempron 64 3100+ 1.8Ghz,RAM:512MB)
於是我買了二手RAM:1G*2 300塊含運
電腦就順多了:D
1 2 3 4 f = open("/sys/class/thermal/thermal_zone0/temp","r") for t in f: print "CPU temp:"+t[:2]+"."+t[2:5] f.close()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 import urllib,random,re ip_regex = re.compile("(([0-9]{1,3}\.){3}[0-9]{1,3})") def public_ip(): ''' Returns your public IP address. Output: The IP address in string format. None if not internet connection available. ''' # List of host which return the public IP address: hosts = """http://www.
UNO’s autoindex
Apache autoindex style
FancyIndex
usr’z autoindex
fuchcz’s apache-autoindex-theme
Linux預設帳號設定檔路徑
/etc/skel/
最近我同學問我這個背景移動特效要怎麼用
他以為是JQuery寫出來的
結果我找了老半天,原來是CSS3
animation:160s linear 0s normal none infinite animatedBackground
1
2
3
|
name {
animation: name duration timing-function delay iteration-count direction fill-mode play-state;
}
|
text-overflow: ellipsis;
1 text-overflow: clip|ellipsis|string|initial|inherit; 資料來源:
http://www.w3schools.com/cssref/css3_pr_text-overflow.asp