Skip to content

Instantly share code, notes, and snippets.

Avatar
🏂
Let it snow

Jimi M ItsJimi

🏂
Let it snow
View GitHub Profile
@ItsJimi
ItsJimi / match.go
Created Nov 28, 2017
Regex match equ
View match.go
re1, _ := regexp.Compile(`(\-?[0-9]+|\-?[0-9]+\.[0-9]+)\*X\^[0-2]`)
result := re1.FindAllStringSubmatch(equ[0], -1)
@ItsJimi
ItsJimi / cpp.json
Last active Oct 9, 2017
C++ vscode snippets
View cpp.json
{
"class": {
"prefix": "class",
"body": [
"#ifndef $1",
"# define $1",
"",
"#include <iostream>",
"",
"class $2 {",
View capteur.py
import threading
def getValue(directions, time):
e = threading.Event()
while not e.wait(time):
values = []
i = 0
while i < len(directions):
# Faut bouger le bras a la place de ce texte
You can’t perform that action at this time.