Skip to content

Instantly share code, notes, and snippets.

@oliveratgithub
oliveratgithub / emojis.json
Last active March 25, 2025 20:10
Emoji-list with emojis, names, shortcodes, unicode and html entities [massive list]
{
"emojis": [
{"emoji": "👩‍👩‍👧‍👧", "name": "family: woman, woman, girl, girl", "shortname": ":woman_woman_girl_girl:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F467", "html": "👩‍👩‍👧‍👧", "category": "People & Body (family)", "order": ""},
{"emoji": "👩‍👩‍👧‍👦", "name": "family: woman, woman, girl, boy", "shortname": ":woman_woman_girl_boy:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F466", "html": "👩‍👩‍👧‍👦", "category": "People & Body (family)", "order": ""},
{"emoji": "👩‍👩‍👦‍👦", "name": "family: woman, woman, boy, boy", "shortname": ":woman_woman_boy_boy:", "unicode": "1F469 200D 1F469 200D 1F466 200D 1F466", "html": "👩‍👩‍👦‍👦", "category": "People & Body (family)", "order": ""},
{"emoji": "👨‍👩‍👧‍👧", "name": "family: man, woman, girl, girl", "shortname": ":man_woman_girl_girl:", "unicode": "1F468 200D 1F469 200D 1F467 200D 1F467", "html": "👨‍👩&z
@cdesch
cdesch / rails_generator_cheat_sheet.md
Last active April 4, 2025 13:13
Rails Generator CheatSheet

Cheat Sheets are greate but they are not a substitute for learning the framework and reading the documentation as we most certainly have not covered every potential example here. Please refer to the Rails Command Line Docs for more information.

Command Line Generator Info

Reference

You can get all of this information on the command line.

rails generate with no generator name will output a list of all available generators and some information about global options. rails generate GENERATOR --help will list the options that can be passed to the specified generator.

@able8
able8 / Export Notes.AppleScript
Created May 16, 2017 08:34
Export Apple Notes via AppleScript
tell application "TextEdit"
activate
make new document
end tell
tell application "Notes"
if folder "Archive" exists then
set output to ""
repeat with aNote in notes in folder "Archive"
@aparrish
aparrish / understanding-word-vectors.ipynb
Last active April 9, 2025 14:04
Understanding word vectors: A tutorial for "Reading and Writing Electronic Text," a class I teach at ITP. (Python 2.7) Code examples released under CC0 https://creativecommons.org/choose/zero/, other text released under CC BY 4.0 https://creativecommons.org/licenses/by/4.0/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@28mm
28mm / gist:9820bd8b6eb27555efe9d6f46dd95a81
Last active November 25, 2021 19:38
🔍 photos2spotlight.py: recent versions of Photos.app classify pictures into 1,000+ categories (4000+ if you include synonyms). photos2spotlight.py duplicates these category tags in filesystem metadata, where Spotlight can index them.
#!/usr/bin/env python3
#
# Recent versions of Photos.app classify pictures into 1,000+ categories
# (4000+ if you include synonyms). photos2spotlight.py duplicates these
# category tags in filesystem metadata, where Spotlight can index them.
#
# http://28mm.github.io/notes/osx-photo-search <-- documentation
# [email protected] <-- bugs, feedback.
#
@stared
stared / tips_for_neurotypicals.md
Last active April 29, 2017 17:38
Tips for Neuro-Typicals (from A Mind-Body Look at the Concept of Asperger's Syndrome)

from A Mind-Body Look at the Concept of Asperger's Syndrome (pdf) by Michael Samsel, LMHC

Tips for Neuro-Typicals

Say What You Want Directly and Plainly. Don't hint, don't understate. Spell out expectations.

Allow and Accept Asynchrony in Communication. For instance, let an exchange play out in email, even if you both live in the same house. In this case any delay does not take over as the subject of discussion, as it tends to in attempts at synchronous (face-to-face) discussion. After all, people tolerate asynchrony in internet shopping or judicial proceedings, in the interest of getting a better product.

Make Social Occasions Fairly Short and Fix Upon a Duration. Open-ended social situations tend to provoke shutdown in the aspie for self-protection. A time limited foray is a manageable task.

@turtlemonvh
turtlemonvh / Makefile
Last active March 20, 2025 09:03
Golang Project Makefile Template
# Borrowed from:
# https://github.com/silven/go-example/blob/master/Makefile
# https://vic.demuzere.be/articles/golang-makefile-crosscompile/
BINARY = superdo
VET_REPORT = vet.report
TEST_REPORT = tests.xml
GOARCH = amd64
VERSION?=?
@aaugustin
aaugustin / question.md
Last active July 24, 2024 03:05
Accessibility in browsers: zoom level vs. font size

Scroll to the bottom for the answer

Question

There's two ways to increase the default font size in browsers:

  1. set a default zoom level > 100% ("page zooming")
  2. set a default font size > 16px ("text scaling")

Option 1 relies on the browser's proportional scaling. This feature was

This document has moved!

It's now here, in The Programmer's Compendium. The content is the same as before, but being part of the compendium means that it's actively maintained.