-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontent.json
1 lines (1 loc) · 7.15 KB
/
content.json
1
{"meta":{"title":"Infinite Road","subtitle":"Be a better Programmer","description":"Note something I had done","author":"Wayne Lee","url":"http://waynelkh.github.io"},"pages":[{"title":"all-tags","date":"2016-01-18T20:35:24.000Z","updated":"2016-01-18T20:35:24.000Z","comments":false,"path":"all-tags/index.html","permalink":"http://waynelkh.github.io/all-tags/index.html","excerpt":"","text":""},{"title":"all-categories","date":"2016-01-18T20:35:37.000Z","updated":"2016-01-18T20:35:37.000Z","comments":false,"path":"all-categories/index.html","permalink":"http://waynelkh.github.io/all-categories/index.html","excerpt":"","text":""},{"title":"all-archives","date":"2016-01-18T20:36:01.000Z","updated":"2016-01-18T20:36:01.000Z","comments":false,"path":"all-archives/index.html","permalink":"http://waynelkh.github.io/all-archives/index.html","excerpt":"","text":""}],"posts":[{"title":"oh-my-zsh","slug":"oh-my-zsh","date":"2014-09-27T13:09:36.000Z","updated":"2016-06-23T18:51:21.000Z","comments":true,"path":"tool/oh-my-zsh/","link":"","permalink":"http://waynelkh.github.io/tool/oh-my-zsh/","excerpt":"","text":"I use zsh for my default shell.And oh-my-zsh for enhance zshmy zshrcInstallationMake sure you there is zsh on your machine.If you want to change zsh to default shell, just type $ chsh -s /bin/zsh.There are possible zsh path. Or you can $ where zsh to find the path12/bin/zsh/usr/local/bin/zsh oh-my-zsh123$ git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh$ cp ~/.zshrc ~/.zshrc.orig$ cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc Customized .zshrc ! Tips可以利用1for x in 0 1 4 5 7 8; do for i in `seq 30 37`; do for a in `seq 40 47`; do echo -ne \"\\e[$x;$i;$a\"\"m\\\\\\e[$x;$i;$a\"\"m\\e[0;37;40m \"; done; echo; done; done; echo \"\"; 來查看terminal所有的顏色","categories":[{"name":"tool","slug":"tool","permalink":"http://waynelkh.github.io/categories/tool/"}],"tags":[{"name":"oh-my-zsh","slug":"oh-my-zsh","permalink":"http://waynelkh.github.io/tags/oh-my-zsh/"},{"name":"shell","slug":"shell","permalink":"http://waynelkh.github.io/tags/shell/"},{"name":"zsh","slug":"zsh","permalink":"http://waynelkh.github.io/tags/zsh/"}],"keywords":["zsh","shell"]},{"title":"vim","slug":"vim","date":"2014-09-27T13:09:00.000Z","updated":"2016-06-23T18:40:59.000Z","comments":true,"path":"tool/vim/","link":"","permalink":"http://waynelkh.github.io/tool/vim/","excerpt":"","text":"Default UsageThere is lots of tutorial on the Internet.You can google or use the $ vimtutor to learn how to use basic.http://www.openvim.com/http://vim-adventures.com/ TipsSearch what you select visual mode select word or sentance (v + hjklew.. and y for yank) / ^r "Done text object: w,s,p,tmotions: a,i,t,f,Fcommand: d,c,y,v Combine: diw, ciw etc… 查詢所有key mapvim原生:help index查詢pluginmap:verbose map :verbose map!:help map-listing:help :map-verbose:help :verbose:help :verbose-cmd:help map-which-keys vimrcThe configuration of vimHere is my vim configuration on the github.Basic configuration: vimrcPlugin configuration: vimrc.bundleMy vim screenshot VundleVundle is a Vim plugin manager. Installation1git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim Add in .vimrc .vimrc12345678910set nocompatible \" be iMproved, requiredfiletype off \" required\"set the runtime path to include Vundle and initializeset rtp+=~/.vim/bundle/Vundle.vimcall vundle#begin()Plugin 'gmarik/Vundle.vim'call vundle#end() \" requiredfiletype plugin indent on \" required And reopen vim, try the command :BundleList to check the plugin you install nowOther command123456$ BundleInstall$ BundleSearch$ BundleList$ BundleUpdate$ BundleClean$ BundleDocs","categories":[{"name":"tool","slug":"tool","permalink":"http://waynelkh.github.io/categories/tool/"}],"tags":[{"name":"editor","slug":"editor","permalink":"http://waynelkh.github.io/tags/editor/"},{"name":"vim","slug":"vim","permalink":"http://waynelkh.github.io/tags/vim/"}],"keywords":["vim","editor"]},{"title":"Irssi","slug":"irssi","date":"2014-09-27T12:48:02.000Z","updated":"2016-06-23T18:49:24.000Z","comments":true,"path":"tool/irssi/","link":"","permalink":"http://waynelkh.github.io/tool/irssi/","excerpt":"","text":"Notes for using irssi of irc client12345/connect irc.freenode.net/away [message] # Setting the away message, if somebody msg to me , it will auto resend the message to the person./me [message] # Like broadcast, it will display on difference color./msg NickServ REGISTER <password>/msg NickServ IDENTIFY <password> Configuration.irssi/config12345678910111213141516171819202122232425262728293031323334353637## Setting the auto connect serversservers = ( { address = \"irc.freenode.net\"; chatnet = \"freenode\"; port = \"6667\"; use_ssl = \"no\"; ssl_verify = \"no\"; autoconnect = \"yes\"; });## and auto identify the nicknamechatnets = { freenode = { type = \"IRC\"; nick = \"[nickname]\"; autosendcmd = \"/msg NickServ identify [your password] ;wait 2000\"; };};## Setting the autojoin channels with passwordchannels = ( { name = \"#[channel name]\"; chatnet = \"freenode\"; autojoin = \"yes\"; password = \"[channel password]\"; });## ignore the specific message in the channelsignores = ( { level = \"JOINS QUITS\"; channels = ( \"#archlinux\" ); }, { level = \"JOINS QUITS\"; channels = ( \"#ubuntu\" ); },); ThemeI use weed for the irssi Theme irssi screenshot Add a new file startup in .irssi directory. It will auto run when the irssi startup.Each line is a independent command, without /.irssi/startup12345678910111213141516script load awlscript load usercount.plsbar awl_0 add -before awl_0 -alignment left usercountscript load trackbar22set trackbar_string _set trackbar_style %rscript load awaybarsbar statusbar add -after erotin -alignment right awaybarscript load tmux-nicklist-portablescript load nickcolor_expandoneatcolor colors add X30 If you can’t find the script, download from adv_windowlist trackbar22 nickcolor_expando tmux-nicklist-portable 1$ wget [link_above] -P ~/.irssi/scripts/","categories":[{"name":"tool","slug":"tool","permalink":"http://waynelkh.github.io/categories/tool/"}],"tags":[{"name":"tool","slug":"tool","permalink":"http://waynelkh.github.io/tags/tool/"}],"keywords":["irc","irssi"]},{"title":"Start the road","slug":"Start-the-road","date":"2014-09-24T16:41:00.000Z","updated":"2016-06-23T18:34:20.000Z","comments":false,"path":"other/Start-the-road/","link":"","permalink":"http://waynelkh.github.io/other/Start-the-road/","excerpt":"","text":"RoadmapI want to start write some notes on this page. If I am industrious, I will write in English. But my English is not well, wish you forgive me. Website related Html5 Javascript jQuery ReactJS PHP Codeigniter Desktop application JavaFx C# Python Android Networks related SDN System management linux freebsd IDE related Sublime text Vim Atom Visual studio Wish I can work hard.Wayne Lee 2014/09/25 2015-06-08 DevOps Jenkins Gitlab Saltstack Ansible Docker Fullstack Node.js Koa.js React Flux Redux","categories":[{"name":"other","slug":"other","permalink":"http://waynelkh.github.io/categories/other/"}],"tags":[{"name":"other","slug":"other","permalink":"http://waynelkh.github.io/tags/other/"}],"keywords":["other"]}]}