Skip to content

Instantly share code, notes, and snippets.

View smiler's full-sized avatar

Christian Axelsson smiler

  • Uppsala, Sweden
View GitHub Profile
@beci
beci / gcc 5 on ubuntu 14.04
Created October 15, 2015 07:18
use gcc 5.x on ubuntu 14.04
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-5 g++-5
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5
@jpmckinney
jpmckinney / proxy.php
Created March 19, 2012 18:34 — forked from evolvingweb/proxy.php
An AJAX-Solr proxy written in PHP.
<?php
/**
* @file
* Implements a Solr proxy.
*
* Currently requires json_decode which is bundled with PHP >= 5.2.0.
*
* You must download the SolrPhpClient and store it in the same directory as this file.
*