brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
apt-get install -y wget build-essential gettext autoconf automake libtool | |
wget http://download.mono-project.com/sources/mono/mono-3.2.3.tar.bz2 | |
bunzip2 -df mono-3.2.3.tar.bz2 | |
tar -xf mono-3.2.3.tar | |
cd mono-3.2.3 | |
./configure --prefix=/usr/local; make; make install | |
rm -rf /tmp/* | |
apt-get remove --purge wget build-essential gettext autoconf automake libtool |
#!/bin/sh | |
# System upgrade | |
echo "Updating repositories and upgrading system" | |
sudo apt-get -y update && sudo apt-get -y upgrade && sudo apt-get -y dist-upgrade && sudo apt-get -y autoremove | |
clear | |
# Install Unity Tweak Tool | |
echo "Installing Unity Tweak Tool" | |
sudo apt-get -y install unity-tweak-tool |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
user system total real | |
bm_so_binary_trees.rb | |
ytl 17.377000 6.036000 23.585000 ( 37.127000) | |
ytl compile 2.308000 5.615000 7.939000 ( 19.806000) | |
ytl unboxed 7.346000 6.269000 13.646000 ( 26.070000) | |
ruby 58.343000 2.011000 60.384000 ( 78.321000) | |
user system total real | |
bm_so_matrix.rb | |
ytl 3.478000 5.740000 9.234000 ( 19.361000) | |
ytl compile 2.682000 5.677000 8.375000 ( 18.128000) |
using System; | |
using System.Diagnostics; | |
namespace SunriseCalculator | |
{ | |
public class SolarInfo | |
{ | |
public double SolarDeclination { get; private set; } | |
public TimeSpan EquationOfTime { get; private set; } | |
public DateTime Sunrise { get; private set; } |
if "foo@example.com" =~ /@(.*)/ | |
$1 | |
else | |
raise "bad email" | |
end | |
# => "example.com" |