A "Best of the Best Practices" (BOBP) guide to developing in Python.
- "Build tools for others that you want to be built for you." - Kenneth Reitz
- "Simplicity is alway better than functionality." - Pieter Hintjens
package net.andrewspencer.util; | |
import sun.text.Normalizer; // java.text.Normalizer in 1.6 | |
/** | |
* Here's how to remove accents in Java 1.5. | |
* NB Doesn't separate ligatures. | |
*/ | |
// WARNING Uses unofficial Sun classes, so JVM-dependent. | |
// Normalizer became standard in Java 1.6, though. |
FROM ubuntu | |
RUN dpkg-divert --local --rename --add /sbin/initctl | |
RUN ln -s /bin/true /sbin/initctl | |
RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list | |
RUN apt-get update | |
RUN apt-get upgrade -y | |
RUN apt-get -y install mysql-client mysql-server |