Skip to content

Instantly share code, notes, and snippets.

@ardianzzz
ardianzzz / webstory-template.html
Created December 9, 2020 06:04
webstory template
<!doctype html>
<html amp>
<head>
<meta charset="utf-8" />
<title>{{title}}</title>
<link rel="canonical" href="{{canonical}}">
<meta name="description" content="{{description}}"/>
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<link rel="shortcut icon" href="{{favicon}}" />
# cool pallete
color1 ['#5ebcd2']
color2 ['#85cbcf', '#3984b6']
color3 ['#85cbcf', '#3984b6', '#1d2e81']
color4 ['#9ed5cd', '#44a7cb', '#2e62a1', '#192574']
color5 ['#b7dfcb', '#5abad1', '#3984b6', '#264992', '#161f63']
color6 ['#bee0cc', '#70c3d0', '#419dc5', '#316ba7', '#223b89', '#151e5e']
color7 ['#c6e3cb', '#83cacf', '#47aed0', '#3984b6', '#2c5a9c', '#1e3082', '#141c59']
color8 ['#cee6ca', '#91d0ce', '#56b9d2', '#3f97c2', '#3371aa', '#274b93', '#1b277c', '#131a55']
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ardianzzz
ardianzzz / dki-topo.topojson
Last active July 31, 2019 02:07
dki-kelurahan-topojson
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
*,:after,:before{box-sizing:inherit}button,fieldset,input{appearance:none;border:0;padding:0}img,svg{display:block}body,html{box-sizing:border-box}html{-webkit-font-smoothing:antialiased}*{user-select:none;-webkit-tap-highlight-color:rgba(255,255,255,0);-webkit-tap-highlight-color:transparent}[contenteditable],input[type]{user-select:text}body,h1,h2,h3,h4,h5,h6,p{margin:0;font-size:1rem;font-weight:400}base,basefont,datalist,head,meta,noembed,param,script,style,template,title{display:none}a{text-decoration:none;color:inherit}b{font-weight:400}em,i{font-style:normal}a:focus,button:focus,input:focus{outline:0}button{background-color:transparent}fieldset,input{margin:0;min-width:0;font-size:1rem;font-family:inherit}input::-ms-clear{display:none}input[type=number]{-moz-appearance:textfield}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{appearance:none}img{max-width:100%}select:-moz-focusring{color:transparent;text-shadow:0 0 0 #000}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ardianzzz
ardianzzz / gist:fcd96ad92c6d1c8a64f3
Created November 3, 2015 14:02
Indonesia Bounding Box
94.482421875 -10.5742220783 141.064453125 6.8391696263
function handleFileSelect(evt) {
var files = evt.target.files;
for (var i = 0, f; f = files[i]; i++) {
if (!f.type.match('image.*')) {
$('#dialogModal').modal('show');
return false;
}
var reader = new FileReader();
reader.onload = (function(theFile) {