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
. LbLogin.sh -c x86_64-slc6-clang33-opt | |
SetupProject --build-env --nightly lhcb-lcg-head Mon LHCb HEAD | |
getpack --no-config Phys/LoKiCore head | |
make | |
#### |
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/env bash | |
# Setup script for hacking chrome devtools | |
# Source -> https://medium.com/p/8c8896f5cef3 | |
echo "Creating folder and initialize a git repo" | |
mkdir devtools-frontend && cd devtools-frontend | |
git init | |
echo "Adding chromium remote and initialize sparse checkout" | |
git remote add upstream https://chromium.googlesource.com/chromium/blink |
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
#!/bin/sh | |
enscript --pretty-print -C -f "Courier8" -F "Courier9" --color TrigT1CaloMonitoring/share/TrigT1CaloMonitoring_forRecExCommission_Run2.py -p -|psnup -m 43 -l -b1 -4 -d | ps2pdf - output.pdf | |
enscript -r --pretty-print -C -f "Courier8" -F "Courier9" --color TrigT1CaloMonitoring/share/TrigT1CaloMonitoring_forRecExCommission_Run2.py -p -|psnup -l -b1 -4 -d | ps2pdf - output.pdf | |
enscript --pretty-print -C -f "Courier12" -F "Courier14" -MA4 --color Rearrange.cpp Parity* -p -|psnup -6 -pa4 -d |ps2pdf - output.pdf | |
#enscript --pretty-print -C -j -f "Courier12" -F "Courier14" -MA4 --color *.js -p -|psnup -4 -pa4 -m2cm |ps2pdf - output.pdf |
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
""" | |
Helper module for displaying ROOT canvases in ipython notebooks | |
Usage example: | |
# Save this file as rootnotes.py to your working directory. | |
import rootnotes | |
c1 = rootnotes.default_canvas() | |
fun1 = TF1( 'fun1', 'abs(sin(x)/x)', 0, 10) | |
c1.SetGridx() |