This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- https://jsfiddle.net/jLo12nr5/ --> | |
<!doctype html> | |
<html> | |
<head> | |
<!-- https://webglfundamentals.org/ --> | |
<style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- https://jsfiddle.net/4bdwavo0/ --> | |
<!doctype html> | |
<html> | |
<head> | |
<!-- https://webglfundamentals.org/ --> | |
<style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- https://ellie-app.com/7CqD92dY2cza1 | |
-- https://webglfundamentals.org/ | |
-- elm install elm-explorations/linear-algebra | |
-- elm install elm-explorations/webgl | |
module Main exposing (..) | |
import Browser | |
import Html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main exposing (main) | |
import Browser | |
import Html exposing (..) | |
import Html.Attributes exposing (..) | |
import Html.Events exposing (..) | |
import Html.Keyed | |
import Http | |
import Json.Decode exposing (Decoder, field, string, dict, map2) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"animation_enabled": false, | |
"auto_close_tags": false, | |
"auto_complete": false, | |
"auto_complete_commit_on_tab": false, | |
"auto_complete_with_fields": false, | |
"auto_indent": false, | |
"auto_match_enabled": false, | |
"caret_style": "blink", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// UDC = Unidade Dezena Centena | |
function numeroParaTextoUDC($numero) { | |
$_ucd = "$numero"; | |
while(strlen($_ucd) < 3) | |
$_ucd = "0$_ucd"; | |
switch(+$_ucd) { | |
case 0: return array("zero"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
$ python dynamic_decorator.py | |
func_to_be_dynamically_decorated(1, 2) | |
3 | |
unreg = add_dynamic_decorator('func_to_be_dynamically_decorated', dynamic_decorator_1) | |
<function unreg at 0x7f5260d1f9b0> | |
func_to_be_dynamically_decorated(1, 2) | |
4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Source | |
# https://stackoverflow.com/a/20431030 | |
# Turn off docker service | |
sudo service docker stop | |
# Delete iptables | |
sudo iptables -t nat -F | |
# Bring docker ethernet interface down |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Created at 2018-10-15 | |
# CHECKUPS | |
echo "LAST CHANCE TO BACK UP YOUR OLD CERTIFICATES!" | |
echo "" | |
read | |
echo "THE DESIGNATED DOMAIN MUST BE ACCESSIBLE FROM THE INTERNET FOR OWNERSHIP VERIFICATION!" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-function() { | |
function Zumber(array) { | |
if(!(this instanceof Zumber)) | |
return new Zumber(array); | |
if(!( | |
array instanceof Array && | |
array.length > 10 && | |
array.every(function(item, index) { | |
return typeof(item) === 'string' && item.length === 1 && !~array.indexOf(item, index + 1); |