Skip to content

Instantly share code, notes, and snippets.

View ngerakines's full-sized avatar
🏠
Working from home

Nick Gerakines ngerakines

🏠
Working from home
View GitHub Profile
Red Hat Enterprise Linux 5 Adminstration
Hacking Roomba
Agile Project Management With Scrum
The Art of Capacity Planning
JavaScript for Web Developers
Begining Lua Programming
Hacking del.icio.us
Professional Ajax
The Next 100 Years
Mausi

Keybase proof

I hereby claim:

  • I am ngerakines on github.
  • I am ngerakines (https://keybase.io/ngerakines) on keybase.
  • I have a public key whose fingerprint is 9530 23D8 48C3 5059 A2E2 4888 33D4 3D85 4F96 B2E4

To claim this, I am signing this object:

public abstract class AbstractTemplate {
protected abstract String getTemplateFile();
public String run() {
return "rendered template from " + getTemplateFile();
}
}
#!/usr/bin/python2
import sys
import os
from os.path import join
import tarfile
import shutil
import popen2
from optparse import OptionParser
import logging
public interface CalcService extends RespondingService {
void add(final CallbackMessageController<CalcProto.Results> messageController, final CalcProto.Add add);
}
@ngerakines
ngerakines / gist:9002823
Created February 14, 2014 15:17
update-git.sh
#!/bin/sh
parent=${PWD##*/}
if [ -f 'repos' ]
then
echo "`repos` file exists."
for i in `cat repos`; do
if [ -d $i ]
then
ngerakines@eirena:~/development/ngerakines/menu$ ./menu create --artifact-id=menu-webapp --artifact-version=1.0.0 --artifact-location=file:///var/artifacts/com/socklabs/menu-webapp/menu-webapp-1.0.0.zip --cookbook=https://github.com/ngerakines/menu-webapp-cookbook
ngerakines@eirena:~/development/ngerakines/menu$ ls
1385576835.menu help.go LICENSE localfs.go menu menu.go model.go README.md
ngerakines@eirena:~/development/ngerakines/menu$ ./menu show file:////home/ngerakines/development/ngerakines/menu/1385576835.menu
path: file:////home/ngerakines/development/ngerakines/menu/1385576835.menu type: 1
time: 1385576835
artifacts:
menu-webapp 1.0.0 file:///var/artifacts/com/socklabs/menu-webapp/menu-webapp-1.0.0.zip
cookbooks:
https://github.com/ngerakines/menu-webapp-cookbook
11615-MBP15:menu nick.gerakines$ ./menu
Usage: menu <command> <arguments and options>
Commands:
create
show
artifacts
cookbooks
list
11615-MBP15:menu nick.gerakines$ ./menu create
func ok() {
}
func ok() {
}
#!/usr/bin/ruby
# WebExcursions, a script for gathering new Pinboard links with a certain tag
# and generating Markdown/Jekyll posts when enough are collected.
# Brett Terpstra 2013
#
# -f to force writing out current bookmarks to file regardless of count
%w[fileutils set net/https zlib rexml/document time base64 uri cgi stringio].each do |filename|
require filename
end