Please see: https://github.com/kevinSuttle/html-meta-tags, thanks for the idea @dandv!
Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/
<?php | |
require("Services/Twilio.php"); | |
require("database.php"); | |
// require POST request | |
if ($_SERVER['REQUEST_METHOD'] != "POST") die; | |
// generate "random" 6-digit verification code | |
$code = rand(100000, 999999); |
// Table.js is a small library for manipulating NxN arrays. | |
// It takes an NxN array and a list of type formatters by column headers so: | |
// var table = new Table([['one', 'two', 'three'], ["1","jeff larson","3px"]], { | |
// one : function(it) { return +it; }, | |
// two : function(it) { return it.toUpperCase(); }, | |
// three : function(it) { return +it.replace("px", ''); } | |
// }); | |
// | |
var Table = function(data, types){ | |
this.data = data; |
<?php | |
/** | |
* PostGIS to GeoJSON | |
* Query a PostGIS table or view and return the results in GeoJSON format, suitable for use in OpenLayers, Leaflet, etc. | |
* | |
* @param string $geotable The PostGIS layer name *REQUIRED* | |
* @param string $geomfield The PostGIS geometry field *REQUIRED* | |
* @param string $srid The SRID of the returned GeoJSON *OPTIONAL (If omitted, EPSG: 4326 will be used)* | |
* @param string $fields Fields to be returned *OPTIONAL (If omitted, all fields will be returned)* NOTE- Uppercase field names should be wrapped in double quotes | |
* @param string $parameters SQL WHERE clause parameters *OPTIONAL* |
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/ | |
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating | |
// requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel | |
// MIT license | |
(function() { | |
var lastTime = 0; | |
var vendors = ['ms', 'moz', 'webkit', 'o']; |
$.xhrPool = []; | |
$.xhrPool.abortAll = function() { | |
/* Original example used _underscore api | |
_.each(this, function(jqXHR) { | |
jqXHR.abort(); | |
}); | |
*/ | |
$.each(this, function(jqXHR) { | |
jqXHR.abort(); |
<?xml version="1.0" encoding="UTF-8" ?> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title> | |
<data:blog.pageTitle/> | |
</title> | |
<b:skin><![CDATA[]]></b:skin> | |
</head> | |
<body> |
package | |
{ | |
/** | |
* ActionScript 3.0 Code Snippet | |
* Convert Number to Rupiah & vice versa | |
* https://gist.github.com/845309 | |
* | |
* Copyright 2011-2012, Faisalman | |
* Licensed under The MIT License | |
* http://www.opensource.org/licenses/mit-license |
<?php | |
if(isset($_POST['source'])) { | |
$source = $_POST['source']; | |
if(isset($_POST['type']) && 'php' == $_POST['type']) { | |
$code = highlight_string($source, true); | |
$output = $code; | |
} else { | |
$code = htmlentities($source); |