Skip to content

Instantly share code, notes, and snippets.

:shipit:
Staring into an abyss

Sallar Kaboli sallar

:shipit:
Staring into an abyss
Block or report user

Report or block sallar

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@sallar
sallar / console-example.php
Created Mar 27, 2013
PHP Colored CLI Output Script.
View console-example.php
<?php
// Output screenshot:
// http://cl.ly/NsqF
// -------------------------------------------------------
include_once 'console.php';
// ::log method usage
// -------------------------------------------------------
Console::log('Im Red!', 'red');
@sallar
sallar / include.php
Created Sep 7, 2011
Include jDateTime
View include.php
<?php
require_once dirname(__FILE__) . '/jdatetime.class.php';
You can’t perform that action at this time.