Skip to content

Instantly share code, notes, and snippets.

Avatar
🏳️‍🌈
nyan nyan nyan

Julien BIANCHI jubianchi

🏳️‍🌈
nyan nyan nyan
View GitHub Profile
View prof.json
{"version":0,"functions":[{"id":0,"label":"main()","ct":1,"wt":51077,"wte":11654,"cpu":47371,"mu":0,"pmu":0,"wtip":1,"wtep":0.228165319028134,"cpup":1},{"id":1,"label":"Fhaculty\\Graph\\Edge\\Directed::getVertexEnd","ct":101,"wt":52,"wte":52,"cpu":59,"mu":0,"pmu":0,"wtip":0.0010180707559175363,"wtep":0.0010180707559175363,"cpup":0.0012454877456671803},{"id":2,"label":"Fhaculty\\Graph\\Set\\Edges::factoryArrayReference","ct":1,"wt":11,"wte":9,"cpu":12,"mu":0,"pmu":0,"wtip":0.00021536112144409422,"wtep":0.00017620455390880436,"cpup":0.0002533195414916299},{"id":3,"label":"Fhaculty\\Graph\\Set\\Edges::__construct","ct":446,"wt":274,"wte":274,"cpu":278,"mu":0,"pmu":0,"wtip":0.0053644497523347105,"wtep":0.0053644497523347105,"cpup":0.005868569377889426},{"id":4,"label":"spl_autoload_call@2","ct":2,"wt":833,"wte":13,"cpu":451,"mu":0,"pmu":0,"wtip":0.016308710378448225,"wtep":0.00025451768897938407,"cpup":0.00952059276772709},{"id":5,"label":"Composer\\Autoload\\ClassLoader::loadClass@2","ct":2,"wt":820,"wte":17,"cp
View keybase.md

Keybase proof

I hereby claim:

  • I am jubianchi on github.
  • I am jubianchi (https://keybase.io/jubianchi) on keybase.
  • I have a public key whose fingerprint is D019 7088 A0C2 F85A 5E00 F5DD 5D9C 896D 2AA9 E390

To claim this, I am signing this object:

@jubianchi
jubianchi / install-local.sh
Last active Apr 22, 2016
Preview your website with Gitlab CI and Surge
View install-local.sh
npm install --save-dev surge
View index.js
import koa from "koa";
import route from "koa-route";
import crypto from "crypto";
import { createRuntime, call, fork } from './runtime';
import { runtimeMiddleware, put, take, reduxControls } from './runtime-redux';
import { createStore, applyMiddleware } from 'redux'
import Router from "./router";
const reducer = (state = {}, action) => state;
const createStoreWithRuntime = applyMiddleware(runtimeMiddleware)(createStore);
View 00-versions.md

PHP

php -n ...

php56 (php -nv)

PHP 5.6.16 (cli) (built: Nov 27 2015 10:28:34) 
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
View parser.js
var AtoumParser, Emitter, Test, fs,
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
hasProp = {}.hasOwnProperty;
fs = require('fs');
Emitter = require('atom').Emitter;
Test = (function() {
function Test() {}
View gist:0688a8400ccb0823da66
Verifying that +jubianchi is my blockchain ID. https://onename.com/jubianchi
View 00-build.sh
#!/bin/bash
export TRAVIS_TOKEN=travisCIIsMagic
export SHOU_BUILD_BODY="{ \
\"request\": { \
\"branch\": \"master\", \
\"config\": { \
\"env\": { \
\"global\": { \
\"foo\": \"bar\" \
View prophecy.php
<?php
require_once __DIR__ . '/vendor/autoload.php';
$className = uniqid();
$prophet = new \Prophecy\Prophet();
$prophetProphecy = $prophet->prophesize('Prophecy\Prophet');
$objectProphecy = $prophet->prophesize('Prophecy\Prophecy\ObjectProphecy');