start new:
tmux
start new with session name:
tmux new -s myname
| git archive --output=file.zip HEAD $(git diff --name-only SHA1 SHA2) |
| # 適用於【鼠鬚管】0.9.13+ | |
| # 位置:~/Library/Rime/squirrel.custom.yaml | |
| # 用法:想要哪項生效,就刪去該行行首的#字符,但注意保留用於縮進的空格 | |
| patch: | |
| # us_keyboard_layout: true # 鍵盤選項:應用美式鍵盤佈局 | |
| # show_notifications_when: growl_is_running # 狀態通知,默認裝有Growl時顯示,也可設爲全開(always)全關(never) | |
| # style/horizontal: true # 候選窗横向顯示 | |
| # style/inline_preedit: false # 非內嵌編碼行 | |
| # style/font_face: "儷黑 Pro" # 我喜歡的字體名稱 |
| # default.custom.yaml | |
| # save it to: | |
| # ~/.config/ibus/rime (linux) | |
| # ~/Library/Rime (macos) | |
| # %APPDATA%\Rime (windows) | |
| patch: | |
| schema_list: | |
| - schema: luna_pinyin # 朙月拼音 | |
| - schema: luna_pinyin_simp # 朙月拼音 简化字模式 |
| # Mac OS X Lion introduced a new, iOS-like context menu when you press and hold a key | |
| # that enables you to choose a character from a menu of options. If you are on Lion | |
| # try it by pressing and holding down 'e' in any app that uses the default NSTextField | |
| # for input. | |
| # | |
| # It's a nice feature and continues the blending of Mac OS X and iOS features. However, | |
| # it's a nightmare to deal with in Sublime Text if you're running Vintage (Vim) mode, | |
| # as it means you cannot press and hold h/j/k/l to move through your file. You have | |
| # to repeatedly press the keys to navigate. |
| #!/bin/bash | |
| # Installation script for a Wordpress 3.0 website on Ubuntu 10.04 | |
| # | |
| # Josh Kersey | |
| # Created: May 15, 2012 | |
| # Last Update: June 13, 2012 | |
| # get setup parameters | |
| echo "apache vhost name (one word):" |
| .test { | |
| height: 139px; | |
| width: 96px | |
| } |
ServerAlias line to your VirtualHost definitions.<VirtualHost *:80>
DocumentRoot "/Users/you/Sites/sitename"
ServerAlias sitename.*.xip.io
ServerName sitename.dev| --type-add=css=.sass,.less,.scss | |
| --type-add=ruby=.rake,.rsel,.builder,.thor | |
| --type-add=html=.haml,.html.erb,.html.haml | |
| --type-add=js=.js.erb,.coffee | |
| --type-set=cucumber=.feature | |
| --type-set=c=.c,.cpp,.ino,.pde,.h | |
| --ignore-dir=vendor | |
| --ignore-dir=log | |
| --ignore-dir=tmp | |
| --ignore-dir=doc |
#Introduction If you're a php developer on ubuntu, there comes the time where you have to install/reinstall your system. I did it already a few times and i decided to write down the steps for a typical web developer stack with php. This is for a developer machine and not for a live environment!
I hope it helps you too!
fyi @mheiniger and me started with an installer here: https://github.com/mheiniger/webdev-setup