Skip to content

Instantly share code, notes, and snippets.

View Hiyorimi's full-sized avatar
💎
The Open Network

Kir Malev Hiyorimi

💎
The Open Network
View GitHub Profile
@Hiyorimi
Hiyorimi / time_adjuster.py
Created December 28, 2018 23:32
script to adjust access and modification time based on the filename
import os
import glob
import re
import datetime as dt
from stat import *
if __name__ == '__main__':
regexp = re.compile("(\d{4}\d{2}\d{2}_\d{2}\d{2}\d{2})")
for file in glob.iglob("*.jpg"):
@Hiyorimi
Hiyorimi / ttk_coordinates.csv
Created October 9, 2018 17:44
GPS-координаты ТТК в Москве
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
55.7738686;37.5488226
55.7704772;37.5424625
55.7704772;37.5424625
55.7679391;37.5386223
55.7679391;37.5386223
55.7612438;37.5351513
55.7612438;37.5351513
55.7609823;37.5350457
55.7609823;37.5350457
55.7598777;37.5343711
stty -ixon -ixoff
export PATH=/usr/local/bin:$PATH
export PS1="\h:\t ~> \W $ "
#from http://stackoverflow.com/questions/31864585/cant-get-theano-to-link-against-cudnn-on-osx
CUDA_ROOT=/usr/local/cuda
export PATH=$CUDA_ROOT/bin:$PATH
export PATH=/Developer/NVIDIA/CUDA-7.5/bin:$PATH
export DYLD_LIBRARY_PATH=$CUDA_ROOT/lib:$DYLD_LIBRARY_PATH:/usr/local/cuda/lib/
export DYLD_LIBRARY_PATH=/Developer/NVIDIA/CUDA-7.5/lib:$DYLD_LIBRARY_PATH
@Hiyorimi
Hiyorimi / keybase.md
Created September 17, 2016 08:52
Keybase verification

Keybase proof

I hereby claim:

  • I am Hiyorimi on github.
  • I am malev (https://keybase.io/malev) on keybase.
  • I have a public key whose fingerprint is ADFA 8AA3 A2D3 5330 F400 CAAE DB4E 01C4 B7A8 0F83

To claim this, I am signing this object: