Skip to content

Instantly share code, notes, and snippets.

@wna-se
wna-se / gist:3d7c68749f70d186e88fd6360349dc10
Created December 30, 2017 06:42 — forked from bobbyd3/gist:10022440
Netgear R7000 and DD-WRT
@wna-se
wna-se / httpd.conf
Last active September 6, 2015 10:37 — forked from zroger/httpd.conf
Minimal httpd.conf for running apache in the foreground for local php development.
#
# Minimal httpd.conf for running apache in the foreground for local php
# development.
#
# Setup:
# 1. Place this file in the root of your project.
# 2. Make sure the ./tmp directory exists (for the pid and lock files).
# 3. Update the DocumentRoot and Directory directives with the relative path to
# your project's document root.
#
cat <<EOT | curl -X POST -H "Content-Type: application/json" http://dflow/api/jobs -d @-
{
"api_key": "test_key",
"job":
{
"copyright": "false",
"treenode_id": "3",
"name": "Test job name",
"object_info": "",
"comment": "",
/** @jsx React.DOM */
var STATES = [
'AL', 'AK', 'AS', 'AZ', 'AR', 'CA', 'CO', 'CT', 'DE', 'DC', 'FL', 'GA', 'HI',
'ID', 'IL', 'IN', 'IA', 'KS', 'KY', 'LA', 'ME', 'MD', 'MA', 'MI', 'MN', 'MS',
'MO', 'MT', 'NE', 'NV', 'NH', 'NJ', 'NM', 'NY', 'NC', 'ND', 'OH', 'OK', 'OR',
'PA', 'RI', 'SC', 'SD', 'TN', 'TX', 'UT', 'VT', 'VA', 'WA', 'WV', 'WI', 'WY'
]
var Example = React.createClass({