Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
I found this awesome class by [email protected] and can't help but share it.
1
1222
posted 15 years ago by chrisaiv
Mounting a windows share in Ubuntu (The UI version doesn't seem to offer a mount point).
0
1026
posted 15 years ago by narkisr
Add the following code in theme's functions.php to disable auto-save and post revision completely.
0
802
posted 15 years ago by kevinbanet
Just replace classic document.ready with pageLoad function as belows:
pageLoad function will called on all postback and partial postbacks. So it makes the jquery code no matter what :D
Even in update panel.
1
995
posted 15 years ago by delikassap
Now whenever you want to share an external URL, add a custom field to your post namedtitle_url and set its value as the URL of the resource.
0
966
posted 15 years ago by maryann
A utility function to preserve an array in a session. Adding the newest element to the beginning of the array and popping out the last one. Useful for displaying for instance; your last searches option in your website.
1
1203
posted 15 years ago by Heroftime
modified from branflake2267's post at oooforum.org:
http://www.oooforum.org/forum/viewtopic.phtml?t=52942
usage:
Paste into the Standard.Module1 macro file. Then, create xls2csv bash script containing:
#!/bin/bash
file="$(readlink -...
0
1706
posted 15 years ago by softmechanics
This plugin will, by default, truncate a block of text down to one line at its current width (if the text block exceeds 1 line). You can also pass in a pixel value and it will truncate it to that width.
0
1415
posted 15 years ago by adamcoulombe
I'm using this Rss Parser for clubplanet app, it works really fast and easy to implement
2
1538
posted 15 years ago by espinallab