I hereby claim:
- I am mgmarino on github.
- I am mikemarino (https://keybase.io/mikemarino) on keybase.
- I have a public key ASAIGPtdpd5bBv6KvKHsHC9UxPObznQYc1RLm4WzumGbdQo
To claim this, I am signing this object:
import configparser | |
import os | |
import boto3 | |
import sys | |
import random | |
import string | |
def fail(msg): | |
sys.stderr.write("{}\n".format(msg)) | |
sys.exit(1) |
var jwkToPem = require("jwk-to-pem"); | |
var jwk = JSON.parse(process.env.OAUTH_TOKEN_KEY) | |
var output = { | |
signingKey: jwkToPem(jwk, { | |
private: true | |
}), | |
verifierKey: jwkToPem(jwk, { | |
private: false | |
}) |
# coding: utf-8 | |
# In[1]: | |
import numpy | |
import itertools | |
import h5py | |
# make an array with a lot of stuff |
I hereby claim:
To claim this, I am signing this object:
import sys | |
import re | |
def split_g4_vrml_file(afile): | |
one_string = open(afile).read() | |
split_string = one_string.split('#') | |
file_output_list = {} | |
camera = "" | |
temp = re.compile("---------- (.*)") | |
obj_name = re.compile("(.*): (.*)\..*") |
import ROOT | |
dataTree = #... | |
# Make sure there is enough space in the arrays | |
dataTree.SetEstimate(dataTree.GetEntries()) | |
dataTree.Draw("runNum:eventNum", "", "goff") | |
v1 = dataTree.GetV1() |
import ROOT | |
import sys | |
import array | |
ROOT.gSystem.Load("software/OrcaROOT/Bindings/libPyOrcaROOT") | |
ROOT.gSystem.Load("software/TWaveform/lib/libWaveWaveBase") | |
class WFConvert(ROOT.ORPyTreeWriter): | |
def __init__(self, dec, treeName): | |
ROOT.ORPyTreeWriter.__init__(self, dec, treeName) |
import sys | |
import ROOT | |
import glob | |
import os | |
def copy_tree_without_schema(input_file, output_file): | |
an_input = ROOT.TFile(input_file) | |
try: | |
ROOT.EXOTRefArray.Class().GetSchemaRules().GetRules().Clear() |
*** etc/init/couchdb Tue Apr 30 15:11:17 2013 | |
--- /etc/rc.d/couchdb Thu May 2 11:34:40 2013 | |
*************** | |
*** 66,72 **** | |
command="$command $COUCHDB_OPTIONS" | |
fi | |
if test -n "$COUCHDB_USER"; then | |
! if su $COUCHDB_USER -c "$command"; then | |
return $SCRIPT_OK | |
else |