I hereby claim:
- I am iiSeymour on github.
- I am iiseymour (https://keybase.io/iiseymour) on keybase.
- I have a public key whose fingerprint is 3589 AD45 A74E 7520 AD32 55FE ADB7 73F1 3207 A97E
To claim this, I am signing this object:
;;; package --- Summary | |
;;; Small minor mode to control spotify from emacs. | |
;;; Commentary: | |
;;; Forked from mattdeboard, modified by iiSeymour. | |
;;; Save as ~/.emacs.d/spotify.el and throw a (require 'spotify) in your ~/.emacs | |
;;; Key Bindings: | |
;;; F9 - spotify-playpause() | |
;;; F8 - spotfiy-next() |
filter { | |
grok { | |
type => "trac" | |
match => [ "message", "%{DATE-US} %{TIME},%{INT} Trac.%{WORD}. %{WORD:level}: %{GREEDYDATA:text}" ] | |
} | |
multiline { | |
type => "trac" | |
pattern => "%{DATE-US} %{TIME},%{INT} Trac.%{WORD}. ERROR: %{GREEDYDATA:text}" |
{ | |
"metadata": { | |
"name": "" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import json | |
import requests | |
__URL__ = "http://push.geckoboard.com/v1/send/" | |
def push(chart, widgit_id, api_key): |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
# | |
# Short Python example of why `ls | wc -l` works by @iiSeymour | |
# | |
# try: | |
# python isatty.py | |
# and: | |
# python isatty.py | cat | |
# | |
# Explanation http://www.ginac.de/~kreckel/fileno/ |
import torch | |
import torch.onnx.symbolic | |
def sym_patch(func, op1, op2): | |
def replace(g, node, dim_or_y=None, keepdim=None): | |
ops = func(g, node, dim_or_y, keepdim) | |
if type(ops) == tuple: | |
if ops[0].node().kind() == "onnx::ATen": | |
dim = torch.onnx.symbolic._get_const(dim_or_y, 'i', 'dim') |
#!/usr/bin/env python | |
import os | |
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' | |
import sys | |
import torch | |
import numpy as np | |
import tensorflow as tf | |
from time import perf_counter |
import torch | |
import time | |
torch.backends.cudnn.benchmark = True | |
BATCH_SIZE = 64 | |
LAYER_SIZE = 384 | |
TIME_SERIES_LEN = 1600 | |
NUM_LAYERS = 5 | |
WARMUP_ROUNDS = 5 | |
BENCHMARK_ROUNDS = 10 |