This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import simplejson | |
from flask import Flask, g, request | |
from couchdb.design import ViewDefinition | |
import flaskext.couchdb | |
app = Flask(__name__) | |
""" | |
CouchDB permanent view |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Already have a Git repository on your computer? | |
$ cd /path/to/existing/repo | |
$ git remote add origin https://<username>@github.com/<username>/<new_github_repo_created>.git | |
$ git push -u origin --all # pushes up the repo and its refs for the first time | |
$ git push -u origin --tags # pushes up any tags | |
To add a Remote Repo with other name - for ex: "gitbub" | |
git remote add github https://<username>@github.com/<username>/<new_github_repo_created>.git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
u0_a82@android:/ $ cat /proc/version | |
Linux version 3.4.0-perf-gf1371cb-00009-gd6ca730-dirty (ccadmin@BUILD12) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #1 SMP PREEMPT Wed Oct 30 14:50:10 CST 2013 | |
u0_a82@android:/ $ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# nginx 0.7.65 | |
# You may add here your | |
# server { | |
# ... | |
# } | |
# statements for each of your virtual hosts | |
server { | |
listen 80; ## listen for ipv4; this line is default and implied | |
listen [::]:80 default ipv6only=on; ## listen for ipv6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DA='dahdi-linux-complete-2.5.0.1+2.5.0.1' | |
WAN="wanpipe-3.5.23" | |
PRI="libpri-1.4.12" | |
apt-get -y install build-essential | |
apt-get -y install gcc | |
apt-get -y install g++ | |
apt-get -y install automake |
NewerOlder