Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Roman Timashev tmshv

I may be slow to respond.
View GitHub Profile
View keyspub.txt
rUZRGOrombFV6R2 EOab07kqYqlYrn1 h9XitqF8Zh4n8RW jFq52IIMHFb00re
NiCD4DDAdcp1xyV l5tyoY0PjmvTCKq 6Xr2MZHgg6hEIhb 9tUPzsdC4uezhim
od00DAYi6QC2FFK MYyEhQC7Foa1r64 98egGqjEfx5xt5U 9203LgDBy4xNFEc
qvzKDZ5UfumnDYc 5uGck7ygIPQxcJQ wR8Kz.
View gist:ddeb8b3cf728cd717e184e42f5ceffc2
Verifying my Blockstack ID is secured with the address 1BbH666tAPCPTULP8mv8wj64yeF4dGyREr

Keybase proof

I hereby claim:

  • I am tmshv on github.
  • I am tmshv ( on keybase.
  • I have a public key whose fingerprint is 343B C210 F402 990D C5FD 3FA9 F334 74B9 F79F 15F7

To claim this, I am signing this object:

tmshv / rect.pde
Created May 10, 2016
Rect in Processing
View rect.pde
class Rectangle {
PVector lt;
float width;
float height;
Rectangle(PVector lt, float width, float height){ = lt;
this.width = width;
this.height = height;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import org.junit.Before;
import org.junit.Test;
import java.util.Arrays;
public class Testtriangle {
Rtriangle triangle;
tmshv / letsencrypt-renew
Last active Jan 4, 2016 — forked from thisismitch/le-renew-webroot
Let's Encrypt Auto-Renewal using the Webroot Plugin (Nginx)
View letsencrypt-renew
if [ "$1" == "" ]; then
echo "[ERROR] you should specify config path as parameter"
exit 1;
View sketch_151208a_sound_toggle.pde
import processing.sound.*;
class Sound {
SoundFile file;
boolean playing;
Sound(PApplet app, String path){
file = new SoundFile(app, path);
playing = true;
tmshv /
Last active Dec 8, 2015
Grasshopper Last State
# x is input value with list type
import rhinoscriptsyntax as rs
import scriptcontext as sc
import Rhino
sc.doc = Rhino.RhinoDoc.ActiveDoc
lastValue = rs.GetDocumentData('hello', 'lastState')
currentValue = ','.join(map(str, x))
View sketch_151205a_loopvideo_with_facts.pde
import processing.serial.*;
Serial port;
String portName;
Movie actionMovie;
Movie defaultMovie;
Movie movie;
tmshv /
Last active Dec 8, 2015
Stem usage example
import socks
import socket
from stem import Signal
from stem.control import Controller
control_port = 9051
proxy_port = 9050
proxy_host = 'localhost'
tor = Controller.from_port(port=control_port)