This file contains 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 | |
echo "Updating Flow..." | |
# Update to the latest version of flow. | |
cd ~/flow | |
git fetch | |
git checkout master | |
git pull origin master |
This file contains 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
<link rel="import" href="../paper-input/paper-input.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; |
This file contains 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/zsh | |
git clone git@github.com:fclimited/flow.git /home/vagrant/flow/ | |
sudo apt-get install php5-curl -f -y --force-yes | |
cd /home/vagrant/flow/ | |
php composer.phar install | |
ln -s /home/vagrant/flow/flow ~/scripts/flow |
This file contains 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
Tundra.CustomClass.extend("jQuery.Controller", | |
{ | |
}, | |
{ | |
_pluginManager: Tundra.Controllers.Plugins.PluginManager, | |
_hasPlugins: false, | |
registerPlugins: function() { | |
if (this.pluginSettings != "") { | |
this._pluginManager.registerPlugins(this.pluginSettings, this); | |
this._hasPlugins = true; |
This file contains 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
from django.core.management.base import LabelCommand | |
from django.template.loader import find_template | |
from django.template import TemplateDoesNotExist | |
import sys | |
def get_template_path(path): | |
try: | |
template = find_template(path) | |
return template[1].name | |
except TemplateDoesNotExist: |
This file contains 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
// ==UserScript== | |
// @name Download with Wget | |
// @namespace http://userscripts.org/users/14536 | |
// @description Creates code to download web pages, images and other files using wget | |
// @include * | |
// ==/UserScript== | |
// Last updated 2009-01-13 | |
function $(id) { return document.getElementById(id); } |
This file contains 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
from django.conf import settings | |
from django.utils.importlib import import_module | |
def load_settings(apps): | |
for app in apps: | |
try: | |
mod = import_module('.config', app) | |
for setting in dir(mod): | |
if setting == setting.upper(): | |
value = getattr(mod, setting) |
This file contains 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
Installing collected packages: | |
Successfully installed | |
Requirement already satisfied: django in /usr/lib/python2.5/site-packages | |
Installing collected packages: django | |
Successfully installed django | |
Requirement already satisfied: pycrypto in /usr/lib/python2.5/site-packages/pycrypto-2.0.1-py2.5-linux-i686.egg | |
Installing collected packages: pycrypto | |
Successfully installed pycrypto | |
Downloading/unpacking http://www.satchmoproject.com/snapshots/trml2pdf-1.2.tar.gz | |
Downloading trml2pdf-1.2.tar.gz (173Kb): |