$ virtualenv2 env
$ source env/bin/activate
2013.06.05 23:01 | |
$ history | awk '{CMD[$2]++;count++;} END { for (a in CMD )print CMD[ a ]" " CMD[ a ]/count*100 "% " a}' | grep -v "./" | column -c 3 -s " " -t | sort -nr | nl | head -n 10 | |
1 631 20.5671% make | |
2 424 13.8201% fg | |
3 378 12.3207% vim | |
4 219 7.1382% ls | |
5 148 4.82399% cd | |
6 125 4.07432% ydict | |
7 84 2.73794% dig | |
8 79 2.57497% cat |
cpdf () { | |
libreoffice --headless --convert-to pdf "$1" | |
} |
-- Standard awesome library | |
local gears = require("gears") | |
local awful = require("awful") | |
awful.rules = require("awful.rules") | |
require("awful.autofocus") | |
-- Widget and layout library | |
local wibox = require("wibox") | |
-- Theme handling library | |
local beautiful = require("beautiful") | |
-- Notification library |
$ virtualenv2 env
$ source env/bin/activate
就是紀錄些自己看到的數學相關的問題
等之後有時間再來更了解一點或者天上掉下來一位數學大大幫我解說
先用以下這行指令建立 Table (會建立 timezone 相關資訊在 mysql 這個 database 底下的 table)
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u USER_NAME mysql
CSS for vector based country flags
目前官方沒有 Linux 上的 vSphere Client
但是用 VMware Player (有 Linux Version) 可以做到 開啟虛擬機、遠端進虛擬機
用這個指令 :
vmplayer -h
接著會跳出視窗問 Host Name、User、Password, 接著會列出 Server 上的虛擬機,