Extracted from https://www.safetyandquality.gov.au/publications-and-resources/resource-library/national-tall-man-lettering-list
Australian Commission on Safety and Quality in Health Care. National Tall Man Lettering List. Sydney: ACSQHC; 2020
| IPFilter = {} | |
| -- CONFIG | |
| IPFilter.KickMessage = "Sorry %s, you have been kicked by the IP filter" -- %s = name | |
| IPFilter.BlacklistedIPs = { | |
| -- Lua patterns | |
| -- "%d.%d%.%d.1", | |
| } |
| local AADisasm = {} | |
| AADisasm.StartCodons = { | |
| "AUG", | |
| } | |
| AADisasm.TerminationCodons = { | |
| UAA = true, | |
| UAG = true, | |
| UGA = true, |
| First and foremost, follow the :sparkles: ***golden rule*** :sparkles: | |
| `"Do not do to others what you know has hurt yourself"` | |
| ----- | |
| We're trying to maintain an inclusive environment in this discord. Please don't be an asshole. | |
| ----- | |
| :cop: **Administration** | |
| ----- | |
| We'll try to be as open with you as possible. We're here to help. | |
| If you need any help, please don't hesitate to contact a @Moderator |
| -- Don't let the machines win. You are humanity's last hope... | |
| local function debug(fmt,...) | |
| io.stderr:write(string.format(fmt,...)) | |
| end | |
| local function outputCoords(x1,y1,x2,y2,x3,y3) | |
| io.write(string.format("%d %d %d %d %d %d\n",x1,y1,x2,y2,x3,y3)) | |
| end |
| local phonemes = { | |
| ["AA"] = "ɑ", | |
| ["AE"] = "æ", | |
| ["AH"] = "ʌ", | |
| ["AO"] = "ɔ", | |
| ["AW"] = "ɑʊ", | |
| ["AY"] = "ɑɪ", | |
| ["B"] = "b", | |
| ["CH"] = "ʧ", | |
| ["D"] = "d", |
Extracted from https://www.safetyandquality.gov.au/publications-and-resources/resource-library/national-tall-man-lettering-list
Australian Commission on Safety and Quality in Health Care. National Tall Man Lettering List. Sydney: ACSQHC; 2020
| -- for use by doctors only, always clinically correlate | |
| -- don't use this for yourself | |
| -- you shouldn't trust strangers on the internet with your blood sugars | |
| print("insulin calculator 3000") | |
| local function roundEven(n,noZero) | |
| local frac = n % 1 | |
| local base = math.floor(n) | |
| -- saved at 12000Hz, 16 bit PCM, little endian | |
| local vcName = "SD_VC001" | |
| local folder = "SD_VOICE/"..vcName | |
| ffi=require'ffi' | |
| ffi.cdef [[ | |
| void vInitDecoder(void); | |
| void vDecode(uint8_t* param_1,uint8_t *param_2); |
| function fuzzySubstringMatch(str,match,maxDiscrepancies) | |
| local minIdx | |
| local minDiscrepancies = 1 / 0 | |
| for idx=1,#str do | |
| local curIdx = idx | |
| local discrepancies = 0 | |
| local matchIdx = 1 | |
| while matchIdx <= #match do | |
| local srcChar,srcCharNext = str:byte(curIdx + matchIdx - 1,curIdx + matchIdx) | |
| local matchChar,matchCharNext = match:byte(matchIdx,matchIdx + 1) |
| class TwoWayWeakMap { | |
| constructor() { | |
| this.keyToValue = new WeakMap(); | |
| this.valueToKey = new WeakMap(); | |
| this.keys = new Set(); | |
| this.values = new Set(); | |
| } | |
| set(key, value) { | |
| const weakValue = new WeakRef(value); |