Skip to content

Instantly share code, notes, and snippets.

View devvesa's full-sized avatar
🐢
Working from home

Jaume Devesa devvesa

🐢
Working from home
  • Midokura
  • Barcelona
  • 02:32 (UTC -12:00)
View GitHub Profile

Docker Cheat Sheet

Why

Why Should I Care (For Developers)

"Docker interests me because it allows simple environment isolation and repeatability. I can create a run-time environment once, package it up, then run it again on any other machine. Furthermore, everything that runs in that environment is isolated from the underlying host (much like a virtual machine). And best of all, everything is fast and simple."

TL;DR, I just want a dev environment

@devvesa
devvesa / SpringInjectionExample.java
Created October 7, 2012 17:35 — forked from nacx/SpringInjectionExample.java
Spring injection by name
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.util.Assert;
public abstract class InjectableProperty implements InitializingBean, ApplicationContextAware
{
private String beanName;