- originally text template (phpBB2)
- XML based format
- machine readable
- xsd schema validation
- xsl stylesheet
- pain to write by hand
- convertor text => modx
- modx2?
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
public class HelloWorld | |
{ | |
String output = ""; | |
static HelloWorld helloObj; | |
public HelloWorld() | |
{ | |
output = "Hello World"; | |
} |
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
<?php | |
/** | |
* | |
* @package Spammer Prunner for phpBB3 | |
* @license http://www.opensource.org/licenses/mit-license.php The MIT License | |
* @copyright Copyright (c) 2011 Sam Thompson <[email protected]> | |
*/ | |
set_time_limit(0); | |
define('IN_PHPBB', 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
# | |
# CSS Generator | |
# | |
# Scans a directory for all the CSS and compiles them into a single, compressed | |
# document for easy and quick access from the client side. Also sends headers | |
# to ensure that the document will not be loaded more than every 2 days. | |
# | |
<Files .htaccess> | |
Order Allow,Deny |
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
<?php | |
use \OpenFlame\Framework\Core; | |
use OpenFlame\Framework\Event\Instance as Event; | |
use OpenFlame\Framework\Utility\JSON; | |
$dispatcher = Core::setObject('dispatcher', new \OpenFlame\Framework\Event\Dispatcher()); | |
$session = Core::setObject('session', new \OpenFlame\Framework\Session\Driver()); | |
$header = Core::setObject('header', new \OpenFlame\Framework\Header\Manager()); | |
$input = Core::setObject('input', new \OpenFlame\Framework\Input\Handler()); |
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
<?php | |
/* | |
* Markdown Parser | |
* Version 0.1.0 | |
* By Sam Thompson <http://openflame-project.org/> | |
* | |
* This code has hereby been released into the public domain | |
* There's absolutely no warranty. | |
* | |
* This class works as a parser for Markdown, placing the data in an array to |
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
<?php | |
require __DIR__.'/includes/BarcodeBase.php'; | |
require __DIR__.'/includes/QRCode.php'; | |
require __DIR__.'/includes/DataMatrix.php'; | |
require __DIR__.'/includes/PDF417.php'; | |
require __DIR__.'/includes/Code39.php'; | |
require __DIR__.'/includes/Code128.php'; | |
$bcode = array(); |
I hereby claim:
- I am samt on github.
- I am samparticle (https://keybase.io/samparticle) on keybase.
- I have a public key ASCk1UZEjqMOrqSvTO3nBeJhmclolP1f1nCy2Aiv6VNBeQo
To claim this, I am signing this object:
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
{ | |
"event": "hckrpt", | |
"responseTopic": "hook-response/hckrpt/{{{PARTICLE_DEVICE_ID}}}", | |
"errorResponseTopic": "hook-error/hckrpt/{{{PARTICLE_DEVICE_ID}}}", | |
"url": "https://api.hackerpet.com/v1/webhook?sheet_id=<ADD_YOUR_SHEET_ID_HERE>", | |
"requestType": "POST", | |
"noDefaults": true, | |
"rejectUnauthorized": true, | |
"responseTemplate": "", | |
"json": { |
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
(module M.2-TEMPLATE (layer F.Cu) (tedit 5DC8ECDB) | |
(descr {{datasheet}}) | |
(tags {{tags}}) | |
(attr smd) | |
(fp_text reference REF** (at 0.05 -5.75) (layer F.SilkS) | |
(effects (font (size 1 1) (thickness 0.12))) | |
) | |
(fp_text value {{name}} (at 0 6) (layer F.Fab) | |
(effects (font (size 1 1) (thickness 0.15))) | |
) |
OlderNewer