Skip to content

Instantly share code, notes, and snippets.

View IagoLast's full-sized avatar
🐈‍⬛
I like cats

IagoLast IagoLast

🐈‍⬛
I like cats
View GitHub Profile
@IagoLast
IagoLast / index.html
Created April 12, 2018 13:51
CARTO VL Example
<!DOCTYPE html>
<html>
<head>
<title>Multi layer | CARTO</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<!-- Include CARTO VL JS -->
<script src="https://unpkg.com/@carto/carto-vl"></script>
<!-- Include Mapbox GL JS -->
<script src="https://unpkg.com/@carto/mapbox-gl"></script>
@IagoLast
IagoLast / index.html
Created April 2, 2018 11:23
getComputedStyle
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>getComputedStyle for extracting rgb color</title>
</head>
@IagoLast
IagoLast / index.html
Created March 28, 2018 14:17
Torture your eyes
<html>
<head>
<style>
* {
box-sizing: border-box;
}
body {
margin: 0;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Mercator projection example</title>
<style>
body {
/*!
* CARTO GL js https://carto.com/
* Version: 0.0.0-alpha.1
*
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
@IagoLast
IagoLast / index.html
Last active March 1, 2018 19:47
Custom manfred client for sauce-jobs
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Manfred - API</title>
<style>
* {
@IagoLast
IagoLast / .block.yml
Last active November 8, 2023 13:16
Webmercator, geojson and 2D canvas
license: gpl-3.0
height: 600
scrolling: no
border: no