Skip to content

Instantly share code, notes, and snippets.

Sami Haahtinen ressu

View GitHub Profile
View genesis_public_key

Keybase proof

I hereby claim:

  • I am ressu on github.
  • I am ressu ( on keybase.
  • I have a public key ASDLbfvzLjkmMkpWAB9VV7V8Uiq1FeGqArkVLEg4Q1rx4wo

To claim this, I am signing this object:

View init.vim
set nocompatible
set runtimepath+=~/.vim/bundle/neobundle.vim/
call neobundle#begin(expand('~/.vim/bundle'))
" Uncomment these lines to make the check work
" if has('python')
" endif
NeoBundle 'jaxbot/github-issues.vim', {'disabled': !has('python')}
call neobundle#end()
filetype plugin indent on
View vimrc-debug.vim
if has('vim_starting')
set nocompatible
set runtimepath+=~/.vim/bundle/neobundle.vim/
if has("eval")
call neobundle#begin(expand('~/.vim/bundle'))
NeoBundle 'Shougo/neobundle-vim-recipes', {'force': 1}
NeoBundleRecipe 'neobundle'
class Class1:
def __init__(self, arg1, arg2):
print "Would do stuff with %s and %s" % (arg1, arg2)
class Class2(Class1):
def do_something(self):
print "I would do something else"
class Class3(Class1):
def __init__(self, arg1, arg2):
View gist:c748ad4e4e3be1c42d83

Installing python through pyenv

Pyenv is a tool to install and manage side by side python installations. It's generally used for development, but can be used for production environments as well.

Installing pyenv is simple, we can use the installer. The installer installs pyenv to ~/.pyenv along with tools to build various python versions.

curl -L | bash

Follow the instructions given by the installer on how to enable the pyenv command.

View base_vimrc.vim
" Modeline and Notes {
" vim:foldmarker={,} foldlevel=0 foldmethod=marker spell ft=vim
" This configuration file contains pretty much everything needed to make Vim
" play nice (or at least like I want it to)
" Influenced by:
" - Sami Haahtinen <>
" }
View designer.html
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<link rel="import" href="../google-map/google-map.html">
<polymer-element name="my-element">
#core_drawer_panel {
position: absolute;
top: 0px;
View designer.html
<link rel="import" href="../paper-dialog/paper-dialog.html">
<polymer-element name="my-element">
<paper-dialog heading="heading" backdrop layered opened="true"></paper-dialog>
You can’t perform that action at this time.