Skip to content

Instantly share code, notes, and snippets.

@adrienne
adrienne / keybase.md
Created December 7, 2022 17:23
keybase.md

Keybase proof

I hereby claim:

  • I am adrienne on github.
  • I am adrienneleigh (https://keybase.io/adrienneleigh) on keybase.
  • I have a public key ASCabIq5Jp4cTSD2jfkZ3oMtddxXCXlihzjbzBIgNpRnCQo

To claim this, I am signing this object:

@adrienne
adrienne / peanutsauce.md
Last active August 26, 2021 16:48
Peanut sauce recipe

Quick Noodles with Peanut Sauce

(serves 4, or one person four times)

For the sauce:

  • 1/2 cup peanut butter plus a little
  • 1/4 cup canned coconut milk (like half of one of the small-size cans. You can freeze the rest, or make a double batch)
  • 3tbsp soy sauce
  • 2tbsp lime juice (the cheap stuff in a bottle is fine)
  • 2tbsp of ginger from a jar of crushed ginger (or fresh ginger)
@adrienne
adrienne / fix.css
Last active March 10, 2022 07:22
Fix Stupid Shit on New Twitter
/* Install the STYLUS extension (not STYLISH, that one's got malware these days)
Stylus for Chrome: https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne
Stylus for FF: https://addons.mozilla.org/en-US/firefox/addon/styl-us/
Once it's installed, go to Twitter, click the button, and choose:
Create a new style -> for all URLs at twitter.com
Paste this code into the created style, then save!
*/
html body, [data-testid="primaryColumn"], .r-1h3ijdo {
@adrienne
adrienne / speakers.md
Last active June 10, 2017 12:21
Speaker Information, LambdaConf 2017

All LambdaConf 2017 speakers listed as Invited (rather than double-blinded committee selection):

Keynotes:

  • Edward Latimore
  • Paul Phillips

Leap Workshops:

  • Dana Scott
@adrienne
adrienne / blogpost.html
Created September 16, 2014 11:07
Some markup patterns (including schema.org structured data)
<article itemscope itemtype="http://schema.org/BlogPosting">
<header>
<a itemprop="url" href="http://blah.org">
<img itemprop="image" src="/images/image.jpg" />
<h1 itemprop="name headline">Post Name</h1>
</a>
</header>
<div itemprop="articleBody">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc mi orci, malesuada elementum accumsan ut, porttitor at dolor.
</div>
@adrienne
adrienne / gist:984c5ee66c21cba830d9
Created June 10, 2014 13:40
great circles, Babel-17

“Well,” Rydra took out a metal tracing plate and a stylus. “I’m simplifying it a little, but let me show you.” She marked the plate. “Let’s say the word for circle is: O. This language has a melody system to illustrate comparatives. We’ll represent this by the diacritical marks: ˇ ¯ ˆ , respectively smallest, ordinary, and biggest. So what would Ǒ mean?”

“Smallest possible circle?” said Calli. “That’s a single point.”

Rydra nodded. “Now, when referring to a circle on a sphere, suppose the word for just an ordinary circle is Ō followed by either of two symbols, one of which means not touching anything else, the other of which means crossing — ║ or X. What would ÔX mean?”

“Great circles that intersect,” said Ron.

“And because all great circles intersect, in this language the word for great circle is always ÔX. It carries the information right in the word. Just like busstop or foxhole carry information in English that la gare or le terrier — comparable words in French—lack.”

@adrienne
adrienne / -- Useful EE-Related SQL Snippets
Last active January 4, 2016 20:29
Useful EE-Related SQL Snippets
@adrienne
adrienne / quixCommands.txt
Last active August 30, 2023 22:13
Commands for the truly awesome Quix bookmarklet
> Killing the default commands
> Note that ALL spaces must be removed from bookmarklets, and %-encoded characters must be changed back to normal.
#kill-defaults
> Begin new commands (many copied from original Quix)
@Searching
ama https://www.amazon.com/s/?field-keywords=%s Amazon Search
@adrienne
adrienne / php.ini
Created June 21, 2013 08:12
PHP .ini file
[PHP]
;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
; PHP's initialization file, generally called php.ini, is responsible for
; configuring many of the aspects of PHP's behavior.
; PHP attempts to find and load this configuration from a number of locations.
; The following is a summary of its search order:
@adrienne
adrienne / Useful SQL snippets
Last active August 30, 2023 22:17
Useful SQL snippets
Various handy bits and bobs relating to SQL (and the mySQL RDBMS in particular).
# Dump all databases from CLI:
$ mysqldump -h [server] -u root --password=password --default-character-set=utf8 --set-charset --all-databases > all_dbs.sql
# Restore all databases from CLI:
$ mysql -u root --password=password --default-character-set=utf8 --set-charset < all_dbs.sql