Skip to content

Instantly share code, notes, and snippets.

View lancejpollard's full-sized avatar
😍
Lots of coding

Lance Pollard lancejpollard

😍
Lots of coding
View GitHub Profile
@lancejpollard
lancejpollard / arabic.root.candidate.csv
Last active December 12, 2023 07:20
11137 Arabic Root Candidates from Hans Wehr word list
word
ابا
اباء
اباق
ابان
اباه
ابت
ابتر
ابتز
ابتع
@lancejpollard
lancejpollard / polly.ts
Created August 21, 2023 02:24
Amazon Polly Snippet JS
import 'dotenv/config'
import {
PollyClient,
SynthesizeSpeechCommand,
} from '@aws-sdk/client-polly'
import fs from 'fs'
import read from '@nerdbond/read'
import TERM_MAP from '~/configurations/terms'
// a client can be shared by different commands.
@lancejpollard
lancejpollard / cmavo.md
Last active February 21, 2024 11:43
Lojban cmavo list
# word meaning details id
1 .a sumti or. logical connective: sumti afterthought or A
2 .a'a attentive. attitudinal: attentive - inattentive - avoiding (cf. jundi, rivbi) UI1
3 .a'acu'i inattentive. attitudinal: attentive - inattentive - avoiding UI*1
4 .a'anai avoiding. attitudinal: attentive - inattentive - avoiding UI*1
5 .a'e alertness. attitudinal: alertness - exhaustion (cf. sanji, cikna, tatpi) UI1
6 .a'enai exhaustion. attitudinal: alertness - exhaustion UI*1
7 [.a'i](https://en.wiktionary.org/wiki/Appendix:Lojban

The lojban I speak

coi ro do mi’e la saski’o tu’a dei cu ve ciksi tu’a lo me mi moi jbobau

Introduction

About this guide

This is a brief introduction to Lojban, a constructed human language. It has a very nice, fun, regular grammar that computers and humans alike can understand easily.

Basic grammar

All Lojban words are either particles (tiny words that help the grammar) or verbs (which tell us how nouns relate).

A Lojban sentence consists of a main verb with a bunch of nouns plugged into it.

A Lojban verb definition looks like this:

@lancejpollard
lancejpollard / lojban-thesaurus.md
Created August 12, 2023 04:20 — forked from lynn/lojban-thesaurus.md
A semantically sorted list of Lojban root words

Lojban Thesaurus

Translated to Markdown from this ancient TeX file. I’m not sure who made the original.

Hover over a link to see the place structure. Click it to view gismu info on Wiktionary.

1 Structures

1.1 Set, group, mass

@lancejpollard
lancejpollard / css.css
Last active August 8, 2023 16:31
Example CSS Utilities
.every-2n-child-background-fill-white-2:nth-child(2n) > * {
background: rgb(244, 244, 244);
}
@lancejpollard
lancejpollard / example.terraform.1.tfstate.json
Last active July 4, 2023 21:07
Example Terraform State File Output (.tfstate)
{
"version": 4,
"terraform_version": "1.5.2",
"serial": 4,
"lineage": "d5d29458-464d-ade8-e0cd-686ea1854a73",
"outputs": {},
"resources": [
{
"mode": "managed",
"type": "google_cloudfunctions_function",
@lancejpollard
lancejpollard / notes.md
Last active June 4, 2023 07:41
Ideas for Optimal Software Implementations

Ideas for Optimal Software Implementations

This gist is a potentially slowly evolving collection of ideals when it comes to coding. It's hard to think of it all at once, and sometimes it's hard to find an answer ever until you discover it for yourself. So going to try and capture that kind of stuff here. Going to try and include the reason why each note is important to consider as well.

Show all of the errors at once

When writing code like in TypeScript, it shows you all of the possible errors in your code at once (here is the bottom of an error trace showing 9 errors):

...