Download logstash:
wget https://logstash.objects.dreamhost.com/release/logstash-1.1.5-monolithic.jar
public class RoboActionBarActivity extends ActionBarActivity implements RoboContext { | |
protected EventManager eventManager; | |
protected HashMap<Key<?>, Object> scopedObjects = new HashMap<Key<?>, Object>(); | |
@Inject | |
ContentViewListener ignored; // BUG find a better place to put this | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { |
import org.jboss.aesh.cl.CommandDefinition; | |
import org.jboss.aesh.cl.GroupCommandDefinition; | |
import org.jboss.aesh.cl.Option; | |
import org.jboss.aesh.console.AeshConsole; | |
import org.jboss.aesh.console.AeshConsoleBuilder; | |
import org.jboss.aesh.console.Prompt; | |
import org.jboss.aesh.console.command.Command; | |
import org.jboss.aesh.console.command.CommandResult; | |
import org.jboss.aesh.console.command.invocation.CommandInvocation; | |
import org.jboss.aesh.console.command.registry.AeshCommandRegistryBuilder; |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.net.URL; | |
import java.net.URLClassLoader; | |
import java.util.ArrayList; | |
import java.util.Enumeration; | |
import java.util.Iterator; | |
import java.util.List; | |
public class ChildFirstClassLoader extends URLClassLoader { |
#!/usr/bin/env bash | |
seq 10 | xargs -I X bash -c "echo X \$RANDOM" |
Edit your $GROOVY_HOME/conf/groovy-start.conf and add the following line: | |
load !{user.home}/.groovy/grapes/**.jar | |
After that your @Grab will work as advertised: | |
#!/usr/bin/env groovy | |
@Grab(group='mysql', module='mysql-connector-java', version='5.1.12') | |
import groovy.sql.Sql |
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="schwiz.net.weartest" > | |
<application | |
android:allowBackup="true" | |
android:icon="@drawable/ic_launcher" | |
android:label="@string/app_name" | |
android:theme="@style/AppTheme" > | |
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" /> |
#!/bin/sh | |
# Current as working as of 2012/4/17 | |
# Xcode 4.3.2 | |
PROJECT_ROOT="$HOME/SomeDirWhereYourProjectLives/XXXXXXXX" | |
WORKSPACE="$PROJECT_ROOT/XXXXXXXX.xcodeproj/project.xcworkspace" | |
CONFIG="AdHoc" | |
SCHEME="XXXXXXXX" |
GitHub's compare view is available at:
https://github.com/$USER/$REPO/compare/$REV_A...$REV_B
Naturally, $USER
and $REPO
are the owner (user/organization) and repository names, respectively.
$REV{A,B}
are the two sides of the compare view; they can either be a ref in $USER
's repository, i.e. the name of a branch, tag or a commit SHA, or it can be a ref in $OWNER
's fork of the repository by using the format $OWNER:$REF
.
You can get a diff or patch for the result of the compare view by appending .diff
or .patch
to the URL, respectively.
If you use atom... download & install the following packages: