Skip to content

Instantly share code, notes, and snippets.

View fhirschmann's full-sized avatar

Fabian Hirschmann fhirschmann

View GitHub Profile
#!/bin/sh
# Define packages to install. For exemplary purposes, this is done
# in this script instead of a separate file.
PACKAGE_FILE=$(mktemp)
cat << EOF > $PACKAGE_FILE
sympy
flask
library(jsonlite)
library(httr)
library(digest)
api.poloniex <- function(key, secret, command, args = list()) {
req <- c(list(
command = command,
nonce = round(as.numeric(Sys.time()) * 1e4, 0)),
args)
#!/usr/bin/env python
"""
volupack - Packs multiple Lua files for Vendetta Online into a single file.
Given the following layout:
main.lua:
mylib = {}
dofile("file1.lua")
dofile("file2.lua")