A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
For Mac users, I highly recommend iTerm 2 + Solarized Dark
| --[[ | |
| Implemented as described here: | |
| http://flafla2.github.io/2014/08/09/perlinnoise.html | |
| ]]-- | |
| perlin = {} | |
| perlin.p = {} | |
| -- Hash lookup table as defined by Ken Perlin | |
| -- This is a randomly arranged array of all numbers from 0-255 inclusive | 
| public class Perlin { | |
| public int repeat; | |
| public Perlin(int repeat = -1) { | |
| this.repeat = repeat; | |
| } | |
| public double OctavePerlin(double x, double y, double z, int octaves, double persistence) { | |
| double total = 0; | 
| #include <QtDebug> | |
| #include <QTranslator> | |
| #include <QTextCodec> | |
| #include <QLocale> | |
| #include <QTime> | |
| #include <QDir> | |
| static QTextCodec *logCodec = NULL; | |
| static FILE *logStream = NULL; | |
| QString g_logFilePath = ""; | 
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # | 
| import QtQuick 1.1 | |
| Item { | |
| width: 200 | |
| height: 300 | |
| ListView { | |
| anchors.fill: parent | |
| model: nestedModel | |
| delegate: categoryDelegate |