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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.apple.ppp.l2tp</string> | |
<key>OnDemand</key> | |
<false/> | |
<key>Program</key> | |
<string>/usr/sbin/vpnd</string> |
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
#!/bin/sh | |
git update-index --skip-worktree client/ProjectSettings/ProjectSettings.asset | |
git update-index --skip-worktree client/ProjectSettings/ProjectVersion.txt | |
git ls-files -z server | xargs -0 git update-index --assume-unchanged |
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
javascript:(function(){var%20url,title;title=document.title;url=location.href;window.open('http://b.hatena.ne.jp/add?mode=confirm&is_bm=1&title='+escape(title)+'&url='+escape(url),'_blank','width=960,height=600,resizable=1,scrollbars=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
RETURN_CODE=0 | |
for FILE in `git diff-index --name-status $against -- | grep -E '^[AUM].*\.(php|html)$'| cut -c3-`; do | |
# php syntax | |
if ! php -l $FILE; then | |
RETURN_CODE=1 | |
fi | |
done | |
exit $RETURN_CODE |
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
# target refs: refs/remotes/pr | |
git branch -a | grep remotes\/pr | sed -e 's/ *remotes/refs\/remotes/' | xargs -n 1 git update-ref -d | |
# remove dir | |
rm -rf .git/refs/remotes/pr | |
# cleanup | |
git gc --prune=now |
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
sudo Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/InstallMedia --applicationpath Install\ OS\ X\ Yosemite.app --nointeraction |
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
# Mac OS X: NetBeans X.X.app/Contents/Resources/NetBeans/etc | |
netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true -J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd" |
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
-- sqlplus output format | |
SET PAGES 1000 | |
SET LINES 8192 | |
SET LONG 100000 | |
-- @see: http://www.shift-the-oracle.com/view/dynamic-performance-view/sqlstats.html | |
-- each time value is as msec | |
SELECT * FROM ( | |
SELECT | |
ROUND(elapsed_time/executions/1000, 3) AS elapsed_time_av, |
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
cat .gitmodules | awk '{print $3}' | grep '^.\+$' | sed 'N;s/\n/ /' | awk '{print "git submodule add " $2 " " $1}' | sh |
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
#!/bin/sh | |
# vim: set sw=2 ts=2 sts=2 et : | |
# | |
# build script for GHUnitIOS.framework | |
# | |
SRC_DIR=/gh-unit | |
PROJ_DIR=/Project-iOS | |
# check gh-unit directory |