こんな感じのをzshrcに書く。この場合、@キーで画像が変わる。
image_list=("画像1" "画像2") # 絶対パス
image_index=1
bg() {
if [ -z "$BUFFER" ]; then
if test $image_index -eq 2; then
try { | |
var xxhdpiImage = File.openDialog("Select xxxhdpi file.", "*.png", false); | |
if (xxhdpiImage == null) { | |
throw ""; | |
} | |
var doc = open(xxhdpiImage, OpenDocumentType.PNG); | |
if (doc == null) { |
#!/usr/bin/env ruby | |
require 'xcodeproj' | |
require 'fileutils' | |
PROJECT = 'Unity-iPhone' | |
TARGET = 'Unity-iPhone' | |
LIBRARY = 'Libraries' | |
LOCALIZE = 'Localize' |
#!/usr/bin/env ruby | |
require 'xcodeproj' | |
require 'fileutils' | |
PROJECT = 'Unity-iPhone' | |
TARGET = 'Unity-iPhone' | |
LIBRARY = 'Libraries' | |
# システムFramework追加 |
#! /bin/sh | |
# TestFlight upload notes | |
while getopts "m:" opts | |
do | |
case $opts in | |
m) | |
NOTES=$OPTARG ;; | |
esac | |
done |
$ cd /usr/local
$ brew versions mysql
5.6.10 git checkout aa3db07 Library/Formula/mysql.rb
5.5.29 git checkout 336c976 Library/Formula/mysql.rb
5.5.28 git checkout 5825f62 Library/Formula/mysql.rb
5.5.27 git checkout 93aecfa Library/Formula/mysql.rb
5.5.25a git checkout faaa6c1 Library/Formula/mysql.rb