ChangeLog を書く際によく使われる英語をまとめました。
ほとんど引用です。
#!/bin/bash | |
LANG=ja_JP.utf8 | |
pid=$$ | |
date=`date '+%Y-%m-%d-%H_%M'` | |
outdir="." | |
if [ $# -le 1 ]; then |
body { | |
font-family: Helvetica, arial, sans-serif; | |
font-size: 14px; | |
line-height: 1.6; | |
padding-top: 10px; | |
padding-bottom: 10px; | |
background-color: white; | |
padding: 30px; } | |
body > *:first-child { |
//unfortunately the jQuery mobile team removed option, to attaching custom event handler, | |
//so i'm just overriding close event, and using jQuery Widget Library _trigger method | |
$.mobile.dialog.prototype._close = $.mobile.dialog.prototype.close; | |
$.mobile.dialog.prototype.close = function(){ | |
var args = Array.prototype.slice.call( arguments, 0 ); | |
this._trigger( "close" ); | |
this._close.apply( this, args ); | |
}; |
#!/bin/sh | |
# Just copy and paste the lines below (all at once, it won't work line by line!) | |
# MAKE SURE YOU ARE HAPPY WITH WHAT IT DOES FIRST! THERE IS NO WARRANTY! | |
function abort { | |
echo "$1" | |
exit 1 | |
} | |
set -e |
# This LOOKS pretty straightforward, but it took awhile to sort out issues with | |
# py2cairo and pygobject, so I hope I've saved you some time :-) | |
# | |
# This assumes you already subscribe to a nice clean virtualenvwrapper workflow | |
# -- see https://gist.github.com/771394 if you need advice on getting there. | |
# There are some optional dependencies omitted, so if you're going to be doing | |
# heavy development with these libs, you may want to look into them. | |
# | |
# We go to some configure option pains to avoid polluting the system-level | |
# Python, and `brew link`ing Cairo which is keg-only by default. |
#!/bin/sh | |
echo "What should the Application be called (no spaces allowed e.g. GCal)?" | |
read inputline | |
name="$inputline" | |
echo "What is the url (e.g. https://www.google.com/calendar/render)?" | |
read inputline | |
url="$inputline" |
# 使用例 | |
> genbat.pl > rename_pdf.bat | |
> type rename_pdf.bat | |
ren "oreilly-4873113075.pdf" "エンジニアのための時間管理術.pdf" | |
ren "oreilly-9784873113630.pdf" "ビューティフルコード.pdf" | |
ren "oreilly-9784873114132.pdf" "詳解 OpenCV.pdf" | |
ren "oreilly-9784873114194.pdf" "Silverlightで開発するデータ駆動アプリケーション.pdf" | |
ren "oreilly-9784873114200.pdf" "Head First Statistics.pdf" | |
ren "oreilly-9784873114286.pdf" "アルゴリズムクイックリファレンス.pdf" |
#!/bin/sh | |
playerurl=http://radiko.jp/apps/js/flash/myplayer-release.swf | |
cookiefile=./cookie.txt | |
playerfile=./player.swf | |
keyfile=./authkey.png | |
if [ $# -eq 1 ]; then | |
channel=$1 | |
output=./$1.flv |