Skip to content

Instantly share code, notes, and snippets.

View nambok's full-sized avatar

Nam Bok Rodriguez nambok

View GitHub Profile
#!/bin/bash
#brew install ffmpeg --with-theora --with-libvorbis --with-fdk-aacc --with-libvpx
#default varialbes
remove_file=false
file_or_dir=false
#new_file_path=false
new_file_name=false
RED="\e[0;31m"
NOCOLOR="\e[0m"
@nambok
nambok / template.php
Created October 7, 2012 04:56
Template class
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
Class Template{
/*
* variables
*/
/**
@nambok
nambok / MY_Input.php
Created October 4, 2012 14:53
Extends codeigniter input class to accept put and delete requests
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class MY_Input extends CI_Input {
/**
* Variables
*
*/
protected $delete;