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 / meta-tags.md
Created March 5, 2012 13:54
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<meta name="language" content="ES">
@lancejpollard
lancejpollard / readme.md
Last active July 23, 2024 08:17
Experience is the Foundation of Words

Experiences in English

Words are derived from base experiences. The base of a word is actually the experience it represents.

In English, we don't have direct words for the things of experience, instead we at least subdivide experiences into:

  • actions (verbs)
  • objects (nouns)
  • features (adjectives, adverbs, and prepositions)
@lancejpollard
lancejpollard / node-folder-structure-options.md
Created November 28, 2011 01:50
What is your folder-structure preference for a large-scale Node.js project?

What is your folder-structure preference for a large-scale Node.js project?

0: Starting from Rails

This is the reference point. All the other options are based off this.

|-- app
|   |-- controllers
|   |   |-- admin
@lancejpollard
lancejpollard / parse.ts
Last active July 9, 2024 02:13
Parse Tibetan Syllables (attempt)
const PREFIXES = ['ག', 'ད', 'བ', 'མ', 'འ']
const SUPERSCRIPTS = ['ར', 'ལ', 'ས']
const EXTENDED_ROOT_LETTERS = [
'ཫ',
'ཬ',
'ཁ༹',
'ག༹',
'ཕ༹',
'བ༹',
'གྷ',
@lancejpollard
lancejpollard / signlist.json
Created July 7, 2024 21:18
Cuneiform Sign List JSON (from ORACC)
{
"\u02beu4": ["\ud808\udc00"],
"a": ["\ud808\udc00"],
"aia2": ["\ud808\udc00"],
"aya2": ["\ud808\udc00"],
"barx": ["\ud808\udc00", "\ud808\udf0b"],
"buni\u014bx": ["\ud808\udc00", "\ud808\udc00\ud808\uddb9"],
"burx": [
"\ud808\udc00",
"\ud808\udc41\ud808\udd46\ud808\udc41",
@lancejpollard
lancejpollard / cmavo.md
Last active June 24, 2024 01:18
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
@lancejpollard
lancejpollard / list.md
Last active May 2, 2024 09:07
Phrase structure rule abbreviations (partial)
S - Sentence
NP - Noun Phrase
VP - Verb Phrase
PP - Prepositional Phrase
AdvP - Adverb Phrase
AdjP - Adjective Phrase
Det - Determiner
N - Noun
V - Verb
@lancejpollard
lancejpollard / datetime.md
Last active April 23, 2024 09:12
Universal Time Representation (Idea)

A DateTime should really be treated as a TimeSpan which is taken as the difference from a standard reference point (like Jan 1, 1970). Something like that:

// 2024
const y2024 = { year: 2024 } | { thousand: 2, year: 24 }
// 2000BCE = -2000 - 1970
const y2000bce = { year: -3970 }
// 13.8bya
const t13_8bya = { billion: -13, million: -8 }
@lancejpollard
lancejpollard / c-to-assembly.md
Last active April 16, 2024 17:57
Simple C examples and their Assembly output from GCC 4.9.0

addition

int foo(int a, int b) {
  return a + b;
}
@lancejpollard
lancejpollard / readme.md
Last active March 20, 2024 10:00
.keylayout file cheat sheet