Skip to content

Instantly share code, notes, and snippets.

@adrienne
adrienne / peanutsauce.md
Last active Aug 26, 2021
Peanut sauce recipe
View peanutsauce.md

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 Mar 10, 2022
Fix Stupid Shit on New Twitter
View fix.css
/* 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 Jun 10, 2017
Speaker Information, LambdaConf 2017
View speakers.md

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 Sep 16, 2014
Some markup patterns (including schema.org structured data)
View blogpost.html
<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>
View gist:984c5ee66c21cba830d9

“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 Jan 4, 2016
Useful EE-Related SQL Snippets
View -- Useful EE-Related SQL Snippets
@adrienne
adrienne / quixCommands.txt
Last active May 20, 2022
Commands for the truly awesome Quix bookmarklet
View quixCommands.txt
> 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
View php.ini
[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 Feb 8, 2016
Useful SQL snippets
View 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
View Preferences.sublime-settings
{
"": "",
"auto_complete_commit_on_tab": true,
"auto_indent": true,
"bold_folder_labels": true,
"color_scheme": "Packages/Color Scheme - Default/Solarized (Light).tmTheme",
"ensure_newline_at_eof_on_save": true,
"fade_fold_buttons": false,
"font_face": "Consolas",
"font_options":