Skip to content

Instantly share code, notes, and snippets.

View chrisburr's full-sized avatar

Chris Burr chrisburr

  • CERN
  • Geneva, Switzerland
View GitHub Profile
@chrisburr
chrisburr / keybase.md
Created October 26, 2020 21:16
keybase.md

Keybase proof

I hereby claim:

  • I am chrisburr on github.
  • I am chrisburr (https://keybase.io/chrisburr) on keybase.
  • I have a public key ASAKEA7DI389gwXWTUeONSFa1xiGAJHJxahCZR6wvANUvgo

To claim this, I am signing this object:

@chrisburr
chrisburr / Example.ipynb
Created November 22, 2018 17:58
Example BDT
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chrisburr
chrisburr / lep_publications_by_year.ipynb
Created October 22, 2018 15:56
LEP publications by year
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chrisburr
chrisburr / make_proxy.sh
Last active September 6, 2017 17:03
Setting up a LHCb grid proxy on macOS
# Probably not needed: brew install globus-toolkit
brew cask install java
brew cask install jce-unlimited-strength-policy
brew install voms
rsync -a -H -x -v --progress --recursive --delete \
lxplus:/cvmfs/lhcb.cern.ch/etc/grid-security/ \
"$HOME/grid-security"
export X509_CERT_DIR="$HOME/grid-security/certificates"
@chrisburr
chrisburr / Approximation.ipynb
Created July 25, 2017 14:50
Testing exponential approximation for the energy test
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chrisburr
chrisburr / Testbeam plotting.ipynb
Created June 13, 2017 18:37
Testbeam plotting
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chrisburr
chrisburr / Snakefile
Last active June 2, 2017 11:01
strace parser based on fabricate - https://github.com/SimonAlfie/fabricate
rule all:
output:
'a.txt'
run:
with open('a.txt', 'wt') as fp:
fp.write('AAA')
with open('b.txt', 'wt') as fp:
fp.write('BBB')
with open('c.txt', 'wt') as fp:
fp.write('CCC')
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chrisburr
chrisburr / Git_Notes.md
Created December 23, 2016 12:00
Starterkit Notes

Git lesson plan

Let's start the lesson by updating git on lxplus

Browse to the git website and download the tar ball

wget https://www.kernel.org/pub/software/scm/git/git-2.10.2.tar.gz
tar -xvf git-2.10.2.tar.gz
rm -r git-2.10.2.tar.gz
@chrisburr
chrisburr / Pytables traversal performance.ipynb
Created November 22, 2016 09:17
Pytables traversal performance
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.