Skip to content

Instantly share code, notes, and snippets.

View Esya's full-sized avatar

Tristan F. Esya

  • WeMaintain
  • Paris
View GitHub Profile

Keybase proof

I hereby claim:

  • I am esya on github.
  • I am esya (https://keybase.io/esya) on keybase.
  • I have a public key ASBODd3shQJtdKl9zBRTXUOnjDwJh23zaoIAzRMZHaPx5wo

To claim this, I am signing this object:

import { eddsa } from 'elliptic';
import { sha512 } from 'js-sha512';
import { sha256 } from 'js-sha256';
import * as BN from 'bn.js';
export interface Ed25519Node {
kL: Uint8Array;
kR: Uint8Array;
A: Buffer;
c: Uint8Array;
@Esya
Esya / Results
Created March 6, 2021 19:23
Oasis current paratime stake repartition amongst validator nodes
oasis1qr0jwz65c29l044a204e3cllvumdg8cmsgt2k3ql;224,328,842.71
oasis1qz72lvk2jchk0fjrz7u2swpazj3t5p0edsdv7sf8;178,828,121.92
oasis1qz0ea28d8p4xk8xztems60wq22f9pm2yyyd82tmt;175,286,242.72
oasis1qz22xm9vyg0uqxncc667m4j4p5mrsj455c743lfn;129,129,137.91
oasis1qrs8zlh0mj37ug0jzlcykz808ylw93xwkvknm7yc;100,118,725.30
oasis1qzl99wft8jtt7ppprk7ce7s079z3r3t77s6pf3dd;93,148,692.67
oasis1qp4rp7adhegfktyg4aq3w6jelqumx6klfv5t7kvv;60,637,943.55
oasis1qrdx0n7lgheek24t24vejdks9uqmfldtmgdv7jzz;58,209,045.22
oasis1qq0xmq7r0z9sdv02t5j9zs7en3n6574gtg8v9fyt;56,712,998.39
oasis1qz65awwegd9pr8msfxkg7hpwyjemm2qdlysyc8jq;54,049,504.30
@Esya
Esya / BUILD
Created September 24, 2020 16:16
load("//tools:service.bzl", "service")
service(
# Actual package name
package_name = "@wemaintain/microservice-devices-state",
additional_files = glob(["src/i18n/credentials.json"]),
has_grpc = True,
@Esya
Esya / .vimrc
Created May 23, 2017 15:33
vimrc
set nocompatible " be iMproved, required
filetype off " required
" Plugins
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" Let Vundle manage Vundle
Bundle 'gmarik/vundle'
<Response>
<Speak loop="3">Hello Chida, Welcome to Plivo</Speak>
<Play>https://s3.amazonaws.com/plivocloud/Trumpet.mp3</Play>
</Response>
@Esya
Esya / designer.html
Created June 27, 2014 09:06
designer
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@Esya
Esya / designer.html
Created June 27, 2014 09:06
designer
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@Esya
Esya / partition.md
Last active September 22, 2018 06:34
Partition/Dual Boot a recent Mac (2012/2013) having FusionDrive/CoreStorage Logical Volume groups

#Partitioning / Setting up Dualboot on a Mac (2012+) having a FusionDrive

It was hard for me to find some info about this, since the CoreStorage commands are not documented in man diskutil, so I thought I'd share all this.

This is how I split my main volume in order to have a Windows Dual Boot. First of all, list your CoreStorage logical volumes using

diskutil cs list
@Esya
Esya / gist:5953544
Created July 9, 2013 00:03
Recursive client disconnection for socket.io tests.
//Instead of having..
client.disconnect();
client2.disconnect();
client3.disconnect();
done();
//Top of file
function recursiveDisconnect(Clients, callback) {
Client = Clients.pop();
Client.on('disconnect',function() {