Skip to content

Instantly share code, notes, and snippets.

View segebee's full-sized avatar
💭
building products

Segun Abisagbo segebee

💭
building products
View GitHub Profile
CREATE TABLE IF NOT EXISTS `country` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`iso` char(2) NOT NULL,
`name` varchar(80) NOT NULL,
`nicename` varchar(80) NOT NULL,
`iso3` char(3) DEFAULT NULL,
`numcode` smallint(6) DEFAULT NULL,
`phonecode` int(5) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class MY_Session extends CI_Session
{
public function __construct($params = array())
{
log_message('debug', "Session Class Initialized");
// Set the super object to a local variable for use throughout the class
$this->CI =& get_instance();
void function() {//closure
var global = this
, _initKeyboardEvent_type = (function( e ) {
try {
e.initKeyboardEvent(
"keyup" // in DOMString typeArg
, false // in boolean canBubbleArg
, false // in boolean cancelableArg
, global // in views::AbstractView viewArg
@segebee
segebee / nigeria_state_polygons.json
Created January 3, 2016 14:32 — forked from logbon72/nigeria_state_polygons.json
Coordinate Boundaries for Nigerian States
{
"ABIA": [
[5.3918045732398, 7.3196411132812],
[5.4246168391946, 7.3388671875],
[5.4437565043427, 7.3663330078125],
[5.5285105256928, 7.4020385742188],
[5.6282859838703, 7.4006652832031],
[5.6856833027592, 7.3814392089844],
[5.6952489676056, 7.4020385742188],
[5.8428131655266, 7.3855590820312],
@segebee
segebee / gulpfile.js
Created August 11, 2016 03:41 — forked from jadsalhani/gulpfile.js
Ionic Tutorial
var gulp = require('gulp');
var gutil = require('gulp-util');
var bower = require('bower');
var concat = require('gulp-concat');
var sass = require('gulp-sass');
var minifyCss = require('gulp-minify-css');
var rename = require('gulp-rename');
var sh = require('shelljs');
var uglify = require('gulp-uglify');
var mainBowerFiles = require('main-bower-files');