- 3/15 リクルートGINZA 8 ビル * 吉川さん
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//rulerはpx指定にしておく | |
//9patch変換前のpngファイルを開いてから、このスクリプトを使用する | |
// vim:set ft=javascript: | |
#target photoshop | |
var doc = app.activeDocument; | |
function changeCanvas() { | |
var w = activeDocument.width.value, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" コーディングスタイル切り替え | |
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>, '') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
machine1Canvas.draw(game.assets['./images/mc_01.png']); | |
var oldImg = machine1Canvas.clone(); | |
machine1_old.image = oldImg; | |
var imgData = machine1Canvas.context.getImageData(0, 0, 742, 498); | |
oldImgData = imgData; | |
function setWhite() { | |
for (var i = 0; i < 369516 * 4; i += 4) { | |
imgData.data[i] = 255; | |
imgData.data[i + 1] = 255; |
むっちゃ遅れまして、8時から参加…。
@jxckさん
OlderNewer