This file contains 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
#chat-box.ubuntu.hidden-xs | |
.closed | |
.pull-right | |
= link_to_function content_tag(:i, nil, class: 'glyphicon glyphicon-chevron-up').html_safe, 'chat.show()' | |
.m-l-small | |
= link_to_function 'Chat with us', 'chat.show()' | |
.opened{style: 'display: none'} | |
.header | |
.pull-right | |
= link_to_function content_tag(:i, nil, class: 'glyphicon glyphicon-plus-sign').html_safe, 'chat.maximize()', class: 'maximize', style: 'display: none' |
This file contains 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
div.log div.messageRow, div.log span.author, div.log div.me a.user, div.memberwrapper, div.shim, td.nickcell a.nick, td.inputcell textarea { | |
font-family: Consolas, monospace, Courier; | |
font-size: 12px; | |
} | |
span.author a:before { | |
content: "<" | |
} | |
span.author a:after { |
This file contains 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
function Load-Packages | |
{ | |
param ([string] $directory = 'Packages') | |
$assemblies = Get-ChildItem $directory -Recurse -Filter '*.dll' | Select -Expand FullName | |
foreach ($assembly in $assemblies) { [System.Reflection.Assembly]::LoadFrom($assembly) } | |
} | |
Load-Packages | |
$routes = @{ |
This file contains 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
div.log div.messageRow, div.log span.author, div.log div.me a.user, div.memberwrapper, div.shim, td.nickcell a.nick, td.inputcell textarea { | |
font-family: Consolas, monospace, Courier; | |
font-size: 12px; | |
} | |
span.author a:before { | |
content: "<" | |
} | |
span.author a:after { |
This file contains 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
mkdir -p $HOME/lib/python2.5/site-packages; export PYTHONPATH=$HOME/lib/python2.5/site-packages | |
mkdir ~/src; cd ~/src | |
git clone git://eagain.net/gitosis.git | |
cd gitosis | |
python setup.py install --prefix=$HOME | |
echo "export PYTHONPATH=$HOME/lib/python2.5/site-packages/" >> .bashrc | |
echo "export PYTHONPATH=$HOME/lib/python2.5/site-packages/" >> .bash_profile | |
echo "export PATH=$HOME/bin:$PATH" >> .bashrc | |
echo "export PATH=$HOME/bin:$PATH" >> .bash_profile | |
if [ ! -e ~/.ssh/id_rsa.pub ] |
This file contains 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/bash | |
if [ -e /tmp/rsync-data-lock ] | |
then | |
exit 1 | |
fi | |
touch /tmp/rsync-data-lock | |
REMOTE_SERVER=$1 | |
EXCLUDE=$2 |
This file contains 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/bash | |
if [ -e /tmp/rsync-config-lock ] | |
then | |
exit 1 | |
fi | |
touch /tmp/rsync-config-lock | |
REMOTE_SERVER=$1 | |
BACKUP=$2 |
This file contains 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/bash | |
VERSION=3.2.3 | |
wget http://download.jetbrains.com/ruby/RubyMine-$VERSION.tar.gz -O /tmp/rubymine | |
sudo tar -xzvf /tmp/rubymine -C /opt | |
sudo mv /opt/RubyMine-$VERSION /opt/RubyMine | |
sudo cat >/usr/share/applications/rubymine.desktop <<EOF | |
[Desktop Entry] | |
Name=RubyMine | |
Comment=Integrated Development Environment |
This file contains 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/bash | |
sudo apt-get install ruby-full | |
wget http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.tgz -O /tmp/gems | |
tar -xzvf /tmp/gems -C /tmp | |
cd /tmp/rubygems-1.6.2 | |
sudo ruby ./setup.rb | |
sudo dpkg-divert --rename --add /usr/bin/gem | |
sudo ln -s /usr/bin/gem1.8 /usr/bin/gem | |
sudo gem update --system |
This file contains 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 | |
# This is a shell archive. Save it in a file, remove anything before | |
# this line, and then unpack it by entering "sh file". Note, it may | |
# create directories; files and directories will be owned by you and | |
# have default permissions. | |
# | |
# This archive contains: | |
# | |
# /usr/bin/putty.rb | |
# /usr/share/kde4/services/ssh.protocol |
OlderNewer