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 | |
# Check Email S/MIME Certification | |
# | |
# @author kyohei ito | |
# Prepare | |
if ! type openssl 2>/dev/null 1>/dev/null | |
then | |
echo "'oepnssl' is not found." |
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(){var footnote="<sup>[1]</sup>\n\n[1]: "+document.location+" \'"+document.title+"\'\n\n";alert(footnote);})() |
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(){var link="["+document.title.replace(/([\[\]])/g,'\\$1')+"]( "+document.URL.replace(/\(/g,'%28').replace(/\)/g,'%29')+" )";alert(link);})() |
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(){var getSelect=document.getSelection().toString().replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>').replace(/\r?\n/g," \n> ");var blockquote="> "+getSelect+" \n> <br><cite><a href=\""+document.location+"\">"+document.title.replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>')+"</a></cite>";alert(blockquote);})() |
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
@ECHO OFF | |
REM ------------------------------------------------------------------------------------------ | |
REM リモートデスクトップ接続時にクライアント名を保存する(スタートアップに登録して利用) | |
REM | |
REM リモートデスクトップ接続された時にセットされる CLIENTNAME を、スタートアッププログラムで | |
REM チェックすることで、リモートデスクトップ接続された時のホスト名とアクセス時刻をファイルに | |
REM 書きだす。(イベントログにはアクセス元IPは記録されるが、ホスト名は記載されない。) | |
REM Windows のスタートアップスクリプトでは CLIENTNAME がセットされていないので、次善の策として | |
REM スタートアッププログラムを利用する。 |
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
@ECHO OFF | |
REM ------------------------------------------------------------------------------------------ | |
REM 引数指定・ドラッグ&ドロップされたテキストファイルを、S-JIS に上書き変換するバッチファイル | |
REM | |
REM Windows用の "nkf.exe" が使えることを前提に、引数指定・ドラッグ&ドロップされたファイルを、 | |
REM S-JIS ファイルエンコーディングに上書き変換するバッチファイルです。 | |
REM | |
REM @file text2sjis.bat | |
REM @author ito |
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
/usr/bin/google-chrome --disable-java --disable-ipv6 --user-agent="Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.14" --disable-hang-monitor --disable-prompt-on-repost --no-referrers --disable-gpu |
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
sleep 3;ffmpeg -f x11grab -follow_mouse centered -show_region 1 -s cga -r 25 -i :0.0 -fs 250k likana.mpg | |
mkdir mpg | |
ffmpeg -i likana.mpg -an -r 15 -s cga ./mpg/%04d.png | |
convert ./mpg/*.png likana.gif |
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
keyboard.send_keys("<up><end>") | |
time.sleep(0.05) | |
keyboard.send_keys("J <down><home>J") |
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
[ | |
{ | |
"usageCount": 190, | |
"omitTrigger": false, | |
"code": "keyboard.send_keys(\"<up><end>\")\ntime.sleep(0.05)\nkeyboard.send_keys(\"J <down><home>J\")\n", | |
"prompt": false, | |
"description": "Shift+Enter", | |
"abbreviation": { | |
"ignoreCase": false, | |
"wordChars": "[\\w]", |
NewerOlder