Skip to content

Instantly share code, notes, and snippets.

View Milstein's full-sized avatar

Milstein Munakami Milstein

View GitHub Profile
@prabirshrestha
prabirshrestha / buildbox-sample.sh
Created October 9, 2013 02:25
sample buildbox shell script
#/bin/bash
# Exits bash immediately if any command fails
set -e
# Will output commands as the run
set -x
# Want to know what ENV varibles Buildbox sets during the build?
env | grep BUILDBOX
@sanaulla123
sanaulla123 / ExecutorServiceSample.java
Created July 1, 2012 19:38
An example of using ExecutorService framework in Java for developing concurrent applications
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.*;
import java.util.concurrent.*;
public class ExecutorServiceSample {