A list of amazingly awesome PHP libraries, resources and shiny things.
- Composer/Packagist - A package and dependency manager.
- Composer Installers - A multi framework Composer library installer.
CREATE TABLE `user` ( | |
`twitter_id` int(10) unsigned NOT NULL, | |
`name` varchar(140) NOT NULL, | |
`screen_name` varchar(30) NOT NULL, | |
`location` varchar(180) default NULL, | |
`description` varchar(300) default NULL, | |
`profile_image_url` varchar(400) NOT NULL, | |
`url` varchar(400) default NULL, | |
`protected` varchar(5) default NULL, | |
`followers_count` int(10) unsigned NOT NULL, |
A list of amazingly awesome PHP libraries, resources and shiny things.
public function afterFilter(){ | |
parent::afterFilter(); | |
// sql logging to chrome console | |
if (class_exists('ConnectionManager') && Configure::read('debug') >= 2) { | |
App::import('Vendor', 'ChromePhp/ChromePhp'); | |
$sources = ConnectionManager::sourceList(); | |
$logs = array(); |
<?php # -*- coding: utf-8 -*- | |
/* | |
Plugin Name: All Actions List | |
Description: Lists all actions run during one request. | |
Version: 1.0 | |
Required: 3.1 | |
Author: Thomas Scholz | |
Author URI: http://toscho.de | |
License: GPL | |
*/ |
<?php | |
/** | |
* @author awan < http://www.nawa.me > | |
* | |
*/ | |
/** | |
* Function to build SQL /Importing SQL DATA |
var base_path = __dirname.replace('resources/nodejs', ''); | |
require('dotenv').config({ | |
path: base_path+'.env' | |
}); | |
var port = process.env.NODE_SERVER_PORT, | |
redis = require('redis'), | |
redis_client = redis.createClient(), | |
cookie = require('cookie'), | |
os = require('os'), |
//Shortcuts | |
var $P = Ti.App.Properties; | |
var $F = Ti.Filesystem; | |
// PLATFORM RELATED Functions | |
exports.osname = Ti.Platform.osname; | |
exports.iOS = function() { return (Ti.Platform.osname === 'ipad' || Ti.Platform.osname ==='iphone')}; | |
exports.android = function() { return Ti.Platform.osname === 'android' } |