Skip to content

Instantly share code, notes, and snippets.

View betatim's full-sized avatar
🤠
Not my first rodeo

Tim Head betatim

🤠
Not my first rodeo
View GitHub Profile
@manics
manics / README.md
Last active June 28, 2024 22:28
JupyterHub in BinderHub
@jtpio
jtpio / README.md
Last active March 29, 2019 10:43
PyBerlin Meetup - Coding Slam - 2019-04-28

PyBerlin Meetup - Coding Slam

2019-04-28

Featuring 5 picks from the Python standard library.

Try it online

The presentation is available online with Binder:

#!/usr/bin/env python3
"""
nb-offline: run notebooks offline
Usage:
nb-offline my-notebook.ipynb
Will save my-notebook-intermediate.ipynb every time there's an output, and save
my-notebook-done.ipynb when it's all done.
@alexpearce
alexpearce / open_eos.py
Created December 7, 2015 13:24
Interface to EOS files mimicking native `open`.
from distutils.spawn import find_executable
import logging as log
import os
import shutil
from subprocess import call
import tempfile
class open_eos(object):
"""An EOS file wrapper that acts like the native `open`.
@alexpearce
alexpearce / are_nightlies_healthy.py
Created May 6, 2015 14:08
Check the status of the LHCb nightlies
#!/usr/bin/env python
from __future__ import print_function
import argparse
import os
import re
import ssl
import sys
import urllib
from xml.dom import minidom
@OmeGak
OmeGak / cern_afs_kerberos.md
Last active July 7, 2024 11:08
Authentication at CERN made not-an-ordeal (kind of)

AFS Kerberos at CERN

"Kerberos is not the authentication system CERN deserves, but the one we need". - A wise man

This guide aims to ease the pain of setting up Kerberos authentication in your local (Ubuntu) machine and then completely forget about it.

Ready to fight?

First of all, install the following packages if you want to be successful on this journey: