Skip to content

Instantly share code, notes, and snippets.

Thibault Lenclos tlenclos

Block or report user

Report or block tlenclos

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tlenclos
tlenclos / mediapart.lighthouse.report.json
Last active Jan 18, 2018
Mediapart panoramique audit
View mediapart.lighthouse.report.json
This file has been truncated, but you can view the full file.
View keybase.md

Keybase proof

I hereby claim:

  • I am tlenclos on github.
  • I am thibz (https://keybase.io/thibz) on keybase.
  • I have a public key whose fingerprint is B69A BC85 B63D E21F E86D 9FC1 524A 4407 5362 AF09

To claim this, I am signing this object:

View Queue.js
class Element {
constructor(cargo, next) {
this.cargo = cargo;
this.next = next;
}
}
// FIFO
class Queue {
constructor(cargo, next) {
@tlenclos
tlenclos / 0_reuse_code.js
Created Mar 20, 2014
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View If test
if (attributions > 0) {
$.attributionsPicker.add(attributions);
}
// OR
attributions > 0 && $.attributionsPicker.add(attributions);
View gist:5567944
exports.extendCollection = {
deleteAll : function() {
var collection = this;
db = Ti.Database.open(collection.config.adapter.db_name);
db.execute(squel.delete().from(collection.config.adapter.collection_name));
db.close();
collection.trigger('sync');
},
@tlenclos
tlenclos / Laravel\Database\Connectors
Created May 11, 2012
Laravel\Database\Connectors::options(), cannot override the default connection options
View Laravel\Database\Connectors
<?php namespace Laravel\Database\Connectors; use PDO;
abstract class Connector {
/**
* The PDO connection options.
*
* @var array
*/
protected $options = array(
You can’t perform that action at this time.