Skip to content

Instantly share code, notes, and snippets.

View anaderi's full-sized avatar

Andrey Ustyuzhanin anaderi

View GitHub Profile
{
"metadata": {
"name": "MasterClassD0-ex1"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
{
"metadata": {
"name": "blog_post"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
{
"metadata": {
"name": "blog_post"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
{
"metadata": {
"name": "presentation_Sep23-v03"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
from IPython.core.display import HTML
from IPython.nbconvert.exporters import SlidesExporter
from IPython.config import Config
from IPython.nbformat import current as nbformat
import io
import os
notebook = open(infile).read()
notebook_json = nbformat.reads_json(notebook)
{
"metadata": {
"name": "B2K^star_mumu"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@anaderi
anaderi / gist:6807522
Created October 3, 2013 09:41
ef_api_demo
{
"metadata": {
"name": "EF_api_demo"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@anaderi
anaderi / kstar_stripping_v01
Created November 12, 2013 14:46
kstar, stripping
{
"metadata": {
"name": "K^starmumu-stripping"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
from tornado import gen
from dockerspawner import DockerSpawner, SystemUserSpawner
# urllib3 complains that we're making unverified HTTPS connections to swarm,
# but this is ok because we're connecting to swarm via 127.0.0.1. I don't
# actually want swarm listening on a public port, so I don't want to connect
# to swarm via the host's FQDN, which means we can't do fully verified HTTPS
# connections. To prevent the warning from appearing over and over and over
# again, I'm just disabling it for now.
import requests