https://github.com/miksago/jade-tmbundle
https://github.com/LearnBoost/stylus/tree/master/editors
~/Downloads/
cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| fabfile for Django | |
| ------------------ | |
| see http://morethanseven.net/2009/07/27/fabric-django-git-apache-mod_wsgi-virtualenv-and-p/ | |
| modified for fabric 0.9/1.0 by Hraban (fiëé visuëlle) | |
| several additions, corrections and customizations, too |
| parse_git_branch() { | |
| ref=$(git symbolic-ref -q HEAD 2> /dev/null) || return | |
| printf "${1:-(%s)}" "${ref#refs/heads/}" | |
| } | |
| parse_svn_revision() { | |
| local DIRTY REV=$(svn info 2>/dev/null | grep Revision | sed -e 's/Revision: //') | |
| [ "$REV" ] || return | |
| [ "$(svn st)" ] && DIRTY=' *' | |
| echo "(r$REV$DIRTY)" |
| # Update, upgrade and install development tools: | |
| apt-get update | |
| apt-get -y upgrade | |
| apt-get -y install build-essential git-core curl libssl-dev \ | |
| libreadline5 libreadline5-dev \ | |
| zlib1g zlib1g-dev \ | |
| libmysqlclient-dev \ | |
| libcurl4-openssl-dev \ | |
| libxslt-dev libxml2-dev |
| This playbook has been removed as it is now very outdated. |
| # | |
| # Working with branches | |
| # | |
| # Get the current branch name (not so useful in itself, but used in | |
| # other aliases) | |
| branch-name = "!git rev-parse --abbrev-ref HEAD" | |
| # Push the current branch to the remote "origin", and set it to track | |
| # the upstream branch | |
| publish = "!git push -u origin $(git branch-name)" |
W3C Introduction to Web Components - explainer/overview of the technologies
Google Chrome Developers says:
The new WOFF 2.0 Web Font compression format offers a 30% average gain over WOFF 1.0 (up to 50%+ in some cases). WOFF 2.0 is available since Chrome 36 and Opera 23.
Some examples of file size differences: WOFF vs. WOFF2
Apache Cordova is a set of device APIs that allow a mobile app developer to access native device function such as the camera or accelerometer from JavaScript
PhoneGap is Adobe's implementation of Cordova. PhoneGap also offers the PhoneGap Build service. This is not covered here.
| #!/usr/bin/env python | |
| """ | |
| Compile Django Templates from the command line | |
| Thomas Parslow 2014 | |
| tom@almostobsolete.net | |
| tomparslow.co.uk almostobsolete.net | |
| Run passing in the the template file to read and the context data as | |
| JSON. Will output the compiled HTML on stdout. |