Skip to content

Instantly share code, notes, and snippets.

View guillaumevincent's full-sized avatar

Guillaume Vincent guillaumevincent

View GitHub Profile
@guillaumevincent
guillaumevincent / README.md
Last active August 7, 2025 05:30
Windows Service with Python 3.5 and pyinstaller
@guillaumevincent
guillaumevincent / installation.md
Last active October 28, 2023 12:05
A simple guide to install PyQt5 on Mac OS X 10.9 (Maverick) and use python 3.4 on a virtualenv.

Guide to install PyQt5 on Mac OS X with python 3.4 virtualenv

Description

A simple guide to install PyQt5 on Mac OS X 10.9 (Maverick) and use python 3.4 on a virtualenv.

Requirements

  • xcode 5.1.1
  • python 3.4.0
  • Qt libraries 5.2.1
@guillaumevincent
guillaumevincent / test_xmldiff.py
Last active April 26, 2023 18:58
compare two XML in python
import json
import unittest
import xmltodict
class XmlDiff(object):
def __init__(self, xml1, xml2):
self.dict1 = json.loads(json.dumps((xmltodict.parse(xml1))))
self.dict2 = json.loads(json.dumps((xmltodict.parse(xml2))))
@guillaumevincent
guillaumevincent / output.txt
Created January 15, 2017 11:12
zmq lost message PUSH/PULL
$ python push.py
message n°0
message n°1
message n°2
message n°3
message n°4
message n°5
message n°6
message n°7
message n°8
@guillaumevincent
guillaumevincent / portefeuille.test.ts
Last active December 23, 2020 16:39
ES Typescript Kata
interface IEvenement {}
class Depot implements IEvenement {
valeur: number;
constructor(valeur: number) {
this.valeur = valeur;
}
}
@guillaumevincent
guillaumevincent / login.html
Last active December 1, 2020 01:26
Basic authentication on Tornado with a decorator
<div id="main-container">
<div id="main">
<h1>
<img alt="scubabook logo" src="{{ static_url("img/logo.png") }}">
</h1>
<div id="login-form">
<form action="/auth/login/" method="post" id="login_form">
<fieldset>
<label for="username">Username</label>
<input autocapitalize="off" autocorrect="off" class="text-input" id="username" name="username" tabindex="1" type="text" value="">
words = "gruyère apporter rituel mallette anguleux intime irréel ralentir posture orque grand fatal donner négation carotte replier nocif opprimer tenir accolade éprouver sonde tambour cylindre"
import binascii
from mnemonic import mnemonic
from bip32 import BIP32
import base58
import hashlib
mnemo = mnemonic.Mnemonic("french")
@guillaumevincent
guillaumevincent / installation.md
Last active August 9, 2018 16:08
react-native-navigation v2 react-native 0.56 android installation

Installing

Requirements

  • node >= 8
  • react-native >= 0.56

npm

  • npm install --save react-native-navigation@alpha

Android

@guillaumevincent
guillaumevincent / index.html
Created June 14, 2017 16:34
test async copy
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Test</title>
</head>
<body>
<table width="400" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="119" height="82">
<img alt="logo" src="http://okiwi.org/img/okiwi.png" width="92"
height="74" style="margin: 0; border: 0; padding: 0; display: block;">
</td>
<td width="3" bgcolor="#8B6849">
</td>
<td width="310" height="82"
style="padding-left:10px; font-family: sans-serif; color: #8B6849; font-size: 13px;">