Skip to content

Instantly share code, notes, and snippets.

Avatar

Guillaume Vincent guillaumevincent

View GitHub Profile
View btc.py
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 Aug 9, 2018
react-native-navigation v2 react-native 0.56 android installation
View installation.md

Installing

Requirements

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

npm

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

Android

View index.html
<!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>
@guillaumevincent
guillaumevincent / output.txt
Created Jan 15, 2017
zmq lost message PUSH/PULL
View output.txt
$ 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 / README.md
Last active Jul 23, 2020
Windows Service with Python 3.5 and pyinstaller
View README.md
View signature email okiwi
<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;">
View license
The MIT License (MIT)
Copyright (c) Guillaume Vincent <guillaume@oslab.fr> (guillaumevincent.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
View signature_email_akema.html
<table width="400" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="87" height="82">
<img alt="birdLogo" src="http://akema.fr/images/akema_logo_signatures.jpg" width="130"
height="45" style="margin: 0; border: 0; padding: 0; display: block;">
</td>
<td width="3" bgcolor="#7234C7">
</td>
<td width="310" height="82"
style="padding-left:10px; font-family: sans-serif; color: #747b82; font-size: 12px;">
@guillaumevincent
guillaumevincent / index.js
Last active Dec 30, 2015
requirebin sketch
View index.js
var crypto = require('crypto');
var loading = document.createElement('p');
var iterations = 10;
crypto.pbkdf2('password', 'salt', iterations, 32, 'sha256', function (error, key) {
if (error) {
console.log(error);
}
loading.innerHTML = 'key:' + key.toString('hex');
document.body.appendChild(loading);
});
@guillaumevincent
guillaumevincent / Gulpfile.js
Created Dec 2, 2015 — forked from oncletom/Gulpfile.js
gulp -> npm scripts only
View Gulpfile.js
'use strict';
var pkg = require('./package.json');
var gulp = require('gulp');
var utils = require('gulp-util');
var source = require('vinyl-source-stream');
var isWatching = false;
var isProduction = process.env.NODE_ENV === 'production';
You can’t perform that action at this time.