Skip to content

Instantly share code, notes, and snippets.

View vizanto's full-sized avatar

Danny Wilson vizanto

View GitHub Profile
(ns nodes.core
(:require [pallet compute, resource]
pallet.compute.vmfest
vmfest.manager, vmfest.virtualbox.image
[pallet.crate java tomcat]
[pallet.action.package :as package]
[pallet.action.exec-script :as exec-script]
[pallet.utils :as utils]
[pallet.session :as session]
[pallet.script.lib])
@vizanto
vizanto / gist:1222023
Created September 16, 2011 12:32
Tomcat on vmfest managed Ubuntu VM _almost_ configured.
(ns nodes.core
(:require [pallet compute, resource]
pallet.compute.vmfest
vmfest.manager, vmfest.virtualbox.image
[pallet.crate.tomcat :as tomcat]
[pallet.action.package :as package]
[pallet.action.exec-script :as exec-script]
[pallet.utils :as utils]
[pallet.session :as session]
[pallet.script.lib])
@vizanto
vizanto / gist:4233354
Created December 7, 2012 13:44
lein compile :all
Compiling immutant.init
14:43:54.365 [main] WARN immutant.try - org.jboss.msc.service.ServiceName
14:43:54.784 [main] WARN immutant.try - org.apache.catalina.core.StandardContext
14:43:54.789 [main] WARN immutant.try - org.apache.catalina.core.StandardContext
14:44:07.958 [main] INFO immutant.web - Registering ring handler at sub-context path: /*
Without removing immutant class files (rm -R target/classes/immutant):
14:52:10,201 INFO [immutant.web] (MSC service thread 1-1) Registering ring handler at sub-context path: /*
14:52:10,207 INFO [org.jboss.as.osgi] (MSC service thread 1-8) JBAS011907: Register module: Module "deployment.X.clj:main" from Service Module Loader
{
"c0": {
"dynamic": "strict",
"_source": {
"compress": true
},
"properties": {
"c000": {
"type": "string",
"index_name": "kenteken"
@vizanto
vizanto / gist:4584531
Created January 21, 2013 08:23
wrapinstall-haxe.sh
#!/bin/bash
cd "$TOOLDIR"
echo == Creating environment.sh ==
echo "
export HAXEPATH=\"`echo $TOOLDIR/haxe-*`\"
export NEKOPATH=\"`echo $TOOLDIR/neko-*`\"
"'
export HAXE_LIBRARY_PATH="$HAXEPATH/std"
@vizanto
vizanto / gist:4721226
Last active December 12, 2015 05:19
With --option binary-caches
{9:46}~/Development/Libraries/nixpkgs:master ✗ ➭ sudo nix-build pkgs/top-level/all-packages.nix --option binary-caches '' -vv -K -A jzmq
evaluating file `/Users/blue/Development/Libraries/nixpkgs/pkgs/stdenv/adapters.nix'
evaluating file `/Users/blue/Development/Libraries/nixpkgs/pkgs/build-support/trivial-builders.nix'
evaluating file `/Users/blue/Development/Libraries/nixpkgs/pkgs/lib'
| evaluating file `/Users/blue/Development/Libraries/nixpkgs/pkgs/lib/trivial.nix'
| evaluating file `/Users/blue/Development/Libraries/nixpkgs/pkgs/lib/lists.nix'
| evaluating file `/Users/blue/Development/Libraries/nixpkgs/pkgs/lib/strings.nix'
| evaluating file `/Users/blue/Development/Libraries/nixpkgs/pkgs/lib/strings-with-deps.nix'
| | evaluating file `/Users/blue/Development/Libraries/nixpkgs/pkgs/lib/attrsets.nix'
| evaluating file `/Users/blue/Development/Libraries/nixpkgs/pkgs/lib/sources.nix'
@vizanto
vizanto / gist:4721232
Created February 6, 2013 08:48
Without --option binary-caches ''
{9:47}~/Development/Libraries/nixpkgs:master ✗ ➭ sudo nix-build pkgs/top-level/all-packages.nix -vv -K -A jzmq
evaluating file `/Users/blue/Development/Libraries/nixpkgs/pkgs/stdenv/adapters.nix'
evaluating file `/Users/blue/Development/Libraries/nixpkgs/pkgs/build-support/trivial-builders.nix'
evaluating file `/Users/blue/Development/Libraries/nixpkgs/pkgs/lib'
| evaluating file `/Users/blue/Development/Libraries/nixpkgs/pkgs/lib/trivial.nix'
| evaluating file `/Users/blue/Development/Libraries/nixpkgs/pkgs/lib/lists.nix'
| evaluating file `/Users/blue/Development/Libraries/nixpkgs/pkgs/lib/strings.nix'
| evaluating file `/Users/blue/Development/Libraries/nixpkgs/pkgs/lib/strings-with-deps.nix'
| | evaluating file `/Users/blue/Development/Libraries/nixpkgs/pkgs/lib/attrsets.nix'
| evaluating file `/Users/blue/Development/Libraries/nixpkgs/pkgs/lib/sources.nix'
@vizanto
vizanto / gist:4722168
Created February 6, 2013 12:01
Is this the preferred way to override package attributes?
# ~/.nixpkgs/config.nix
pkgs : {
packageOverrides = self : {
automake = self.automake.override { doCheck = false; };
};
}
class VODefinition {
static function build() {
m.mixin(0, "Point", {
x: [0, integer, bindable],
y: [1, integer, bindable]
});
var Point = "nl.onlinetouch.vo.Point";
m.mixin(1, "Sized", {