Skip to content

Instantly share code, notes, and snippets.

@ruli
ruli / Python.sublime-settings
Created January 25, 2013 04:41
PEP8 Friendly ST2 Python Settings
{
"trim_trailing_white_space_on_save": true,
"ensure_newline_at_eof_on_save": true,
"translate_tabs_to_spaces": true,
"rulers": [78]
}
@ruli
ruli / stack.py
Created November 3, 2012 04:17
Stack Application
#!/usr/bin/python
# -*- coding: utf-8 -*-
class Stack(object):
def __init__(self):
self.items = []
def isEmpty(self):
return not self.items