Skip to content

Instantly share code, notes, and snippets.

View gmann1982's full-sized avatar

George Rome gmann1982

  • Stoke On Trent, England
View GitHub Profile
@gmann1982
gmann1982 / interface
Created August 29, 2013 07:53
repository interface snippet
<snippet>
<content><![CDATA[
<?php
namespace $1\Repositories;
interface $2RepositoryInterface
{
public function instance();
}
]]></content>
@gmann1982
gmann1982 / repo
Created August 29, 2013 07:54
repository
<snippet>
<content><![CDATA[
<?php
namespace $1\Repositories;
class Elequent$2Repository implements $2RepositoryInterface
{
public function instance($data = array())
{
return new $2($data);
@gmann1982
gmann1982 / provider
Last active December 21, 2015 22:29
service provider
<snippet>
<content><![CDATA[
<?php
namespace $1\Repositories;
class Elequent$2Repository implements $2RepositoryInterface
{
public function instance($data = array())
{
return new $2($data);
@gmann1982
gmann1982 / st-setup
Created August 30, 2013 11:10
sublime text setup
{
"bold_folder_labels": true,
"color_scheme": "Packages/Solarized Color Scheme/Solarized (dark).tmTheme",
"detect_slow_plugins": false,
"font_face": "Ubuntu Mono",
"font_options": "subpixel_antialias",
"font_size": 12,
"highlight_line": true,
"highlight_modified_tabs": true,
"ignored_packages":
<?php
/**
*
*/
class Dealer
{
public function buildSqlQuery($sql, $distinct_field=false, $where_field=array(), $order_field=array(), $limit=false) {
<?php
/**
*
*/
class Dealer
{
public function buildSqlQuery($sql, $distinct_field=false, $where_field=array(), $order_field=array(), $limit=false) {
<?php
/**
*
*/
ini_set("memory_limit", "256M");
class Reports
{
public $conn_count = 0;
public $un_conn_count = 0;
if(! ('ace' in window) ) window['ace'] = {}
jQuery(function($) {
//at some places we try to use 'tap' event instead of 'click' if jquery mobile plugin is available
window['ace'].clickOrTap = $.fn.tap ? "tap" : "click";
});
jQuery(function($) {
ace.sidebarHandler(jQuery);
In the .zshrc you need to select the theme blinks
SH_THEME="blinks"
You can find this here:
https://gist.github.com/gmann1982/9981379
this will need to go in the file