ファイルアップロードについて
- HTTPはあんまりアップロードのこと考えてない
- FTPはいまはあんまり使われてないけど、前は使われてた
#!/bin/bash | |
# | |
# git-feature-start - Git リポジトリディレクトリで、指定したブランチ名でブランチを作成し、合わせてリモートブランチも作成するコマンド | |
# | |
pushd `dirname $0` >/dev/null 2>&1 | |
[ $? -eq 1 ] && exit 1 | |
__script_dir=`pwd` | |
popd >/dev/null 2>&1 | |
__base_dir=`dirname ${__script_dir}` |
let g:indent_guides_enable_on_vim_startup = 1 | |
let g:indent_guides_start_level = 2 | |
let g:indent_guides_guide_size = 1 | |
let g:indent_guides_exclude_filetypes = ['help', 'nerdtree', 'tagbar', 'unite'] |
Chrome Tech Talk Night #8 - connpass
Chrome Tech Talk Night #8 を開催します - Google Developer Japan Blog
こちらのイベントに来ているので、メモ取っていく。英語の講演だから間違ってるかもしれないっす。
//rulerはpx指定にしておく | |
//9patch変換前のpngファイルを開いてから、このスクリプトを使用する | |
// vim:set ft=javascript: | |
#target photoshop | |
var doc = app.activeDocument; | |
function changeCanvas() { | |
var w = activeDocument.width.value, |
### Sample Settings | |
# aliases | |
# in this example you can open extensions page by the command ':ext' | |
# and Chrome's option page by the command ':option' | |
alias ext OpenNewTab chrome://extensions/ | |
alias option OpenNewTab chrome://settings/browser | |
# mappings for opening your favorite web page | |
nmap <Space>tw :OpenNewTab http://www.twitter.com |
function EnhCommentifyCallback(ft) | |
if a:ft == 'coffee' | |
let b:ECcommentOpen = '#' | |
let b:ECcommentClose = '' | |
elseif a:ft == 'less' | |
let b:ECcommentOpen = '/*' | |
let b:ECcommentMiddle = '' | |
let b:ECcommentClose = '*/' | |
endif | |
endfunction |
" コーディングスタイル切り替え | |
let s:coding_styles = {} | |
let s:coding_styles['Default'] = 'setl tabstop=4 shiftwidth=4 shiftwidth=4 softtabstop=4 noexpandtab' | |
let s:coding_styles['ShortExpandStyle'] = 'setl tabstop=2 shiftwidth=2 shiftwidth=2 softtabstop=2 expandtab' | |
command! | |
\ -bar -nargs=1 -complete=customlist,s:coding_style_complete | |
\ CodingStyle | |
\ execute get(s:coding_styles, <f-args>, '') |