Skip to content

Instantly share code, notes, and snippets.

View Lenninlasd's full-sized avatar

Lennin Suescun Lenninlasd

  • Barranquilla, Colombia.
View GitHub Profile
/*
==========================================
Prototypal syntax vs Class syntax
==========================================
*/
function Poligono(alto, ancho) {
this.alto = alto;
this.ancho = ancho;
}
@Lenninlasd
Lenninlasd / ProvinciasArgentina.json
Created August 30, 2018 17:20
Provincias de Argentina
This file has been truncated, but you can view the full file.
{
"features": [
{
"geometry": {
"coordinates": [
[
[
[
-64.167041,
-54.841545
@Lenninlasd
Lenninlasd / cloud.tiff
Last active February 1, 2018 14:05
observable geotiff
This file has been truncated, but you can view the full file.
@Lenninlasd
Lenninlasd / index.html
Created October 20, 2017 16:21
heatmap
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<title></title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.41.0/mapbox-gl.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.41.0/mapbox-gl.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
@Lenninlasd
Lenninlasd / index.js
Created October 28, 2015 19:18
simple redirection
var http = require('http');
http.createServer(function (request, response) {
var url = 'https://flugel.firebaseapp.com/';
response.writeHead(302, {Location: encodeURI(url)});
response.end();
}).listen(80, function () {
console.log('Server running');
});