Skip to content

Instantly share code, notes, and snippets.

View hardfire's full-sized avatar
🥑
avoca-do-ing

अभिनाश (Avinash) hardfire

🥑
avoca-do-ing
View GitHub Profile
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
* Bonfire
*
* An open source project to allow developers get a jumpstart their development of CodeIgniter applications
*
* @package Bonfire
* @author Bonfire Dev Team
* @copyright Copyright (c) 2011 - 2012, Bonfire Dev Team
* @license http://guides.cibonfire.com/license.html
@hardfire
hardfire / module.sh
Created September 1, 2012 16:59
create base files for a bonfire module
#! /bin/bash
# create base files for a bonfire module
u=$(tr '[a-z]' '[A-Z]' <<< ${1:0:1})
className="${u}${1:1}"
mkdir $1
mkdir "$1/assets"
mkdir "$1/config"
@hardfire
hardfire / MY_Parser.php
Created August 30, 2012 06:56
Parser for Bonfire
<?php defined('BASEPATH') OR exit('No direct script access allowed');
/**
* MY Parser
*
* @package Bonfire
* @subpackage Libraries
* @category Parser
* @author Avinash Kundaliya
* @link http://cibonfire.com
@hardfire
hardfire / 0_reuse_code.js
Created July 9, 2014 10:06
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
/* HTML Element
<div class="group awesome" id="new">Test</div>
*/
//js
var classes = document.getElementById('new').classList;
console.log(classes);
/* console output
0: group