Currently reading articles under label: Soft&Skills

Screen, Tmux, Window, Session

Screen

http://neophob.com/2007/04/gnu-screen-cheat-sheet/

table:nth-of-type(1) {

display:table;

width:100%;

}

table:nth-of-type(1) th:nth-of-type(2) {

width:60%;

}

CMD

Description

screen -ls

list all ( format: pid.session_name )

screen

create session

screen -S......

Install Shiny Server (& R) on Ubuntu 12 64bit

64 bit only

in: /etc/apt/sources.list

add: deb http://cran.rstudio.com/bin/linux/ubuntu precise/

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9

// [i didn't do this step] sudo add-apt-repository ppa:marutter/rdev

sudo apt-get update

sudo apt-get upgrade

// if not R......

Linux Reset Root Password

Shift while booting (Esc for v9 earlier version);

Highlight the normal booting item (actually, it is highlighted by default);

'e' to edit;

Find the line starts with "linux ....";

Edit "ro" (read only) to "rw", and add "init=/bin/bash" to the end of......

Reset Administrator Password [Windows]

如果administrator之前没有密码, 可以F8进入安全模式, 再用命令行操作:

net user <username> /active:yes

net user <username> <theNewPass>

 

.NET MVC C#

Connect to Mysql

http://dev.mysql.com/downloads/connector/net/

http://www.360doc.com/content/07/0630/11/14386_586808.shtml

 

每周总结 Week32 2013 0805-0811 [Mosh]

装了cygwin和mosh. 稍早的mosh版本需要perl的一个包, 结果就是装不上, 还以为cygwin有问题, 最后发现新版的mosh已经用c替换了, 那个Perl的包有问题. Perl在走下坡么? 要完蛋了?

话说我blog貌似有不明输出??? 有空再查吧, 幸好我只是当作记事本用 ....