Skill learning
Skill learning:
https://github.com/tmux-plugins
https://github.com/robbyrussell/oh-my-zsh
http://insights.thoughtworkers.org/obsession-og-technology/?hmsr=toutiao.io&utm_medium=toutiao.io&utm_source=toutiao.io
##Create an alias to MAMP’s PHP installation
To do this, we can simply create an alias for our bash profile. We’ll be doing this is nano, though you can do it in vim or a number of other editors as well.
Within the terminal, run:
nano ~/.bash_profile
This will open nano with the contents, at the top in a blank line add the following line:
alias phpmamp='/Applications/MAMP/bin/php/php5.4.10/bin/php'
This will create an alias, phpmamp, so that you can take advantage of the MAMP installation of PHP. Please take note of the PHP version, in this case 5.4.10, as with different versions of MAMP this may be different. Check your installation and see what version you have, and replace the number accordingly (this was written with MAMP version 2.1.2).
With that setup, we are ready to install composer. This is a two step process if we would like this to be installed globally, while you would only need to do the first step if you would like this installed to the local working directory only.
First, run the following command in the terminal:
curl -sS https://getcomposer.org/installer | phpmamp
Note that instead of the standard ‘php’ at the end, we are using ‘phpmamp’ so that we correctly use the MAMP installation of PHP.
Next, we want to make this available globally, so we need to move the file to ‘/usr/local/bin/composer’. To do this, run the following command:
sudo mv composer.phar /usr/local/bin/composer
Terminal will ask you for yor password, after entering it and pressing the ‘return’ (or enter) key, you’ll have a working global installation of composer on your mac that uses MAMP!
You can verify your installation worked by typing the following command:
composer
It’ll show you the current version and a list of commands you can use!
https://github.com/creationix/nvm
前往 Medium.com 檢視
http://joshsymonds.com/blog/2014/06/12/shell-awesomeness-with-prezto/
js https://kknews.cc/tech/zl9q93.html
GIT
如何設定 git 每次都 push tags
http://stackoverflow.com/questions/3745135/push-git-commits-tags-simultaneously/3745250#3745250
https://github.com/sorin-ionescu/prezto
https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard
https://coderwall.com/p/yiot4q/setup-vim-powerline-and-iterm2-on-mac-os-x
https://blog.codeminer42.com/git-workflow-basics-d405746f6205#.9vsniwq6q
Linux
vim:
https://github.com/junegunn/vim-easy-align
https://github.com/spf13/spf13-vim
http://harrycode.logdown.com/tags/Vim
http://harrycode.logdown.com/posts/197145-simple-steps-to-build-cool-vim-development-environment
http://stackoverflow.com/questions/1205286/renaming-the-current-file-in-vim
排版
https://github.com/Yggdroot/indentLine for vim users
https://atom.io/packages/indent-guide-improved for atom users
http://vimawesome.com/
https://github.com/kana/vim-fakeclip
http://vimawesome.com/plugin/fakeclip
CSS
prepros https://www.minwt.com/webdesign-dev/html/12062.html
https://blisk.io/ 號稱網頁開發使用的瀏覽器 Chromium-based
builtwith.com
網頁親和力──無障礙網頁開發規範 2.0 | Jedi’s BLOG
Introduction – MaintainableCSS – an approach to writing modular, scalable and main
JS
https://read01.com/am63P.html
http://adrianmejia.com/blog/2016/10/19/Overview-of-JavaScript-ES6-features-a-k-a-ECMAScript-6-and-ES2015/#.WA4G-3dZebs.hackernews
PM
http://insights.thoughtworkers.org/obsession-og-technology/?hmsr=toutiao.io&utm_medium=toutiao.io&utm_source=toutiao.io
Mac
執行 crontab 把這行貼到自己的 Mac 裡面,感受一下 cron job 的執行:
0 * * * * osascript -e 'display notification "又一小時過去啦!" with title "起來動動 ~"'
@hourly osascript -e 'display notification "又一小時過去啦!" with title "起來動動 ~"'
Game:
https://leetcode.com/problemset/algorithms/
Share your thoughts