Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
# Written by Brendan O'Connor, [email protected], www.anyall.org | |
# * Originally written Aug. 2005 | |
# * Posted to gist.github.com/16173 on Oct. 2008 | |
# Copyright (c) 2003-2006 Open Source Applications Foundation | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
#!/usr/bin/env python | |
""" | |
Some Hessian codes | |
""" | |
import numpy as np | |
from scipy.optimize import approx_fprime | |
def hessian ( x0, epsilon=1.e-5, linear_approx=False, *args ): | |
""" |
To generate a nicely-formatted GitHub issue (even for GitHub Enterprise accounts) from a Google Form submission, you can use Google's script editor along with a GitHub personal access token that connects to the API. This is particularly useful when you need to triage bugs or feature requests directly to developers, but those who are submitting issues do not have access to your GitHub Enterprise instance.
Once this is up and running, on the development end, you can do some cool things within the body of each issue, like automatically closing GitHub issues via your commit messages and CCing your dev group or individual team members for each issue.
Here's how to set it up.
valgrind --tool=memcheck --leak-check=full --show-leak-kinds=all --track-origins=yes --trace-children=yes --num-callers=8 --show-reachable=yes --suppressions=$ROOTSYS/etc/valgrind-root.supp --suppressions=valgrind-python.supp python MultibjetsAnalysis/scripts/MBJ_run.py --files "mc15_13TeV:mc15_13TeV.363372.Sherpa_NNPDF30NNLO_Zmumu_Pt140_280_BFilter.merge.DAOD_SUSY10.e4716_s2726_r7725_r7676_p2666" --inputSource grid --dataSource 1 --doTruth 0 --doWZReweighting 1 --doSyst 1 --doNTUPSyst 0 --baselineSelectionBT 3 --baselineSelectionHF 3 --doMuonCorrection 1 --doEWKvar 1 --doVRHiggs 1 --pTLepCount 20.0 --config MultibjetsAnalysis/SUSYTools_EW.conf --driver direct --nevents 10000 > valgrind10000.log 2>&1 & |
I've installed aeneas and I want to split text. Here's what I did. Taking the raw transcript from my captioner, I convert to plain text (on Mac OSX using textutil
):
textutil 2021-01-28\ Machine\ Learning.rtf -convert txt
This gives me 2021-01-28\ Machine\ Learning.txt
which I then process with split.py
above (requires nltk):