Skip to content

Instantly share code, notes, and snippets.

View nteej's full-sized avatar
🎯
Focusing

Tharanga Jayasinghe nteej

🎯
Focusing
View GitHub Profile
@nteej
nteej / README.md
Created October 2, 2019 11:08 — forked from hasanbayatme/README.md
Easy to use Bash Script to Install LAMP stack on Ubuntu.

Installation

Automatic

Run the below command in terminal:

wget --no-cache -O - https://gist.github.com/EmpireWorld/737fbb9f403d4dd66dee1364d866ba7e/raw/install-lamp.sh | bash
@nteej
nteej / Generic_model.php
Created August 16, 2019 17:09 — forked from jaonoctus/Generic_model.php
CodeIgniter generic model
<?php
/**
* A base model with a series of CRUD functions (powered by CI's query builder),
* validation-in-model support, event callbacks and more.
*
* @link http://github.com/jamierumbelow/codeigniter-base-model
* @copyright Copyright (c) 2012, Jamie Rumbelow <http://jamierumbelow.net>
*/
class MY_Model extends CI_Model