Welcome To Snipplr


Everyone's Recent Snippets Tagged copy



I'm not sure whether I should be using == (Equality) or === (Strict equality) here. I haven't been able to create a situation where it makes much difference. If you know better, feel free to leave me a comment.
0 1416 posted 15 years ago by adrianparr
Script makes a copy of "file.doc" as many times as you need it to. It renames them all with a time-based file name. Source and destination directories and file names/extensions can be modified easily.
1 950 posted 15 years ago by shortstack
Used to copy the user avatar from Facebook to your community in this [Facebook Connect Tutorial](http://www.barattalo.it/facebook-connect-tutorial/ "Tutorial").
1 1165 posted 15 years ago by ginoplusio
0 971 posted 15 years ago by therobot
Just replace the squared brackets with the correct values.
1 1240 posted 15 years ago by choasis
Useful if some files already exist at the destination and are newer or would take too long to copy again.
0 841 posted 15 years ago by deepsoul
Using svnadmin hotcopy doesn’t require any server downtime, completes in minutes, and replicates server configuration and hook scripts.
1 1088 posted 15 years ago by Mithun
r : recursive v: verbose --progress : shows progress with percentage
0 1007 posted 15 years ago by godstroke
credit: tim robinson
0 977 posted 15 years ago by pdswan
Easily copy a folder to a new destination.
0 1047 posted 15 years ago by dmautz1
The "Definitive CSS Font Stacks"
6 1144 posted 15 years ago by ZGX
This is useful for upgrading Drupal modules, etc.
0 1139 posted 15 years ago by jmiller
1 1138 posted 15 years ago by radarseven
Dado un objeto original, este método copia los valores de ese objeto en un segundo objeto de la misma clase, utilizando reflection.
0 925 posted 16 years ago by delm
4 1074 posted 16 years ago by level09
Use this to dynamically copy objects.
0 972 posted 16 years ago by allnatural
Rake task - Copies files from one directory to another in a batch of 50 files, giving 15 seconds break between each batch.
1 1115 posted 16 years ago by cnicolaou
1 913 posted 17 years ago by neil
I know what you think - no discussion about this needless piece of code to prevent copying texts/images from websites, but there are customers outside that are advising resistant and so I use this code to scare off their potential clienteles.
2 1330 posted 17 years ago by localhorst
0 1053 posted 17 years ago by assbach
Difficult to find in documentation but so easy
3 1312 posted 17 years ago by arnoldu
This utility function attaches listeners to a text field or text area. It supports default text for instructional copy. The original text in the field is used as the instructional/default text. When the box gets focus, it disappears and the user can...
0 1074 posted 17 years ago by elli
3 1147 posted 18 years ago by tictoc
always forget that.
0 1083 posted 18 years ago by assbach
1 1186 posted 18 years ago by whitetiger