Skip to content

Instantly share code, notes, and snippets.

View stepheneb's full-sized avatar

Stephen Bannasch stepheneb

View GitHub Profile

Update Worldwind Git Repo from Zip Distribution

Building MLVM version of OpenJDK (Java 1.8) on Mac OS X

Take a look at the comments and code in update.sh.

Requires a working version of Java 1.8.

I use create_tarball.sh to make a copy of the build to share.

OpenJDK 1.7 builds for Mac OS X:

# SproutCore development setup
#
# Setup a working directory for sproutcore development with the latest code.
# This setup is useful if you want to be able to easily view and/or edit the
# sproutcore libraries themselves while doing development.
#
# Stephen Bannasch, 2010 04 14
# file: sproutcore_dev_setup.sh
#
# source sproutcore_dev_setup.sh
require 'rubygems'
gem 'rack', '>= 1.1.0'
gem 'jnlp', '>= 0.6.2'
require 'rack'
require 'jnlp'
require 'fileutils'
require 'open-uri'
#
# file get-mdns.rb
#
# Create a local git repository in mdns-responder-git of
# Apple's mDNSResponder open source implementation of zeroconf
#
# See: http://opensource.apple.com/source/mDNSResponder/
#
# Each mDNSResponder archive located here:
# http://www.opensource.apple.com/tarballs/mDNSResponder/
echo "
*** generate the documentation for sproutcore and open in a browser:
cd $SPROUTCORE_DEV/sproutcore-git
sc-docs sproutcore
open tmp/docs/sproutcore/index.html
"
cd $SPROUTCORE_DEV/sproutcore-git
# first recursive copy of external dir using rsync
$ rsync -avx --delete otto.concord.org:/web/xproject.dev.concord.org/current/public/system/attachments/ attachments
receiving file list ... done
created directory attachments
./
10/
10/original/
10/original/GenePool6.exe
13/
@stepheneb
stepheneb / 00-readme.md
Created April 3, 2012 04:15
running md2d.js with d8 tracing

Build v8 (creates the d8 executable):

git clone git://github.com/v8/v8.git v8-git
cd v8-git/
make dependencies
make native

If you don't have a copy of the lab repo download md2d.js from this gist:

curl https://raw.github.com/gist/2289269/md2d.js -o md2d.js

Building the BSD-port version of OpenJDK (Java 1.7) on Mac OS X

Take a look at the comments and code in update.sh.

$ source update.sh

I use update-usr-local.sh after a successful build to copy the new JVM into /usr/local.

I add pickjdk.sh into my ~/.bash_profile to allow easy switching between multiple JVMs.