django-admin.py startproject mysite
python manage.py runserver
django-admin.py startproject mysite
python manage.py runserver
$ vagrant init centos64
$ vagrant ssh-config --host harmoney >> ~/.ssh/config
$ vagrant up
# cf. https://gist.github.com/crmccreary/5610068 | |
import base64 | |
from Crypto.Cipher import AES | |
from Crypto import Random | |
BS = 16 | |
pad = lambda s: s + (BS - len(s) % BS) * chr(BS - len(s) % BS) | |
unpad = lambda s: s[0:-ord(s[-1])] | |
# -*- coding: utf-8 -*- | |
import msgpack | |
from flask import Flask | |
app = Flask(__name__) | |
@app.route('/l') | |
def l(): | |
""" | |
>>> import msgpack |
using UnityEngine; | |
using System.Collections; | |
using System; | |
using System.IO; | |
using System.Text; | |
using System.Security.Cryptography; | |
public class Encrypt : ScriptableObject | |
{ | |
public static byte[] EncryptBytes(byte[] message, byte[] rgbKey, byte[] rgbIV) |
https://devcenter.heroku.com/articles/getting-started-with-python | |
http://flask.pocoo.org/ | |
http://docs.python-requests.org/en/latest/ | |
https://github.com/msgpack/msgpack-python |
git config --global alias.ci "commit -a" | |
git config --global alias.co checkout | |
git config --global alias.st "status" | |
git config --global alias.stat "status" | |
git config --global alias.br branch | |
git config --global alias.wdiff "diff --color-words" | |
git config --global core.editor vim | |
git config --global merge.summary true |
http://adamjspooner.github.io/coffeescript-meet-backbonejs/05/docs/script.html
#!/usr/bin/env python | |
# -*- coding:utf-8 -*- | |
''' | |
正準相関分析 | |
cca.py | |
''' | |
import numpy as np | |
import scipy as sp | |
from scipy import linalg as LA |