Skip to content

Instantly share code, notes, and snippets.

View lsilvs's full-sized avatar

Lucas S. lsilvs

View GitHub Profile
/*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed

Keybase proof

I hereby claim:

  • I am lsilvs on github.
  • I am lsilvs (https://keybase.io/lsilvs) on keybase.
  • I have a public key whose fingerprint is 6259 1FE6 75DC B362 B098 57F5 875F 3E31 E57F DDED

To claim this, I am signing this object:

var tileset = viewer.scene.primitives.add(new Cesium.Cesium3DTileset({
url: 'http://c.data.osmbuildings.org/0.2/anonymous/tile/'
})
@lsilvs
lsilvs / post-checkout
Last active May 3, 2017 14:15
Git hook to keep track of opened files for each branch
#!/bin/sh
#
# This Git Hook uses OpenedFilesList Sublime plugin to
# keep track of your files used on each branch and
# open them automatically for you
#
# To enable this hook, save it to ".git/hooks/"
# and run "chmod ug+x .git/hooks/post-checkout".
if [ $3 == 1 ]; then
Verifying that "lsilvs.id" is my Blockstack ID. https://onename.com/lsilvs
@lsilvs
lsilvs / delegates.js
Created November 6, 2018 14:23
Get the list of all registered Lisk Delegates
const async = require('async');
const _ = require('lodash');
const client = require('lisk-elements');
const limit = 100;
let offset = 0;
let delegatesList = [];
async.doUntil(
(next) => {