Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
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
HTML
Meta Tag - Auto Refresh in html doc page header to preview in IE FF all browsers while working coding
0
3213
posted 16 years ago by brandonjp
Logic to subtract months from a date field and extract year and month
0
2084
posted 16 years ago by mprabhuram
We can use this in a shell script (while doing a backup process, an update, ...)
1
1788
posted 16 years ago by isholgueras
Orders a multi-dimensional field (such as sorting multiple $orders by field 'id')
0
2021
posted 16 years ago by jmiller
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