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
/** | |
* Circular profile picture | |
*/ | |
.image-container { | |
display: inline; | |
margin: auto 10px; | |
} | |
img { |
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
logger.error "*** BEGIN RAW REQUEST HEADERS ***" | |
self.request.env.each do |header| | |
logger.error "HEADER: #{header[0]} => #{header[1]}" | |
end | |
logger.error "*** END RAW REQUEST HEADERS ***" |
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
source /usr/local/git/contrib/completion/git-completion.bash | |
complete -C "/usr/bin/gemedit --complete" gemedit | |
export WORKON_HOME=~/.env | |
export JAVA7_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home | |
export JAVA6_HOME=/Library/Java/Home | |
export JAVA_HOME=$JAVA6_HOME | |
export PATH=$JAVA_HOME/bin:$PATH | |
export SBT_OPTS="-XX:MaxPermSize=256M" |
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
# download the proper versions of s3fs and fuse | |
wget http://s3fs.googlecode.com/files/s3fs-1.61.tar.gz | |
wget http://downloads.sourceforge.net/project/fuse/fuse-2.X/2.8.4/fuse-2.8.4.tar.gz | |
# unpack them | |
tar -xzf s3fs-1.61.tar.gz | |
tar -xzf fuse-2.8.4.tar.gz | |
# install dependencies | |
yum install gcc libstdc++-devel gcc-c++ curl-devel libxml2-devel openssl-devel mailcap |
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 -u <username> -s cd <directory> |
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
/* Streaming and Download Counts */ | |
.count-boundary { | |
margin: 5px auto 5px 25px; | |
vertical-align: top; | |
} | |
.count-container { | |
height: 26px; | |
border: 1px solid #333; |
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
for f in *.gz; do | |
STEM=$(basename "${f}" .gz) | |
gunzip -c "${f}" > /THERE/"${STEM}" | |
done |
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
/** | |
* Movie Widget | |
*/ | |
* { | |
box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
-ms-box-sizing: border-box; | |
} |
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
/** | |
* Profile Widget | |
*/ | |
* { | |
box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
-ms-box-sizing: border-box; | |
} |
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
/** | |
* Image with Username | |
*/ | |
@import url('http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css'); | |
#container { | |
margin-top: 60px; | |
} |