convert image.png -crop 4x2@ +repage +adjoin image_%d.png
mogrify -transparent '#81797d' *.png
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
Error detected while processing function neobundle#installer#install..<SNR>98_install.. | |
<SNR>98_sync..<SNR>98_system..<SNR>100_system..vimproc#system..<SNR>92_system..vimproc# | |
pgroup_open..<SNR>92_pgroup_open..vimproc#plineopen3..<SNR>92_plineopen..<SNR>92_conver | |
t_args..vimproc#get_command_name: | |
line 16: | |
E121: Undefined variable: s:Filepath | |
E116: Invalid arguments for function vimproc#util#substitute_path_separator( s:Filepath | |
.which(command, path)), '//', '/', 'g'), '\n') | |
E116: Invalid arguments for function substitute(vimproc#util#substitute_path_separator( | |
s:Filepath.which(command, path)), '//', '/', 'g'), '\n') |
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
@charset "UTF-8"; | |
@mixin grab-cursor { | |
// http://www.google.com/intl/en_ALL/mapfiles/openhand.cur | |
cursor: url('data:image/vnd.microsoft.icon;base64,AAACAAEAICACAAcABQAwAQAAFgAAACgAAAAgAAAAQAAAAAEAAQAAAAAAAAEAAAAAAAAAAAAAAgAAAAAAAAAAAAAA////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD8AAAA/AAAAfwAAAP+AAAH/gAAB/8AAA//AAAd/wAAGf+AAAH9gAADbYAAA2yAAAZsAAAGbAAAAGAAAAAAAAA//////////////////////////////////////////////////////////////////////////////////////gH///4B///8Af//+AD///AA///wAH//4AB//8AAf//AAD//5AA///gAP//4AD//8AF///AB///5A////5///8='), all-scroll; | |
// cursor: -webkit-grab; | |
cursor: -moz-grab; | |
cursor: -o-grab; | |
cursor: -ms-grab; | |
cursor: grab; |
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
/* | |
<javascriptresource> | |
<name>Generate a sprite from animation frames</name> | |
<category>web</category> | |
</javascriptresource> | |
*/ | |
var AnimationSpriteGenerator, console, main, showInputSizeDialog; | |
console = { |
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 () { | |
function sleep(time) { | |
var d1 = new Date().getTime(); | |
var d2 = new Date().getTime(); | |
while(d2 < d1 + time) { | |
d2 = new Date().getTime(); | |
} | |
return; | |
} |
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
メ __-─-,-- _ | |
,イ >:::::::::::< ヽ〟 | |
ヽ─イ /,::::,::::::::\ >─r | |
ヾ〟//:!:::ハ::::::|:!:ヽ ,丿 | |
ソ r:リヤ ハ::::::ハ:ハ::|rヘ〟 | |
Ⅲ:|:| V―ヘ::::/-ル゙|/ ハリ\ あらぶる | |
!|:ハ:|,-=〟ヽ/,-=.ソハリ H Vim の | |
!ヽriゾUソゾ "ハUソノ゙hNノソ ぽーず♡ | |
|!ハヾヾ` `´ノlリ´ | |
ノ:ノハ ハ 丶 クハ ____ |
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
#!/bin/bash | |
# on centos minimal | |
yum install gcc | |
yum install make | |
yum install ncurses-devel | |
yum install lua lua-devel | |
yum install ruby ruby-devel | |
yum install python python-devel |
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
javascript:(function(){document.styleSheets[1].addRule('#cookieShower','background-image:url("https://dl.dropboxusercontent.com/u/34494006/cookie_clicker/cookieShower3.png") !important');document.styleSheets[1].addRule('#bigCookie','background-image:url("https://dl.dropboxusercontent.com/u/34494006/cookie_clicker/nakachan.png")');document.styleSheets[1].addRule('.cookieParticle','background-image:url("https://dl.dropboxusercontent.com/u/34494006/cookie_clicker/small_steels.png")');})(); |
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
Process: MacVim [3688] | |
Path: /Applications/MacVim.app/Contents/MacOS/MacVim | |
Identifier: org.vim.MacVim | |
Version: 7.4 (20131023) | |
Code Type: X86-64 (Native) | |
Parent Process: launchd [252] | |
Date/Time: 2013-10-24 12:29:34.989 +0900 | |
OS Version: Mac OS X 10.7.5 (11G63) | |
Report Version: 9 |
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
module.exports = class WeightedRandomChoice | |
constructor: (args) -> | |
@_weightPairs = _.sortBy _.pairs(args), (pair) -> pair[1] | |
@sum = _.reduce @_weightPairs, ((memo, pair) -> memo + pair[1]), 0 | |
check: (num, weight) -> num - weight <= 0 | |
random: -> _.random 1, @sum | |
select: -> | |
num = @random() |
OlderNewer