The following debugging information was generated by Atom Beautify
on Sun Jun 18 2017 16:06:55 GMT+0200 (CEST)
.
In GitHub you can use HTML anchors to add relative links to the document allowing a user to quickly visit a reference and then return to the location in document of the reference citation. This behavior does not seem to be supported by GitLab Flavored Markdown (GFM). Why is this the case, and can this be fixed?
### Document Text
Here is some a reference to the GitLab Flavored Markdown (GFM) section on links <a id="srcGFM">[\[1\]](#refGFM)</a>
Lorem ipsum enough times to have the link go off screen
This file contains hidden or 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
import numpy as np | |
import tensorflow as tf | |
import edward as ed | |
# specific modules | |
from edward.models import Normal | |
def sample_model(model, n_samples): | |
with tf.Session() as sess: | |
sess.run(tf.global_variables_initializer()) | |
samples = sess.run(model.sample([n_samples])) |
This file contains hidden or 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
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] | |
[email protected] |
This file contains hidden or 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 python | |
""" | |
Problem Statement: Sample from the Uniform distribution over the range [0,1] | |
until the sum of the numbers sampled is greater than 1. On average, how | |
many samples are taken? | |
Answer: e | |
Problem Source: https://twitter.com/fermatslibrary/status/924263998589145090 | |
Author: Matthew Feickert | |
Date: 2016-10-28 | |
""" |
This file contains hidden or 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
import json | |
import argparse | |
import numpy as np | |
import matplotlib | |
import matplotlib.pyplot as plt | |
matplotlib.rcParams['text.usetex'] = True | |
# Inspiration came from https://stackoverflow.com/q/3609852/8931942 |
This file contains hidden or 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
$ ssh [email protected] -CX | |
$ source ~recast/public/setup.sh | |
(venv) [feickert@lxplus074 ~]$ recast catalogue ls | |
NAME DESCRIPTION | |
examples/rome Example from ATLAS Exotics Rome Workshop 2018 | |
(venv) [feickert@lxplus074 ~]$ recast run examples/rome | |
2018-07-23 13:54:22,089 | pack.eventselection. | INFO | starting file loging for topic: step |
This file contains hidden or 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
FROM ubuntu:bionic | |
USER root | |
WORKDIR /root | |
SHELL [ "/bin/bash", "-c" ] | |
ARG PYTHON_VERSION_TAG=3.6.8 | |
ARG LINK_PYTHON_TO_PYTHON3=0 |
If _venv-activate.sh
is installed at /opt/_venv-activate/_venv-activate.sh
then if the following is added to a user's ~/.bashrc
# Enable tab completion of Python virtual environments
if [ -f /opt/_venv-activate/_venv-activate.sh ]; then
. /opt/_venv-activate/_venv-activate.sh
fi
This file contains hidden or 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
import matplotlib.pyplot as plt | |
import numpy as np | |
import pyhf | |
def generate_background(n_events, tau=50.0): | |
""" | |
Sample events from an exponential distribution | |
Args: |
OlderNewer