Skip to content

Instantly share code, notes, and snippets.

View Vanuan's full-sized avatar

John Yani Vanuan

  • Lohika
  • Odesa, Ukraine
View GitHub Profile
#!/usr/bin/env bash
set -e
SOURCE_PATH=`pwd`
BUILD_PATH=$HOME/build
# In case the old package URL is still being used
sed -i 's/http\.debian\.net/httpredir\.debian\.org/g' /etc/apt/sources.list
@Vanuan
Vanuan / Wrapper.java
Created October 26, 2012 17:14 — forked from vkravets/JythonNailgun.java
Running jython via Nailgun server
package com.github.vanuan.jython.nailgun;
import java.util.Arrays;
import org.python.core.Py;
import org.python.core.PyList;
import org.python.core.PySystemState;
import org.python.core.PyType;
import org.python.util.PythonInterpreter;