Skip to content

Instantly share code, notes, and snippets.

@stephan83
stephan83 / browserify-templates.coffee
Created April 8, 2012 17:20
Browserify templates
browserify = require 'browserify'
eco = require 'eco'
bundle = browserify {
mount: '/javascripts/bootstrap.js'
}
bundle.register '.eco', (body) ->
"module.exports = #{eco.precompile body};"
bundle.addEntry path.join(__dirname, './lib/bootstrap.coffee')
@lanceon
lanceon / idea64.vmoptions
Created December 6, 2014 19:14
Intellij Idea CE 14 config for 16 Gb RAM
-server
-Xms4g
-Xmx8g
-XX:NewRatio=2
-XX:+AggressiveOpts
-XX:MaxPermSize=384m
-XX:ReservedCodeCacheSize=225m
-XX:-TraceClassUnloading
-XX:+UseFastAccessorMethods
-XX:+OptimizeStringConcat
{ stdenv, fetchFromGitHub, coreutils, ocamlPackages, zlib, pcre, neko, mbedtls
, ocaml-sha # put this into ocamlPackages
}:
stdenv.mkDerivation rec {
pname = "haxe";
version = "4.1.5";
src = fetchFromGitHub {