Name | Latest Release | Size (KB) | License | Type | Unit Tests | Docs | Notes |
---|---|---|---|---|---|---|---|
The Render Engine | 1.5.3 | MIT | Cross-browser; extensive API; open-source. 2 | ||||
gameQuery | 0.5.1 | CC BY-SA 2.5 | Designed to be used with jQuery | ||||
gTile | 0.0.1 (2008-07-21) | Tile based | |||||
Akihabara | 1.3 | GPL2/MIT | Classic Repro | Intended for making classic arcade-style games in JS+HTML5 3 | |||
The Javascript 2D Game Engine | GPL | Emphasis on gravity/physics/collision detection; uses HTML5 Canvas and ExplorerCanvas for IE support. Focus on limiting CPU usage. 4 | |||||
The GMP Javascript Game Engine |
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
# Install Docker | |
sudo yum -y install docker-io | |
# Add the repository for Zookeeper package | |
sudo rpm -Uvh http://archive.cloudera.com/cdh4/one-click-install/redhat/6/x86_64/cloudera-cdh-4-0.x86_64.rpm | |
# Add the repository for mesos and marathon | |
sudo rpm -Uvh http://repos.mesosphere.io/el/6/noarch/RPMS/mesosphere-el-repo-6-2.noarch.rpm | |
# Install ZooKeeper, Mesos and Marathon |
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 django | |
from django.utils.translation import ugettext_lazy as _ | |
from debug_toolbar.panels import DebugPanel | |
from haystack.backends import queries | |
class HaystackDebugPanel(DebugPanel): | |
""" | |
Panel that displays the Haystack queries. | |
""" | |
name = 'Haystack' |
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
var daemon = require('./daemon'); | |
var sys = require('sys'); | |
var fs = require('fs'); | |
var http = require('http'); | |
var config = { | |
lockFile: '/tmp/hellohttpd.lock' //Location of lockFile | |
}; | |
var args = process.argv; |
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 time | |
class PageCategoryFilter(object): | |
def __init__(self, config): | |
self.mode = config["mode"] | |
self.categories = config["categories"] | |
def filter(self, bid_request): | |
if self.mode == "whitelist": |
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 | |
""" | |
Console output colorizator | |
Author: Alexander Artemenko <svetlyak.40wt@gmail.com> | |
Usage: tail -f some.log | colorize.py 'one.*pattern' 'another' | |
DON'T DOWNLOAD THIS SCRIPT. JUST INSTALL IT USING easy_install colorize | |
OR FORK IT https://github.com/svetlyak40wt/colorize | |
""" |
Name | Latest Release | Size (KB) | License | Type | Unit Tests | Docs | Notes |
---|---|---|---|---|---|---|---|
The Render Engine | 1.5.3 | MIT | Cross-browser; extensive API; open-source. 2 | ||||
gameQuery | 0.5.1 | CC BY-SA 2.5 | Designed to be used with jQuery | ||||
gTile | 0.0.1 (2008-07-21) | Tile based | |||||
Akihabara | 1.3 | GPL2/MIT | Classic Repro | Intended for making classic arcade-style games in JS+HTML5 3 | |||
The Javascript 2D Game Engine | GPL | Emphasis on gravity/physics/collision detection; uses HTML5 Canvas and ExplorerCanvas for IE support. Focus on limiting CPU usage. 4 | |||||
The GMP Javascript Game Engine |
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 re | |
from django.utils.html import strip_spaces_between_tags | |
from django.conf import settings | |
RE_MULTISPACE = re.compile(r"\s{2,}") | |
RE_NEWLINE = re.compile(r"\n") | |
class MinifyHTMLMiddleware(object): | |
def process_response(self, request, response): | |
if 'text/html' in response['Content-Type'] and settings.COMPRESS_HTML: |
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 in combination with https://github.com/zyga/django-pagination #} | |
{# and http://twitter.github.com/bootstrap/ #} | |
{# project-dir/templates/pagination/pagination.html #} | |
{% if is_paginated %} | |
{% load i18n %} | |
<div class="pagination"> | |
<ul> | |
{% block previouslink %} | |
{% if page_obj.has_previous %} |
OlderNewer