This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://github.com/lift/framework/blob/master/core/json/src/main/scala/net/liftweb/json/Meta.scala | |
// lines 207-209 | |
sealed abstract class Kind | |
case object `* -> *` extends Kind | |
case object `(*,*) -> *` extends Kind |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
# | |
# This script triggers builds for completed EMR tasks based on data in the metadata domain. We assume that AWS | |
# credentials are specified in the 'AWS_ACCESS_KEY_ID' and 'AWS_SECRET_ACCESS_KEY' environment variables. | |
# | |
# Note that each invocation will only make one query (and possibly many puts) to SimpleDB. If there | |
# are a large number of post-EMR tasks to trigger, some may need to wait until the next invocation. | |
# | |
# Hudson builds may be parameterized by selecting the "This build is parameterized" option in the job | |
# configuration. This script will pass JSON in the 'next_on_cron_server_job_params' to the build URL. The JSON |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
# | |
# This is a simple script that puts a list of key/value pairs into a single SimpleDB item. It assumes that your | |
# Amazon credentials are stored in the environment variables "AWS_ACCESS_KEY_ID" and "AWS_SECRET_ACCESS_KEY". | |
# | |
# Examples: | |
# | |
# Insert a bunch of attributes for 'testitem' in the domain 'domain.name': | |
# ./put.rb -d domain.name -i testitem key1=val1 key2=val2-1 key2=val2-2 key3=val3 | |
# |