Skip to content

Instantly share code, notes, and snippets.

View ShannonPaige's full-sized avatar

Shannon Paige ShannonPaige

View GitHub Profile
@chrissimpkins
chrissimpkins / gist:5bf5686bae86b8129bee
Last active March 6, 2023 00:10
Atom Editor Cheat Sheet: macOS

Use these rapid keyboard shortcuts to control the GitHub Atom text editor on macOS.

Key to the Keys

  • ⌘ : Command key
  • ⌃ : Control key
  • ⌫ : Delete key
  • ← : Left arrow key
  • → : Right arrow key
  • ↑ : Up arrow key
@JoshCheek
JoshCheek / brain_destroyer.md
Last active November 9, 2015 22:48
Dropped this into our slack channel.

If any of you are masochists and want to turn your brains to mush thinking about blocks, here is a challenge for you:


Given this code, do the following steps in order. It is strongly recommended that you do not read ahead (ignorance is bliss)

countdown = lambda do |n, recurse|
 n # => 5, 4, 3, 2, 1, 0
@blech
blech / netflix-genre-crawl.py
Last active November 11, 2022 22:23
Fetch genre names from Netflix
#!/usr/bin/python
# TODO make range command line arguments
import sys, codecs
sys.stdout = codecs.getwriter('utf-8')(sys.stdout) # if your terminal can't do utf-8, well...
import time
import urllib2
import BeautifulSoup