I hereby claim:
- I am jdriordan on github.
- I am jdriordan (https://keybase.io/jdriordan) on keybase.
- I have a public key whose fingerprint is B5C6 7711 69EF 08C9 497B 7F3D FA23 CF38 DBC8 E962
To claim this, I am signing this object:
| 01000110100000000110010000000001111000011111100101111000011100101111000000111100001100111011100111110000111110000111100110011101001100101110000110110010001111100001110011011110111110010111101110110 |
| (import torch) | |
| (import torch [nn]) | |
| (import torch.optim [SGD]) | |
| (import torch.utils.data [DataLoader]) | |
| (import torchvision [datasets transforms]) | |
| (import pytorch_lightning :as pl) | |
| ;; Define CNN module | |
| (defclass CNNModule [pl.LightningModule] | |
| (defn __init__ [self] |
| pine64-pinephone:~$ sudo nft add rule inet filter input iifname "wwan" ip saddr 100.0.0.0/8 accep | |
| t comment "tailscale" |
I hereby claim:
To claim this, I am signing this object:
| #! /usr/bin/env python3 | |
| import spacy | |
| from sys import argv | |
| if len(argv) !=3: | |
| quit(1) | |
| # You have to download this stuff first |
| '<,'>s/\#\(\d\+\)/\="#".(submatch(1)+1)/g |
| ! urxvt | |
| URxvt*geometry: 53x20 | |
| URxvt*font: xft:Terminus:pixelsize=5 | |
| URxvt*depth: 32 | |
| URxvt*background: [85]#000000 | |
| URxvt*foreground: [100]#ffffff | |
| URxvt*borderless: 1 | |
| URxvt*scrollBar: false | |
| URxvt*saveLines: 5000 |
| #! /usr/bin/gforth | |
| : sq dup * ; | |
| : is_sqrt? over sq - >= ; | |
| : sqrt 1 begin 1+ 2dup swap is_sqrt? until ; | |
| wget -c http://ufpr.dl.sourceforge.net/project/pysclint/pyhdf/0.8.3/pyhdf-0.8.3.tar.gz | |
| tar zxvf pyhdf-0.8.3.tar.gz | |
| cd pyhdf-0.8.3 | |
| sudo apt-get install libhdf4-dev | |
| sudo apt-get install python2.7-dev | |
| cd pyhdf | |
| sudo apt-get install swig | |
| swig -python hdfext.i | |
| cd .. | |
| export INCLUDE_DIRS=/usr/include/hdf |
| import pint | |
| units = pint.UnitRegistry() | |
| def make_constant(name): | |
| '''Make a dimensional quanitity from a CODATA value using pint and scipy''' | |
| from warnings import warn | |
| from scipy.constants import physical_constants | |
| if not (name in physical_constants): |