I hereby claim:
- I am julionc on github.
- I am julionc (https://keybase.io/julionc) on keybase.
- I have a public key whose fingerprint is C521 522A 7ED2 E37F F3B4 40E5 26B3 1D45 7BFD 4016
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// ==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 |
const WEBGL_RENDERERS = ['ANGLE (NVIDIA Quadro 2000M Direct3D11 vs_5_0 ps_5_0)', 'ANGLE (NVIDIA Quadro K420 Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (NVIDIA Quadro 2000M Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (NVIDIA Quadro K2000M Direct3D11 vs_5_0 ps_5_0)', 'ANGLE (Intel(R) HD Graphics Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (Intel(R) HD Graphics Family Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (ATI Radeon HD 3800 Series Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (Intel(R) HD Graphics 4000 Direct3D11 vs_5_0 ps_5_0)', 'ANGLE (Intel(R) HD Graphics 4000 Direct3D11 vs_5_0 ps_5_0)', 'ANGLE (AMD Radeon R9 200 Series Direct3D11 vs_5_0 ps_5_0)', 'ANGLE (Intel(R) HD Graphics Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (Intel(R) HD Graphics Family Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (Intel(R) HD Graphics Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (Intel(R) HD Graphics Family Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (Intel(R) HD Graphics 4000 Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (Intel(R) HD Graphics 3000 Direct3D9Ex vs_3_0 ps_3_0)', 'ANGLE (Mobile Intel(R) 4 Seri |