Welcome To Snipplr


Everyone's Recent Snippets



1 ... 432 433 434 435 436 ... 554
0 844 posted 16 years ago by johnloy
Very simple snippet to include if you want to auto update the year in a page copyright using PHP.
6 1258 posted 16 years ago by 1man
1 1035 posted 16 years ago by fackz
Para utilizar, proceda assim: echo formata_data_extenso('2007-04-17'); echo formata_data_extenso('2007-04-17 15:20:35');
1 970 posted 16 years ago by fackz
Outputs an image path from a defined directory.
2 1124 posted 16 years ago by dsntos
0 1053 posted 16 years ago by rolandog
Say you've got data combined in such a way that there is a repeated row header, but all the data is in different rows. If you were to consolidate all the rows down to one, only taking valid values (discarding blanks), you'd have one header row with a...
0 865 posted 16 years ago by pckujawa
[Video Example](http://screencast.com/t/L6E0xI0J5P) A cross browser image caption on mouseover. Using jquery, CSS. This is a bit crude but pretty simple to implement. Just change the image width, some css to match that image size and create dyn...
4 1303 posted 16 years ago by jadedbat
Can be applied to any element, but is most relevent when applied to an image.
2 946 posted 16 years ago by Unreal
Useful to remotely assist another person. 1. Connect to his computer using ssh 2. Execute first command listed below 3. The other person must open a terminal and execute the second command 4. Both are connected to the same terminal "screen"
1 1206 posted 16 years ago by Dorgendubal
Useful when you have to deal with ClassNotFoundException. The command looks for all jar in the current directory and any sub-directory, and checks if the jar contains the specified class. The command lists all matching jars.
0 1195 posted 16 years ago by Dorgendubal
To find your numerical Twitter ID, login to Twitter and click on your RSS feed (bottom of the page). The URL will look something like http://twitter.com/statuses/friends_timeline/12345678.rss. Your ID will be the 12345678.
9 1318 posted 16 years ago by nerdsane
Useful to quickly backup a folder by synchronizing it to another partition/disk.
0 788 posted 16 years ago by Dorgendubal
Useful to quickly identify processes listening to ports (to eventually kill them).
0 942 posted 16 years ago by Dorgendubal
Useful to convert all matching files from one encoding to another. Some examples:
1 1280 posted 16 years ago by Dorgendubal
* _HOST_: remote host * _PORT_: ssh port (default 22) * _PATH_: remote path to synchronize
0 790 posted 16 years ago by Dorgendubal
0 796 posted 16 years ago by spark9
1 1043 posted 16 years ago by hokasu
0 685 posted 16 years ago by spark9
0 763 posted 16 years ago by spark9
The basis to a spider.
5 1139 posted 16 years ago by Unreal
Using this you can get the inside string from another given string. Great for scraping data from other sites.
0 801 posted 16 years ago by Unreal
Nice simple snippet. Great for forum scripts.
1 1098 posted 16 years ago by Unreal
0 1011 posted 16 years ago by troynt
Explode de data para formato BR
0 808 posted 16 years ago by wesleymacente
SESSIONNAME = Name of your session cookie; example.com = Domainname of your site
1 806 posted 16 years ago by HeWo42
I just want a simple link, but it takes 8 lines of code?! I like control but they could have made a shortcut of some sort for buttons.
1 896 posted 16 years ago by ddegner
1 ... 432 433 434 435 436 ... 554