(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
# A class-based template for jQuery plugins in Coffeescript | |
# | |
# $('.target').myPlugin({ paramA: 'not-foo' }); | |
# $('.target').myPlugin('myMethod', 'Hello, world'); | |
# | |
# Check out Alan Hogan's original jQuery plugin template: | |
# https://github.com/alanhogan/Coffeescript-jQuery-Plugin-Template | |
# | |
(($, window) -> |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
### Ubuntu 14.04, 64-bit | |
### Sencha Touch Environment Setup | |
# Update Java environment and tools | |
sudo apt-get update | |
sudo apt-get install openjdk-7-jdk | |
sudo apt-get install openjdk-7-jre | |
# Double-check version information | |
java -version |
from ansible import playbook, callbacks | |
import logging | |
import pprint | |
class LoggingCallbacks(callbacks.PlaybookCallbacks): | |
def log(self, level, msg, *args, **kwargs): | |
logging.log(level, msg, *args, **kwargs) | |
def on_task_start(self, name, is_conditional): |
# Automatically instal the latest nginx | |
wget -O - http://nginx.org/keys/nginx_signing.key | sudo apt-key add - | |
#Make a backup copy of your current sources.list file | |
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak | |
#Now copy the following repositories to the end of ` /etc/apt/sources.list` | |
echo "deb http://nginx.org/packages/mainline/ubuntu/ trusty nginx" | sudo tee -a /etc/apt/sources.list | |
echo "deb-src http://nginx.org/packages/mainline/ubuntu/ trusty nginx" | sudo tee -a /etc/apt/sources.list |
#!/usr/bin/env python | |
import argparse | |
import psycopg2 | |
import psycopg2.extras | |
import csv | |
from getpass import getpass, getuser | |
def main(args): | |
''' | |
Inserts a TSV into table in postgresql |
#References: | |
#http://forums.autodesk.com/t5/installation-licensing/installing-maya-on-ubuntu/td-p/4905036 | |
#http://askubuntu.com/questions/392806/installing-maya-on-ubuntu-linux | |
#https://gist.github.com/insomniacUNDERSCORElemon/5555214 | |
#http://nealbuerger.com/2013/05/ubuntu-13-04-maya-2014-install-script/ | |
#http://www.nkoubi.com/blog/tutorial/how-to-install-autodesk-maya-2011-on-debian-ubuntu/ | |
#http://help.autodesk.com/view/MAYAUL/2015/ENU/?guid=GUID-E7E054E1-0E32-4B3C-88F9-BF820EB45BE5 | |
#http://www.andrewhazelden.com/blog/2014/10/autodesk-nlm-licensing-issues-with-maya-2015-and-max-2015/ |
Install OS X El Capitan
is created