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
import sys | |
from datetime import datetime | |
from freezegun import freeze_time | |
from django.core.management import call_command | |
from django.core.management.commands.runserver import Command as RunServerCmd | |
class Command(RunServerCmd): | |
""" |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
<html> | |
<head> | |
<meta charset='utf-8'/> | |
<title>PUNK RIFF GENERATOR</title> | |
<style> | |
.riffgenbox input { | |
width: 25px; | |
} | |
.riffgenbox pre { | |
width: 600px; |
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
Hello, my name is {{ name }}! | |
I'm {{ age }} years old, yay! |
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
#!/usr/bin/env python | |
#-*- coding:utf-8 -*- | |
""" | |
consolelogger.py | |
Author: raphi <r.gaziano@gmail.com> | |
Created: 24/01/2013 | |
Version: 1.0 | |
""" | |
import sys, logging |
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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
""" | |
qtdbg.py | |
A simple PyQt output widget. | |
It's main use case is to serve as an output console, for debugging or | |
other purposes. | |
It provides a file-like interface for ease of integration with other | |
python features such as the logging module, on top of a slightly |