Skip to content

Instantly share code, notes, and snippets.

View codazoda's full-sized avatar

Joel Dare codazoda

View GitHub Profile
@codazoda
codazoda / main.txt
Last active November 16, 2022 21:36
<!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">
@codazoda
codazoda / nginx.conf
Last active October 22, 2022 21:46
Nginx Config
user nginx;
worker_processes auto;
daemon off;
events {
worker_connections 1024;
}
http {
server {
<?php
phpinfo();
@codazoda
codazoda / gist:dd6352a50272d3f8238aa5d5280eaab2
Last active April 8, 2022 21:03
Cities Within 150 Miles of Roy, UT
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();
<?xml version="1.0" encoding="UTF-8"?><Response><Transfer transferTo="+18014500291"></Transfer></Response>
@codazoda
codazoda / art.js
Last active December 31, 2018 15:56
Splash of Code
// Write code here...
@codazoda
codazoda / luhn.js
Created June 8, 2017 23:22 — forked from ShirtlessKirk/luhn.js
Luhn validation algorithm
/**
* 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,
@codazoda
codazoda / README.md
Created June 27, 2016 16:46 — forked from chrisjacob/README.md
Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").

Intro

Description: Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").

Author: Chris Jacob @_chrisjacob

Tutorial (Gist): https://gist.github.com/833223

The Result