This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
re1, _ := regexp.Compile(`(\-?[0-9]+|\-?[0-9]+\.[0-9]+)\*X\^[0-2]`) | |
result := re1.FindAllStringSubmatch(equ[0], -1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"class": { | |
"prefix": "class", | |
"body": [ | |
"#ifndef $1", | |
"# define $1", | |
"", | |
"#include <iostream>", | |
"", | |
"class $2 {", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |