Version: 1.9.8
Platform: x86_64
First, install or update to the latest system software.
sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
// ==UserScript== | |
// @name Add MafiaWars Links to Facebook Profiles | |
// @copyright 2011 - Julio Napuri | |
// @version 1.0 | |
// @description Adds MafiaWars specific links to the standard Facebook profile menu. | |
// @license GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html | |
// @include http://*.facebook.com/* | |
// @include http://*.facebook.com/*#* | |
// @exclude http://apps.facebook.com/* | |
// @exclude http://apps.facebook.com/inthemafia |
#!/usr/bin/env bash | |
# Things to do after install Ubuntu 11.4 (Natty) | |
# Enabled partner repo | |
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak | |
STOP="deb " | |
REPO="partner" | |
sudo sed -i "/^# $STOP.*$REPO/ s/^# //" /etc/apt/sources.list | |
# Repos |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
class Admin_Controller extends CI_Controller { | |
protected $the_user; | |
public function __construct() { | |
parent::__construct(); |
<?php | |
/* | |
* Simple script for basic measuring time | |
* | |
* See: https://groups.google.com/d/topic/phpperu/UAoqzKt2Cdc/discussion | |
*/ | |
$before = microtime(true); | |
for ($i=0 ; $i < 1000000; $i++) { |
# Taken from http://blog.bigbinary.com/2012/10/12/redirect-to-www-heroku-ssl.html | |
Bigbinary::Application.routes.draw do | |
constraints(:host => /^bigbinary.com/) do | |
root :to => redirect("http://www.bigbinary.com") | |
match '/*path', :to => redirect {|params| "http://www.bigbinary.com/#{params[:path]}"} | |
end | |
end |
#!/usr/bin/env bash | |
# Things to do after install ArchLinux (2012.12.01) | |
pacman --noconfirm -S sudo | |
# Enabled archlinuxfr repo | |
arch=$(uname -m) | |
sudo cp /etc/pacman.conf /etc/pacman.conf.bak | |
echo "" >> /etc/pacman.conf | |
echo "[archlinuxfr]" >> /etc/pacman.conf |
I hereby claim:
To claim this, I am signing this object: