Skip to content

Instantly share code, notes, and snippets.

View JaseHadd's full-sized avatar

Jason Haddleton JaseHadd

View GitHub Profile
@JaseHadd
JaseHadd / fountry-vtt-module-schema.json
Last active November 5, 2024 20:32
Foundry VTT Module Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://gist.github.com/JaseHadd/e089d8c696d3cacb62af7c218930d752/raw/fountry-vtt-module-schema.json",
"title": "Foundry VTT module.json schema",
"type": "object",
"definitions": {
"foundry-version": {
"anyOf": [
{
"type": "integer",
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Falsey</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script>
<script src="./suite.js"></script>
</head>
<body>
<h1>Open the console to view the results</h1>
let gifts = [ "partridge in a pear tree", "Two turtle doves", "Three French hens",
"Four calling birds", "Five golden rings", "Six geese a-laying",
"Seven swans a-swimming", "Eight maids a-milking", "Nine ladies dancing",
"Ten lords a-leaping", "Eleven pipers piping", "Twelve drummers drumming" ]
let nth = [ "first", "second", "third", "fourth", "fifth", "sixth",
"seventh", "eighth", "ninth", "tenth", "eleventh", "twelfth" ]
func gifts(for day: Int) -> String {
var result = "On the \(nth[day-1]) day of Christmas, my true love sent to me:\n"
@JaseHadd
JaseHadd / ioslocaleidentifiers.csv
Last active March 31, 2022 08:23 — forked from jacobbubu/ioslocaleidentifiers.csv
iOS Locale Identifiers
localeIdentifier Description
eu Basque
hr_BA Croatian (Bosnia & Herzegovina)
en_CM English (Cameroon)
rw_RW Kinyarwanda (Rwanda)
en_SZ English (Swaziland)
tk_Latn Turkmen (Latin)
he_IL Hebrew (Israel)
ar Arabic
uz_Arab Uzbek (Arabic)