This is a test Gist to see if we could use Gists as a place for posts and comments.
Yes, anyone with a GitHub account can comment on Gists. Github accounts are free.
<!DOCTYPE html> | |
<head> | |
<title>Page Title</title> | |
<link rel="stylesheet" type="text/css" href="neat.css"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
user nginx; | |
worker_processes auto; | |
daemon off; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
server { |
<?php | |
phpinfo(); |
Cities within 150 miles of Roy, UT (84067) generated by https://github.com/codazoda/x5 | |
84067 0 Roy, UT 39314 | |
84401 3.28 Ogden, UT 40250 | |
84015 3.59 Clearfield, UT 66410 | |
84405 4.35 Ogden, UT 32516 | |
84056 4.35 Hill Afb, UT 3458 | |
84315 4.61 Hooper, UT 8993 | |
84075 6.46 Syracuse, UT 29411 | |
84041 7.7 Layton, UT 52350 |
global css html | |
ff:sans | |
let width = 0 | |
let length = 0 | |
let depth = 3 | |
tag yard-calc | |
css .yard-calc |
let date = new Date(); | |
let dateString = ''; | |
let name = ''; | |
let opportunityNameField; | |
dateString = date.getFullYear(); | |
dateString += '-' + (date.getMonth() + 1); | |
dateString += '-' + date.getDate(); | |
dateString += ' ' + date.getHours(); | |
dateString += ':' + date.getMinutes(); |
// Write code here... | |
<?xml version="1.0" encoding="UTF-8"?><Response><Transfer transferTo="+18014500291"></Transfer></Response> |
/** | |
* Luhn algorithm in JavaScript: validate credit card number supplied as string of numbers | |
* @author ShirtlessKirk. Copyright (c) 2012. | |
* @license WTFPL (http://www.wtfpl.net/txt/copying) | |
*/ | |
var luhnChk = (function (arr) { | |
return function (ccNum) { | |
var | |
len = ccNum.length, | |
bit = 1, |