Skip to content

Instantly share code, notes, and snippets.

View interskh's full-sized avatar

Kyle Sun interskh

  • San Francisco, CA
View GitHub Profile
@interskh
interskh / README.md
Created October 14, 2013 06:15 — forked from nikcub/README.md
@interskh
interskh / luigi-config.cfg
Created June 24, 2014 18:14
Logging config for luigi
[loggers]
keys=root,luigi-interface
[handlers]
keys=myhandler,stdout
[formatters]
keys=simple
[handler_myhandler]
#!/bin/bash
# Get current swap usage for all running processes
# Erik Ljungstrom 27/05/2011
# Modified by Mikko Rantalainen 2012-08-09
# Pipe the output to "sort -nk3" to get sorted output
SUM=0
OVERALL=0
for DIR in `find /proc/ -maxdepth 1 -type d -regex "^/proc/[0-9]+"`
do
PID=`echo $DIR | cut -d / -f 3`
#!/bin/sh
# Author: Nikita Kovalev, https://gist.github.com/maizy/c4d31c1f539694f721f6
# Based on: https://gist.github.com/visenger/5496675
# Use java7 dependency (openjdk) instead of java6.
# Tested in Ubuntu 12.04.5 (precise)
SCALA="2.10.4"
SBT="0.13.5"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.