start new:
tmux
start new with session name:
tmux new -s myname
/** | |
* Simple authentication and authorization example with passport, node_acl, | |
* MongoDB and expressjs | |
* | |
* The example shown here uses local userdata and sessions to remember a | |
* logged in user. Roles are persistent all the way and applied to user | |
* after logging in. | |
* | |
* Usage: | |
* 1. Start this as server |
First install pip for Python2. Download the get-pip.py file from https://bootstrap.pypa.io/get-pip.py | |
$ cd <download location> | |
$ sudo -H python ./get-pip.py | |
Installing pip also installs Python3 | |
To run Python3 | |
$ python3 | |
Install pip3 by just executing the same file as in the step above, but this time using Python3 | |
$ sudo -H python3 ./get-pip.py |
# Example MySQL config file for small systems. | |
# | |
# This is for a system with little memory (<= 64M) where MySQL is only used | |
# from time to time and it's important that the mysqld daemon | |
# doesn't use much resources. | |
# | |
# You can copy this file to | |
# C:/xampp/mysql/bin/my.cnf to set global options, | |
# mysql-data-dir/my.cnf to set server-specific options (in this | |
# installation this directory is C:/xampp/mysql/data) or |
#!/bin/bash | |
if [ -z "$@" ]; then | |
echo "Usage: goto project-name" | |
return | |
fi | |
search_path=$GOPATH/src/ | |
for i in {1..3}; do |