Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 269 270 271 272 273 ... 552
0 2434 posted 16 years ago by ksaver
This is if you have multiple domains pointed to the same directory on a server.
1 1880 posted 16 years ago by batfan
You have a RGB value and want to convert it into Hexadecimal mode, here’s how to do it using JavaScript.
0 2076 posted 16 years ago by math89
0 1988 posted 16 years ago by thesmu
1 1958 posted 16 years ago by thesmu
1 1836 posted 16 years ago by thesmu
0 1824 posted 16 years ago by throb
1 2047 posted 16 years ago by nhocki
Drawing scaled rectangles of arbitrary width and height that keeps the corner and sides properly scaled while growing the center.
1 3128 posted 16 years ago by zingo
All code should ideally go into your theme\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'s template.php file. I\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'ve used the default Garland theme here as an example.
0 1967 posted 16 years ago by hiddentao
3 2549 posted 16 years ago by damanlovett
Logic to subtract months from a date field and extract year and month
0 2084 posted 16 years ago by mprabhuram
0 1699 posted 16 years ago by isholgueras
We can use this in a shell script (while doing a backup process, an update, ...)
1 1788 posted 16 years ago by isholgueras
0 1778 posted 16 years ago by pflangan
0 1477 posted 16 years ago by barbelith
Orders a multi-dimensional field (such as sorting multiple $orders by field 'id')
0 2021 posted 16 years ago by jmiller
Pass in object. Returns array.
0 1976 posted 16 years ago by jmiller
0 1754 posted 16 years ago by robksawyer
A simple one liner that updates the Auth component's session variables when the user model is updated
0 1550 posted 16 years ago by robksawyer
The Navigation class is a view that contains all the two navigation arrows, ie. left and right.
0 1725 posted 16 years ago by derrekwayne
The Controller class handles user gestures through navigation logic and updates the Model.
0 1781 posted 16 years ago by derrekwayne
1 ... 269 270 271 272 273 ... 552