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
/* root containers*/ | |
.flex-horiz, | |
.flex-vert { | |
/* old */ | |
display: -webkit-box; | |
display: -moz-box; | |
display: -ms-flexbox; | |
/* new */ | |
display: -webkit-flex; |
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
{ | |
// -------------------------------------------------------------------- | |
// JSHint Configuration, Strict Edition | |
// -------------------------------------------------------------------- | |
// | |
// This is a options template for [JSHint][1], using [JSHint example][2] | |
// and [Ory Band's example][3] as basis and setting config values to | |
// be most strict: | |
// | |
// * set all enforcing options to true |
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/sh | |
screenheight=`echo "lines"|tput -S` | |
lines=50 | |
file=`echo "${@: -1}"` | |
while getopts s:l: option | |
do | |
case "${option}" | |
in |
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
var fe, fs; | |
window.requestFileSystem(LocalFileSystem.PERSISTENT, 0, function(fs) { | |
gotFS(fs,file); | |
}, fail); | |
function gotFS(fileSystem, file) { | |
var flags = {create: true, exclusive: false}; | |
fileSystem.root.getDirectory("mytmp", flags, | |
function(parent){ |
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
Verifying that "cesidio.id" is my Blockstack ID. https://onename.com/cesidio |
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
# (c) 2020 Humu | |
# MIT License | |
from typing import Any | |
import github | |
AUTOMERGE_LABEL_NAME = 'automerge' | |
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
class EncodingRepairer | |
REPLACEMENTS = { | |
"€" => "€", "‚" => "‚", "„" => "„", "…" => "…", "ˆ" => "ˆ", | |
"‹" => "‹", "‘" => "‘", "’" => "’", "“" => "“", "â€" => "”", | |
"•" => "•", "–" => "–", "—" => "—", "Ëœ" => "˜", "â„¢" => "™", | |
"›" => "›", "Å“" => "œ", "Å’" => "Œ", "ž" => "ž", "Ÿ" => "Ÿ", | |
"Å¡" => "š", "Ž" => "Ž", "¡" => "¡", "¢" => "¢", "£" => "£", | |
"¤" => "¤", "Â¥" => "¥", "¦" => "¦", "§" => "§", "¨" => "¨", | |
"©" => "©", "ª" => "ª", "«" => "«", "¬" => "¬", "®" => "®", |
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
var http = require('http'); | |
exports.handler = function(event, context) { | |
http.get('http://httpbin.org/get', function(res) { | |
var body = ''; | |
res.on('data', function(chunk) { | |
body += chunk; | |
}); | |
res.on('end', function() { |