AzizLight


Member since 11/09/2008

Name: Aziz Light

AzizLight

Website: http://twitter.com/aziz_light

24 snippets

8428 profile views

4 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

AzizLight's Recent Snippets



« Prev 1 Next »
0 1148 posted 15 years ago by AzizLight
1 1399 posted 15 years ago by AzizLight
Put this at the top of your CodeIgniter models, controllers, libraries and helpers to restrict direct access to them.
1 2191 posted 15 years ago by AzizLight
Set the default timezone for date/time functions to use if none is set on the server.
0 1407 posted 15 years ago by AzizLight
0 1352 posted 16 years ago by AzizLight
Simple script that returns to us a list with possible TimeZones
0 1442 posted 16 years ago by AzizLight
(I am not the author of this script. I suppose the homepage of the author is the following: [http://iyoremo.com/](http://iyoremo.com/))
1 1014 posted 16 years ago by AzizLight
I rewrote [this snippet](http://snipplr.com/view/15402/php-password-generator/). Usage: $password1 = new Password; $password2 = new Password; echo '<p>' . $password1->generate() . '</p>'; echo '<p>' . $password2->generate(array('leng...
1 1575 posted 16 years ago by AzizLight
1 1152 posted 16 years ago by AzizLight
This line can be used to refresh the current page. Submitted by philsturgeon on #codeigniter in the Freenode IRC server.
3 1418 posted 16 years ago by AzizLight
1 1560 posted 16 years ago by AzizLight
In Snow Leopard, bash treats colors differently. All the color codes that are escaped with \e won't be recognized. The new escape sequence is \033. The list below works perfectly in Snow Leopard
0 1286 posted 16 years ago by AzizLight
/!\Notice: Change the ci_dir to wherever your ci folder is on line 3. /!\ Usage: ci [name of project] Gives the project a name based on the current date if the user didn't provide one. Option to move the app directory outside of the system dire...
2 1728 posted 16 years ago by AzizLight
I did write this snippet, I found it somewhere on the internet (I think I found it in a .bash_profile file in [dotfiles.org](http://www.dotfiles.org/) Paste this code at the end of your .bash_profile file and the use it instead of man if you want...
0 1054 posted 16 years ago by AzizLight
2 1253 posted 17 years ago by AzizLight
« Prev 1 Next »