Install FFmpeg with homebrew. You'll need to install it with a couple flags for webm and the AAC audio codec.
brew install ffmpeg --with-libvpx --with-libvorbis --with-fdk-aac --with-opus| # | |
| # File: /etc/logrotate.d/rails | |
| # Test: logrotate -f /etc/logrotate.d/rails | |
| # | |
| /var/www/*/log/*.log { | |
| daily | |
| dateext | |
| notifempty | |
| missingok | |
| rotate 30 |
| /// soundbanks are either dls or sf2. see http://www.sf2midi.com/ | |
| var soundbank:NSURL! | |
| var mp:AVMIDIPlayer! | |
| func playMIDIFile() { | |
| // Load a SoundFont or DLS file. | |
| self.soundbank = NSBundle.mainBundle().URLForResource("GeneralUser GS MuseScore v1.442", withExtension: "sf2") | |
| // a standard MIDI file. |
| // | |
| // AppDelegate.swift | |
| // pushtest | |
| // | |
| // Created by sawapi on 2014/06/08. | |
| // Copyright (c) 2014年 sawapi. All rights reserved. | |
| // | |
| // iOS8用 | |
| import UIKit |
| update | |
| upgrade | |
| #brew-cask | |
| tap phinze/homebrew-cask || true | |
| install brew-cask | |
| ###設定 | |
| #tools |
| require 'mail' |
Generate the list yourself:
$ cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS*.sdk/System/Library/Frameworks/UIKit.framework/Headers
$ grep UI_APPEARANCE_SELECTOR ./* | \
sed 's/NS_AVAILABLE_IOS(.*)//g' | \
sed 's/NS_DEPRECATED_IOS(.*)//g' | \
sed 's/API_AVAILABLE(.*)//g' | \
sed 's/API_UNAVAILABLE(.*)//g' | \
sed 's/UI_APPEARANCE_SELECTOR//g' | \
| check process sunspot-solr | |
| with pidfile "/var/www/ot/shared/pids/sunspot-solr.pid" | |
| group sunspot-solr | |
| start program = "/bin/su - deploy -c 'cd /var/www/ot/current && bundle exec sunspot-solr start --port=9072 --bind-address=localhost --data-directory=/var/www/ot/shared/sunspot/data --solr-home=/var/www/ot/shared/sunspot --pid-dir=/var/www/ot/shared/pids --log-level=WARNING --log-file=/var/www/ot/shared/log/sunspot.log'" | |
| stop program = "/bin/su - deploy -c 'cd /var/www/ot/current && bundle exec sunspot-solr stop --port=9072 --bind-address=localhost --data-directory=/var/www/ot/shared/sunspot/data --solr-home=/var/www/ot/shared/sunspot --pid-dir=/var/www/ot/shared/pids --log-level=WARNING --log-file=/var/www/ot/shared/log/sunspot.log'" |
| #!/bin/zsh | |
| [ -z $1 ] && exit -1 | |
| nakatoji_sequence(){ | |
| last=$((4 * $1)) | |
| for i in {1..$1} ; do | |
| echo -n "$(($last - $i * 2 + 2)),$(($i * 2 - 1))," | |
| echo -n "$(($i * 2)),$((1 + $last - $i * 2))," | |
| done | sed "s/,$//g" | |
| } | |
| file=$(echo $1 | sed "s/\.pdf$//g") |
| ja: | |
| errors: | |
| messages: | |
| expired: "の期限が切れましたので、新しくリクエストしてください" | |
| # expired: "has expired, please request a new one" | |
| not_found: "は見つかりませんでした" | |
| # not_found: "not found" | |
| already_confirmed: "は既に登録済みですのでログインしてください" | |
| # already_confirmed: "was already confirmed, please try signing in" | |
| not_locked: "は凍結されていません" |