View numpy_blas_time.py
# http://sharapov.com/2016/02/08/building-numpy-with-mkl/
import time
import numpy as np
A = np.random.rand(2000,2000)
B = np.random.rand(2000,2000)
print('Matrix multiplication')
time1 = time.time()
View zoom.scpt
#!/usr/bin/osascript
tell application "Microsoft Word"
activate
set percentage of zoom of view of active window to 100
end tell
View README.md

Do the whole thing:

PYTHONPATH='.' luigi --module small Small --local-scheduler
View industries.py
industries = ["1PM PLC", "Financials", "1SPATIAL PLC", "Industrials", "21ST CENTURY TECHNOLOGY PLC",
"Industrials", "3I GROUP PLC", "Financials", "3I INFRASTRUCTURE PLC", "Financials",
"4D PHARMA PLC", "Health Care", "4IMPRINT GROUP PLC", "Consumer Services", "600 GROUP PLC",
"Industrials", "7DIGITAL GROUP PLC", "Consumer Services", "888 HOLDINGS PLC",
"Consumer Services", "88 ENERGY LIMITED", "Oil & Gas", "AA PLC", "Industrials", "ABBEY PLC",
"Consumer Goods", "ABCAM PLC", "Health Care"]
View pidrange.sh
#!/bin/bash
# https://apple.stackexchange.com/a/260798/2644
pid=0
for i in {1..100000}; do
: &
if [ $! -lt $pid ]; then
echo "Min pid: $!"
echo "Max pid: $pid"
break
View .gitignore
.ipynb_checkpoints/
.vscode/
View plot_file_sizes.py
#!/usr/bin/env python
from sys import stdin, stdout
import csv
rdr = csv.reader(stdin, delimiter='\t')
wrt = csv.writer(stdout, delimiter='\t')
vals = []
rows = []
for row in rdr:
View keybase.md

Keybase proof

I hereby claim:

  • I am miku on github.
  • I am tir (https://keybase.io/tir) on keybase.
  • I have a public key whose fingerprint is C04A 5128 060D BC60 5C79 681B 8530 36B7 CFB6 414A

To claim this, I am signing this object:

View gist:4913230b8c52d4f7ccce1d0184ae1879
// TODO: #8575, for sid 127, use finer access facet (e.g. "Software" should be "Local Holdings")
// Why isn't result of getFormat ("FormatOrig") passed directly to "access_map.properties"?
// Use switch here?
switch (source_id) {
case "0":
return getFormat(record);
case "3":
result.add("LocalAccess");
break;