Advice and wisdom from Brendan Baker, formerly of Greylock.
(He used to have pitchpatterns.com, which listed all of these, but that domain has since lapsed.)
using haxe.Json; | |
class OgmoUtils | |
{ | |
// region PARSING | |
/** | |
* Parse OGMO Editor level .json text | |
* @param json | |
* @return LevelData |
<?xml version="1.0"?> | |
<ruleset name="WordPress" namespace="WordPress"> | |
<description>WordPress Coding Standards</description> | |
<autoload>./PHPCSAliases.php</autoload> | |
<!--<rule ref="WordPress-Core"/> --> | |
<rule ref="WordPress-Core"> | |
<exclude name="Generic.Commenting.DocComment.MissingShort" /> |
Advice and wisdom from Brendan Baker, formerly of Greylock.
(He used to have pitchpatterns.com, which listed all of these, but that domain has since lapsed.)
const WordpressPurgeCSS = { | |
whitelist: [ | |
"rtl", | |
"home", | |
"blog", | |
"archive", | |
"date", | |
"error404", | |
"logged-in", | |
"admin-bar", |
__author__ = 'vijay' | |
import os | |
import atomac | |
from atomac.AXKeyCodeConstants import * | |
import time | |
import commands | |
from atomac import AXKeyCodeConstants |
#!/usr/bin/env python | |
""" | |
HACK to support the Django + nose without django-nose. | |
Built based on documentation from: | |
* https://docs.djangoproject.com/en/1.8/topics/testing/advanced/#using-the-django-test-runner-to-test-reusable-applications | |
* http://nose.readthedocs.org/en/latest/usage.html#basic-usage | |
""" | |
import sys |
This is the hack approach to adding environment variables to the nginx configuration files. As with most Google results for this search, the reason is Docker.
I intended to deploy two Docker containers.
# Run Application specific setup tasks here! | |
#!/usr/bin/env bash | |
cd /vagrant | |
fig run web foreman run rake db:create | |
fig run web foreman run rake db:migrate |
from django.core.management.base import BaseCommand | |
from mymodule import main | |
import logging | |
class Command(BaseCommand): | |
help = 'Do foo' | |
def handle(self, *args, **options): |