Welcome To Snipplr


Everyone's Recent Snippets Tagged files



A function to get a files size via curl. Accepts $_path, $_unit, $_float, $_username & $_password; In the listed order.
1 1040 posted 11 years ago by o0110o
Hash of the commit which you want to show a303aa90779efdd2f6b9d90693e2cbbbe4613c1d
0 1130 posted 11 years ago by satie83
List all files in a diretory with glob
0 808 posted 11 years ago by pruntrut
In order to avoid make files executable, you can use these to chmod files and directories differently.
0 663 posted 11 years ago by wnasich
Hide and show files in MacOSX
0 754 posted 11 years ago by vaishnavi
Get file extension from it's name or complete path
2 786 posted 11 years ago by fawazcb
Quickly combine/append ascii type files such as txt or csv.
0 770 posted 11 years ago by webonomic
wp_conditional css files loading
0 525 posted 12 years ago by nWidart
Add this to your .profile or .bash_rc file, source the file, navigate to the directory and call "rm_whitespace" Based on: http://snipplr.com/view/4468/batch-rename-files-in-directory/
1 1228 posted 12 years ago by licensetoil
Replace TRUE with FALSE if you want to hide the hidden files again.
0 792 posted 12 years ago by shuchii
used this to download a bunch of wsdls. Put all addresses in a file and execute the script like groovy download.groovy file.txt
0 1884 posted 12 years ago by m3rol666
0 571 posted 12 years ago by vigoncas
0 659 posted 12 years ago by glup
0 696 posted 12 years ago by glup
0 698 posted 12 years ago by glup
0 682 posted 12 years ago by glup
0 532 posted 12 years ago by soup
Sometimes SPD gets confused as to which files are checked out or not and to whom. This fix generally works.
0 583 posted 12 years ago by rumremix
These registry settings show four different settings which do the following: "Hidden"=dword:00000001 - show hidden files "ShowSuperHidden"=dword:00000001 - show hidden system files "SuperHidden"=dword:00000001 - show hidden directories in the expl...
0 906 posted 13 years ago by bits
0 478 posted 13 years ago by sedgemonkey
0 549 posted 13 years ago by kyrathaba
0 477 posted 13 years ago by noelj
run this from plugins/emotions and copy/paste the output to emotions.htm
0 702 posted 13 years ago by hamsterbacke82
Found on the Ubuntu forum: http://ubuntuforums.org/showthread.php?t=1355021 Renames files to 0001.jpg, 0002,jpg etc You can insert a prefix here: "prefix-$j.jpg"
0 553 posted 13 years ago by Carolyne