Skip to content

Instantly share code, notes, and snippets.

View ollin's full-sized avatar

ollin ollin

View GitHub Profile
@nsisodiya
nsisodiya / docker.sh
Created August 15, 2015 06:22
Upgrade to Docker 1.8 on ubuntu box
sudo su
echo deb https://apt.dockerproject.org/repo ubuntu-`cat /etc/lsb-release | grep DISTRIB_CODENAME | cut -d'=' -f2` main >> /etc/apt/sources.list.d/docker.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F76221572C52609D
apt-get update
apt-get purge lxc-docker*
apt-get purge docker.io*
apt-get install docker-engine
exit
@aalmiray
aalmiray / build.gradle
Last active August 29, 2015 14:06
gradle + jbake 2.3.2 + asciidoctorj 1.5.1
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'me.champeau.gradle:jbake-gradle-plugin:0.2'
classpath 'org.jbake:jbake-core:2.3.2'
classpath 'org.asciidoctor:asciidoctorj:1.5.1'
}
PODCASTS:
http://rubyrogues.com/ - about programming in general, not always Ruby-specific (below a list of some episodes I found good, among many others)
- http://rubyrogues.com/131-rr-how-to-learn/ - episode about learning
- http://rubyrogues.com/023-rr-book-club-smalltalk-best-practice-patterns-with-kent-beck/ - episode with Kent Beck
- http://rubyrogues.com/068-rr-book-club-growing-object-oriented-software-guided-by-tests/ - episode about the GOOS book
http://pragprog.com/podcasts - about programming in general
- includes interviews with UncleBob, Kent Beck, Ward Cunningham, etc...
http://www.functionalgeekery.com/ - about functional programming
@eishay
eishay / GuiceServletConfigTest.java
Created October 4, 2011 21:36
Asserting Guice Servlet Module Binding
import static com.netflix.beacon.server.ServletModuleAssert.assertBindingToPattern;
import org.junit.Test;
import com.google.inject.Injector;
public class GuiceServletConfigTest {
@Test
public void testBinding() {