This file contains hidden or 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 | |
$view = preg_replace('/[^a-z]/', '', $_SERVER['REQUEST_URI']) ?: 'index'; | |
require __DIR__ . '/layout.php'; |
This file contains hidden or 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
/// <reference path="src/someName.d.ts" /> | |
/// <reference path="src/c1.ts" /> | |
/// <reference path="src/c2.ts" /> | |
/// <reference path="src/app.ts" /> |
This file contains hidden or 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
/// <reference path="some-name.ts" /> | |
/// <reference path="master.ts" /> |
This file contains hidden or 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
Composer version ac497feabaa0d247c441178b7b4aaa4c61b07399 2014-06-10 14:13:12 | |
installed: | |
bnet/bnmoney 1.3.3 PHP Library for dealing with money and currency | |
dflydev/markdown v1.0.3 PHP Markdown & Extra | |
ezyang/htmlpurifier dev-master 80ebd43 Standards compliant HTML filter written in PHP | |
facebook/php-sdk v3.2.3 Facebook PHP SDK | |
fzaninotto/faker dev-master 0b903ea Faker is a PHP library that generates fake data for you. | |
guzzle/common v3.9.1 Common libraries used by Guzzle | |
guzzle/http v3.9.1 HTTP libraries used by Guzzle |
This file contains hidden or 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
installed: | |
bnet/bnmoney 1.3.3 PHP Library for dealing with money and currency | |
dflydev/markdown v1.0.3 PHP Markdown & Extra | |
ezyang/htmlpurifier dev-master 80ebd43 Standards compliant HTML filter written in PHP | |
facebook/php-sdk v3.2.3 Facebook PHP SDK | |
fzaninotto/faker dev-master 0b903ea Faker is a PHP library that generates fake data for you. | |
guzzle/common v3.9.1 Common libraries used by Guzzle | |
guzzle/http v3.9.1 HTTP libraries used by Guzzle | |
guzzle/parser v3.9.1 Interchangeable parsers used by Guzzle | |
guzzle/stream v3.9.1 Guzzle stream wrapper component |
This file contains hidden or 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 PHPExcel; | |
use PHPExcel_Cell as Cell; | |
use PHPExcel_IOFactory as IOFactory; | |
use PHPExcel_Style_Alignment as Alignment; | |
use XMod\DataTable; | |
class XLS { | |
public $datatable; |
This file contains hidden or 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 | |
class MySQLiAsyncQuery { | |
public $mysqli; | |
public $query; | |
public $links; | |
public $errors; | |
public $reject; | |
public $mysqlnd; | |
public $result; |
This file contains hidden or 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_once 'path/to/bootstrap.php'; ?> | |
<html> | |
<body> | |
<div class="editable" data-id="body"> | |
<?= get_content('body'); ?> | |
</div> | |
<?php if (user_can_edit()): ?> | |
<script src="raptor.js"></script> | |
<script> | |
$('.editable').raptor({ |
This file contains hidden or 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 | |
/** | |
* XMod\Debug\Render\HTML\Hex | |
* | |
* @author David Neilsen <[email protected]> | |
*/ | |
namespace XMod\Debug\Render\HTML; | |
use XMod\Debug\Render\HTML; | |
class Hex { |
This file contains hidden or 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 | |
function backup($database, $path) { | |
if (!file_exists($path)) { | |
mkdir($path); | |
} | |
if (!is_dir($path)) { | |
echo 'Could not create directory: ' . $path . PHP_EOL; | |
return; | |
} | |
file_put_contents("$path/$database.timestamp", date('Y-m-d H:i:s')); |