(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| http://freetypography.com/ | |
| http://www.premiumpixels.com/ | |
| http://subtlepatterns.com/ | |
| http://designmodo.github.io/Flat-UI/ | |
| http://www.getuikit.com/docs/ | |
| http://codepen.io/hugo/pen/eoaDw | |
| http://spyrestudios.com/20-free-open-source-css3-user-interface-kits/ | |
| http://speckyboy.com/2013/09/25/10-free-ui-kits/ | |
| http://purecss.io/ |
| ## Prepare ################################################################### | |
| # Remove RVM | |
| rvm implode | |
| # Ensure your apt-get is working properly and up to date | |
| sudo apt-get upgrade | |
| sudo apt-get update | |
| ## Install ################################################################### |
Prereq:
apt-get install zsh
apt-get install git-coreGetting 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
The following document is install references for ArchLinux rolling distribution
With some steps for ThinkPad's.
| $ python3 -c 'from unicodedata import name; print("\n".join("{} {}".format(name(chr(c)),chr(c)) for c in (0x2695,0x2698,0x269A)))' |
In React's terminology, there are five core types that are important to distinguish:
React Elements
| import paramiko | |
| k = paramiko.RSAKey.from_private_key_file("/Users/whatever/Downloads/mykey.pem") | |
| c = paramiko.SSHClient() | |
| c.set_missing_host_key_policy(paramiko.AutoAddPolicy()) | |
| print "connecting" | |
| c.connect( hostname = "www.acme.com", username = "ubuntu", pkey = k ) | |
| print "connected" | |
| commands = [ "/home/ubuntu/firstscript.sh", "/home/ubuntu/secondscript.sh" ] | |
| for command in commands: | |
| print "Executing {}".format( command ) |
| def get_count(q): | |
| count_q = q.statement.with_only_columns([func.count()]).order_by(None) | |
| count = q.session.execute(count_q).scalar() | |
| return count | |
| q = session.query(TestModel).filter(...).order_by(...) | |
| # Slow: SELECT COUNT(*) FROM (SELECT ... FROM TestModel WHERE ...) ... | |
| print q.count() |
Add this in your ini file:
[alembic:exclude]
tables = spatial_ref_sys
In env.py:
def exclude_tables_from_config(config_):
tables_ = config_.get("tables", None)
if tables_ is not None: