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
\MeleeWeaponCard{ | |
name={Katana}, | |
parry=0, | |
damage=1d+2/1d+4, | |
reach={\scalebox{0.9}[1.0]{1,2(cut only)}}, | |
st=8, | |
lc=1, | |
points=11, | |
notes=, | |
weaponpic={\includegraphics[width=1.9cm]{images/katanasword.pdf}} |
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
Pulling indico-redis (redis:latest)... | |
Trying to pull repository docker.io/library/redis ... | |
sha256:0e773022cd6572a5153e5013afced0f7191652d3cdf9b1c6785eb13f6b2974b1: Pulling from docker.io/library/redis | |
Digest: sha256:0e773022cd6572a5153e5013afced0f7191652d3cdf9b1c6785eb13f6b2974b1 | |
Status: Downloaded newer image for docker.io/redis:latest | |
Building indico-celery | |
Step 1/22 : FROM python:2.7 | |
Trying to pull repository docker.io/library/python ... | |
sha256:8cb593cb9cd1834429f0b4953a25617a8457e2c79b3e111c0f70bffd21acc467: Pulling from docker.io/library/python | |
Digest: sha256:8cb593cb9cd1834429f0b4953a25617a8457e2c79b3e111c0f70bffd21acc467 |
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 random | |
from functools import lru_cache | |
from urllib.request import urlopen | |
from skybeard.beards import BeardChatHandler | |
from skybeard.decorators import onerror | |
class JitsiStache(BeardChatHandler): |
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
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by python configure 3.6, which was | |
generated by GNU Autoconf 2.69. Invocation command line was | |
$ ./configure --prefix=/home/nasf/.pyenv/versions/3.6.0 --libdir=/home/nasf/.pyenv/versions/3.6.0/lib --enable-unicode=ucs4 | |
## --------- ## | |
## Platform. ## |
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
0 info it worked if it ends with ok | |
1 verbose cli [ '/home/vagrant/.nvm/versions/node/v4.3.1/bin/node', | |
1 verbose cli '/home/vagrant/.nvm/versions/node/v4.3.1/bin/npm', | |
1 verbose cli 'install' ] | |
2 info using [email protected] | |
3 info using [email protected] | |
4 silly loadCurrentTree Starting | |
5 silly install loadCurrentTree | |
6 silly install readLocalPackageData | |
7 silly install normalizeTree |
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
// Compile with ROOT 6 ACliC with | |
// .L addEtaToTree.cxx+ | |
#include <iostream> | |
#include <map> | |
#include <vector> | |
#include <assert.h> | |
#include <TFile.h> | |
#include <TTree.h> | |
#include <TBranch.h> |
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 <iostream> | |
#import <TPython.h> | |
#import <TString.h> | |
#import <vector> | |
#import <string> | |
Int_t pickle_std_string_vector(std::vector<std::string> string_vec = { "foo", "bar"}, std::string pickle_filename = "tmp.p") { | |
TPython p = TPython(); | |
p.Exec("import pickle"); | |
p.Exec("list_to_pickle = []"); |
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
# To the extent possible, this code is licensed under CC-0 | |
# https://creativecommons.org/publicdomain/zero/1.0/ | |
from moviepy.editor import VideoFileClip | |
import requests | |
import os | |
from vimeo import VimeoClient | |
ACCESS_TOKEN = # REPLACE WITH REAL ACCESS TOKEN | |
CLIENT_ID = # REPLACE WITH REAL CLIENT ID | |
CLIENT_SECRET = # REPLACE WITH CLIENT SECRET |
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
(defun insert-half () | |
"Insert '\sfrac{1}{2} '" | |
(interactive) | |
(insert "\\sfrac{1}{2} ")) | |
(defun insert-third () | |
"Insert '\sfrac{1}{3} '" | |
(interactive) | |
(insert "\\sfrac{1}{3} ")) | |
(defun insert-quarter () | |
"Insert '\sfrac{1}{4} '" |
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
;; Function for cleaning org mode agenda | |
(defun clean-org-mode-agenda (tmp-org-agenda) | |
"Clean up all the org mode files that no longer have TODO items in" | |
(while tmp-org-agenda | |
(set-buffer (find-file-noselect (car tmp-org-agenda))) | |
(goto-char (point-min)) | |
(if (re-search-forward "^\*+ TODO" nil t 1) | |
() | |
(org-remove-file (car tmp-org-agenda)) | |
) |