create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
# This code is in the public domain | |
# Author: Raphaël Barrois | |
from __future__ import print_function | |
import datetime | |
import mock | |
## views.py | |
import tempfile | |
import os | |
import commands | |
import cgi | |
from django import http | |
from django.views.decorators.csrf import csrf_exempt | |
from django.shortcuts import render |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
Prereq:
apt-get install zsh
apt-get install git-core
Getting zsh to work in ubuntu is weird, since sh
does not understand the source
command. So, you do this to install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
var someView = Backbone.View.extend({ | |
initialize: function(options) { | |
}, | |
events: { | |
'keyup .error': 'validateField' | |
}, | |
validateField: function(e){ | |
$(e.currentTarget).valid(); | |
}, | |
render: function(){ |
#!/usr/bin/env python | |
# | |
# Converts any integer into a base [BASE] number. I have chosen 62 | |
# as it is meant to represent the integers using all the alphanumeric | |
# characters, [no special characters] = {0..9}, {A..Z}, {a..z} | |
# | |
# I plan on using this to shorten the representation of possibly long ids, | |
# a la url shortenters | |
# |