Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View kennethreitz's full-sized avatar
🐍

Kenneth Reitz kennethreitz

🐍
View GitHub Profile
@kennethreitz
kennethreitz / styles.less
Created March 5, 2014 17:24
atom ui local modifications backup for Soda Light
/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed.
*
* If you are unfamiliar with LESS, you can read more about it here:
* http://www.lesscss.org
*/
@kennethreitz
kennethreitz / summicron.md
Last active August 29, 2015 14:00
Selling a lens

For Sale: Leica 35mm Summicron ASPH
Excellent condition Leica 35mm Summicron ASPH 6 Bit.
Serial number: 4160102.
Date of manufacture: 2011.

Lens is in incredible condition, aside from two extremely small marks along the aperture ring — standard wear from normal carry. Extremely smooth focus and decisive aperture ring that clicks perfectly into place.

Comes with Leica leather case, hood, and caps. Will include a rugged E39 UVa filter, if desired. Price includes UPS Insured Shipping to the lower 48 USA.

Asking $2,300

@kennethreitz
kennethreitz / leica-m3.md
Created April 26, 2014 14:44
Selling a special camera

For Sale: 1954 Leica M3 Double Stroke
Excellent condition Leitz (Leica) M3.
Serial number: 705311.
Date of manufacture: 1954.

This is a very special camera, Leica M3, from the very first production run of 5000 cameras, in 1954 — the camera that changed everything. Viewfinder is bright and accurate, and everything is in perfect working order. The only defect with the camera is that the original vulcanite (as shown in the photos) is starting to crack and fall off of the camera. This is quite common, and can be replaced easily.

As you can see, this camera uses "scientific" shutter speeds, as opposed to the modern "geometric" system we all know that Leica switched to a few years later. It's a true treasure.

@kennethreitz
kennethreitz / synths.md
Last active August 29, 2015 14:00
selling synthesizer stuff!

For sale: a ton of Eurorack synthesizer modules.

  • Make Noise Phonogene — $500
  • Make Noise Echophon — $350
  • Make Noise Wogglebug — $250
  • Make Noise Maths — $250
  • Make Noise MGG — $200
  • Make Noise STO — $170
  • Subconscious Communications Model 15 Complex VCO — $320
  • Synthesis Techology E340 Cloud Generator — $280
$ python3 -c 'from unicodedata import name; print("\n".join("{} {}".format(name(chr(c)),chr(c)) for c in (0x2695,0x2698,0x269A)))'
@kennethreitz
kennethreitz / selling.md
Last active August 29, 2015 14:04
Selling Things!

Spring Cleaning! Selling some things:

Music Stuff:

  • Minimoog Voyager Old-School Edition: SOLD!
  • Crazy Modular Synthesizer (Complete!): $3500
  • Monome (Greyscale 64): $400

Photo Stuff:

  • Leica M240 Black (2014): $5500
  • Leica M MONOCHROM (2012): SOLD!
import os
from datetime import datetime
from multiprocessing.util import register_after_fork
from sqlalchemy import create_engine, MetaData, Table
from sqlalchemy.orm import sessionmaker
from sqlalchemy.ext.declarative import declarative_base
from psycopg2.extras import RealDictConnection, register_hstore
{
"auto_complete": false,
"close_windows_when_empty": true,
"color_scheme": "Packages/Tomorrow Color Schemes/Tomorrow-Night.tmTheme",
"draw_white_space": "all",
"find_selected_text": true,
"fold_buttons": false,
"folder_exclude_patterns":
[
".svn",
[alias]
switch = !legit switch \"$@\"
branches = !legit branches
sprout = !legit sprout \"$@\"
unpublish = !legit unpublish \"$@\"
harvest = !legit harvest \"$@\"
sync = !legit sync \"$@\"
publish = !legit publish \"$@\"
graft = !legit graft \"$@\"
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
alias mate='subl'
alias mk=mkvirtualenv
alias vlc='open -a vlc'
alias gitx='gittower "$(git rev-parse --show-toplevel)"