Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am makkus on github.
  • I am makkus (https://keybase.io/makkus) on keybase.
  • I have a public key whose fingerprint is BE54 AC1D F7A7 2723 1FD7 0EF4 74CB 9CA0 5408 EC2A

To claim this, I am signing this object:

@makkus
makkus / CreateMyProxyCredential.java
Created November 26, 2012 04:00
Authentication code snippets
import grith.jgrith.cred.Cred;
import grith.jgrith.cred.MyProxyCred;
// via static value
MyProxyCred cred = new MyProxyCred("grisudemo", "grisudemo".toCharArray(), "myproxy.test.nesi.org.nz", 7512);
@makkus
makkus / 1 - instructions.md
Created November 26, 2012 03:47
Create grisu (commandline) client

Maven stuff to add (current grisu.version is 0.5.10):

...
...
<repositories>
    <repository>
    <id>bestgrid.public.release</id>
    <url>http://code.ceres.auckland.ac.nz/nexus/content/groups/public/</url>
    <releases>

true

@makkus
makkus / simpleDiffJob.py
Last active October 13, 2015 05:27
Simple grython example: submitting diff job including 2 input files, wait for job to finish and download result
#! /usr/bin/grython -b testbed
'''
A simple job submission to show how to submit a job with input files.
Created on 26/11/2012
@author: Markus Binsteiner
'''
@makkus
makkus / gist:3797597
Created September 28, 2012 02:15
Admin commands for grisu backend
// all login stuff is implemented in the parent class
System.out.println("Getting serviceinterface...");
ServiceInterface si = null;
try {
si = getServiceInterface();
} catch (Exception e) {
System.err.println("Could not login: " + e.getLocalizedMessage());
System.exit(1);
}