Skip to content

Instantly share code, notes, and snippets.

View theo-bittencourt's full-sized avatar

Theo B theo-bittencourt

  • IBJJF
  • Rio de Janeiro, Brazil
View GitHub Profile
@jonathantneal
jonathantneal / README.md
Last active March 19, 2024 23:31
Local SSL websites on macOS Sierra

Local SSL websites on macOS Sierra

These instructions will guide you through the process of setting up local, trusted websites on your own computer.

These instructions are intended to be used on macOS Sierra, but they have been known to work in El Capitan, Yosemite, Mavericks, and Mountain Lion.

NOTE: You may substitute the edit command for nano, vim, or whatever the editor of your choice is. Personally, I forward the edit command to Sublime Text:

alias edit="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"
@willurd
willurd / web-servers.md
Last active April 25, 2024 01:54
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@fiskus
fiskus / 1001-albums-you-must-hear-before-you-die.csv
Created November 11, 2012 15:25
1001 Albums You Must Hear Before You Die
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
year|album|artist
1955|In The Wee Small Hours|Frank Sinatra
1956|Ellington at Newport _56|Duke Ellington
1956|Elvis Presley|Elvis Presley
1956|Songs For Swingin' Lovers|Frank Sinatra
1956|Birth of the Cool|Miles Davis
1956|Tragic Songs Of Life|The Louvin Brothers
1957|The Atomic Mr Basie|Count Basie
1957|This is Fats Domino|Fats Domino
1957|Here_s Little Richard|Little Richard