This file contains 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
<head> | |
... | |
<link rel="stylesheet" href="../shared/css/base.css" /> | |
<script src="https://unpkg.com/react@15/dist/react.js"></script> | |
<script src="https://unpkg.com/react-dom@15/dist/react-dom.js"></script> | |
</head> |
This file contains 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
<style> | |
table { font-family: sans-serif; border-collapse: collapse; width: 600px; } | |
thead { background-color: rgb(135,250,195); } | |
td { text-align: center; padding: 8px; border: 4px solid #000; } | |
</style> | |
<table> | |
<colgroup> | |
<col width="122"> | |
<col width="226"> | |
<col width="253"> |
This file contains 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
/\ /\ | |
/ \ /\ / \ | |
/ \ /\ / \ / \ | |
/\/\/\/\ / \ /\/\/\ /\/\/\/\ | |
////\\\\\\ /\/\/\ ////\\\\ /////\\\\\ | |
/////\\\\\\\ ////\\\\ /////\\\\\ //////\\\\\\ | |
//////\\\\\\\\/////\\\\\//////\\\\\\///////\\\\\\\ | |
///////\\\\\\\\\////\\\\///////\\\\\\\//////\\\\\\\\ | |
////////\\ AMARGA MARGA ////////\\\\\\\\/////\\\\\\\\\ |
This file contains 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
// # getScript() | |
// more or less stolen from jquery core and adapted by paul irish | |
function getScript(url,success) { | |
var head = document.getElementsByTagName("head")[0], done = false; | |
var script = document.createElement("script"); | |
script.src = url; | |
// Attach handlers for all browsers | |
script.onload = script.onreadystatechange = function(){ | |
if (!done && (!this.readyState || this.readyState == "loaded" || this.readyState == "complete") ) { |
This file contains 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
{ | |
"10101": { | |
"nombre": "Puerto Montt", | |
"distrito": 57, | |
"circunscripcion": 17, | |
"prov_id": 101 | |
}, | |
"10102": { | |
"nombre": "Calbuco", | |
"distrito": 57, |
This file contains 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 | |
/* | |
+----------------------------------------------------------------------+ | |
| APC | | |
+----------------------------------------------------------------------+ | |
| Copyright (c) 2006-2011 The PHP Group | | |
+----------------------------------------------------------------------+ | |
| This source file is subject to version 3.01 of the PHP license, | | |
| that is bundled with this package in the file LICENSE, and is | | |
| available through the world-wide-web at the following url: | |
This file contains 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 | |
### | |
# chkconfig: 235 98 55 | |
# description: Your service | |
### | |
NAME="your service name" | |
DAEMON=/usr/bin/service | |
PIDFILE=/var/run/service.pid |
This file contains 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
.-----------------. | |
.----------| receive request | | |
v '-----------------' | |
.--------------. | |
| vcl_recv | Varnish 3.0 state diagram | |
.-----------|--------------|-------------. Not entierly complete. | |
| | req | | Misses error/restart and | |
v '--------------' v some internals | |
pass lookup pipe | |
| | | |
This file contains 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 download = new SpeedTest.Download('samples/8mb.bin?' + Math.random()); | |
download.on('progress', function(loaded, total, rate) { | |
var percent = Math.round(loaded / total * 100), | |
kbps = Math.round(rate / 1024); | |
console.log(percent + ' loaded at ' + kbps + ' kbps') | |
} |
This file contains 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 latency = new SpeedTest.Latency('samples/empty.bin?' + Math.random()); | |
latency.on('finish', function(size, time) { | |
console.log('Latency: ' + time + ' ms'); | |
} |
NewerOlder