This file contains hidden or 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
for f in $(ls *.png); do test 1440 = $(sips -g pixelWidth ${f} | grep "pixelWidth:" | sed -e "s/^ *pixelWidth: *//") && sips -z 1080 1920 ${f} --out resize-${f} && mv resize-${f} ${f}; done |
This file contains hidden or 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
diff --git a/variables.c b/variables.c | |
index 92a5a10..b485dab 100644 | |
--- a/variables.c | |
+++ b/variables.c | |
@@ -347,39 +347,6 @@ initialize_shell_variables (env, privmode) | |
temp_var = (SHELL_VAR *)NULL; | |
- /* If exported function, define it now. Don't import functions from | |
- the environment in privileged mode. */ |
This file contains hidden or 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 in_place_history_keyword_completion() { | |
pos=CURSOR # 現在のカーソル位置を取得 | |
selected=$(history -10000 | cut -d' ' -f3- | tr '|' ' ' | tr ' ' '\n' | sort -u | peco) # 選択した結果 | |
BUFFER="${BUFFER[1,$pos]}${selected}${BUFFER[$pos,-1]}" | |
CURSOR=$#BUFFER # move cursor | |
zle -R -c # refresh | |
} | |
zle -N in_place_history_keyword_completion | |
bindkey '^R' in_place_history_keyword_completion |
This file contains hidden or 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
/* channel-nameには同僚の名前などが入ります */ | |
body[channelname*="#channel-name"] .inlineimage { width: 30px !important; } | |
body[channelname*="#channel-name"] .inlineimage:hover { width: auto !important; } |
This file contains hidden or 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
use strict; | |
use warnings; | |
use feature 'say'; | |
use JSON::PP qw(encode_json); | |
my $hash = { | |
num => 1 | |
}; | |
say encode_json($hash); # => {"num":1} |
This file contains hidden or 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
【WNI】The Last 10-Second 【緊急地震速報】 | |
【WNI】The Last 10-Second 16【緊急地震速報】 | |
Firefox userChrome.js greasemonkeyスクリプトスレ15 | |
Firefox userChrome.js greasemonkeyスクリプトスレ16 | |
Mozilla Firefox 非公式ビルド(MOD)スレッド10 | |
Mozilla Firefox 非公式ビルド(MOD)スレッド11 | |
Mozilla Firefox Part164 | |
Mozilla Firefox Part165 | |
IE×Firefox×Opera×Safari×Chrome最終戦争18回戦 | |
IE×Firefox×Opera×Safari×Chrome最終戦争19回戦 |
This file contains hidden or 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
var tweet; | |
var twitter_id = ""; | |
var twitter_pw = ""; | |
var phase; | |
var setState = function(nextPhase) { | |
var s = {tweet: tweet, twitter_id: twitter_id, twitter_pw: twitter_pw, phase: nextPhase}; | |
phantom.state = JSON.stringify(s); | |
}; | |
if(!phantom.state.length) { | |
var i, args = Array.prototype.slice.apply(phantom.args); |