Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Allows for delay functionality in effects, etc.
$("#navpanel").delay(2000).animate({top:"-250px"}, {easing:"swing"});
2
2055
posted 17 years ago by ninjamuk
Можно выкладывать даже файлы, Ñодержащие кириллицу в названии. Они будет подвергнуты транÑлитерации, пробелы и другие небезопаÑные ÑимÐ...
0
2247
posted 17 years ago by almazom
Not particularly novel, but quite clean. Allows you to put images in any location on the server and saves having to generate thumbnails at upload time.
The URL to this file should be:
`<filename.php>/<request>/<path>`
Valid request types:...
1
1857
posted 17 years ago by Kit
This uses the button's instance name to assign functions. Instead of using a bunch of event listeners, you can use one function to delegate actions according to the button's instance name.
0
1621
posted 17 years ago by MacEvelly
method 'E' (in fact a decorator) catch the execption and return it, so it's possible to use the good old assert statement.
0
1703
posted 17 years ago by manatlan
Takes a number in bytes and returns the number in (KB,MB,GB) for human-readable format.
1
1859
posted 17 years ago by stancox
This is useful if you do not currently have a trunk/branch structure and would like to move everything into a new trunk.
0
4151
posted 17 years ago by jmiller
This shows how we can find objects inside code blocks (aka data sets).
0
2756
posted 17 years ago by chrisaiv
Where:
* 3307 is the local port used to connect to the remote database. You can use 3306, however, this could conflict with your PC’s MySQL installation.
* localhost and 3306 is the MySQL address from the remote server (most people will...
0
1961
posted 17 years ago by danshields