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
syntax: glob | |
*.gif | |
*.jpg | |
*.png | |
.DS_Store | |
#Switch Regexp | |
syntax: regexp | |
^\. | |
^build/ |
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
find ./ -type d -name '.svn' | xargs rm -rvf |
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 | |
HEADER_STR="" | |
if [ $# -eq 0 ] ; then | |
echo "usage: ${0} [IMAGE_FILE_PATH]..." | |
exit 1 | |
fi | |
for I in $@ ; do | |
HEADER_STR=`/usr/bin/file -bI ${I} | /usr/bin/sed "s# .*##g"` |
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
// Define variable in sass | |
// Base Color | |
$base-color: #af2584; | |
// Base Gradient Style | |
$base-gradient: 'glossy'; //matte, bevel,glossy,recessed | |
// Custome Panel Color | |
$page-bg-color: #EFEFEF; |
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
$ LANG=C; xdg-user-dirs-gtk-update |
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
# Compassのバージョンを確認 | |
$ compass -v | |
Compass 0.11.5 (Antares) | |
# Compassのバージョンを下げる(0.10.6にする) | |
$ gem install compass --version=0.10.6 | |
Fetching: compass-0.10.6.gem (100%) |
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
alias firefox='open -a Firefox' | |
alias chrome='open -a Google\ Chrome' | |
alias safari='open -a Safari' | |
alias mvim='open -a MacVim' |
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
<video src="/video/pass-countdown.ogg" width="300" height="150" controls loop="loop"> | |
<p>If you are reading this, it is because your browser does not support the HTML5 video element.</p> | |
</video> |
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
// this sets the background color of the master UIView (when there are no windows/tab groups on it) | |
Titanium.UI.setBackgroundColor('#000'); | |
// | |
// create base UI tab and root window | |
// | |
var win1 = Titanium.UI.createWindow({ | |
title: 'Tab 1', | |
backgroundColor: '#fff' | |
}); |
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
//Edit _handleDragStart function. | |
_handleDragStart: function(e, ex, ey) | |
{ | |
// Stop any scrolling of elements in our parent hierarcy. | |
$.each(this._getScrollHierarchy(),function(i,sv){ sv._stopMScroll(); }); | |
this._stopMScroll(); | |
var c = this._$clip; | |
var v = this._$view; |
OlderNewer