Welcome To Snipplr


Everyone's Recent Snippets Tagged file



This allows you to take a node that has expressions in it and create copies of them that are hard pathed. It will also disable said expression driven write nodes and disable them.
0 679 posted 10 years ago by throb
Java Fast File Copy using NIO
0 734 posted 10 years ago by roizaig
Add this snippet to `wp-config.php` to remove the file editor links from the WordPress admin menus. Read more about... [disabling the WordPress file editor](http://www.orderofbusiness.net/blog/disable-wordpress-file-editor/)
0 577 posted 11 years ago by tacudtap
This snippet allows you set a limitation for download rate of the file that visitors download from your site.
1 1010 posted 11 years ago by apphp-snippets
This code allows to pass filename in the $file_name variable and function will return file extension only.
0 723 posted 11 years ago by apphp-snippets
You may retrieve all needed file path data using PHP's built-in function pathinfo. You don't need to create your own functions or use regular expressions to get this info. It was already been created for this purpose.
0 929 posted 11 years ago by apphp-snippets
Safe way to recursive delete directory
0 885 posted 11 years ago by alces
Host file location on XP
0 689 posted 11 years ago by thesmu
Image file upload, javascript
0 651 posted 11 years ago by laxman2021
This SSH API is used to execute remote commands, send and receive files.
0 600 posted 11 years ago by ryantxr
This function searches the current working directory (or any other directory path that you specify with parameter $p) for a file, named $f, and returns the full path and filename of the first occurrence, or false if it is either not found or the maxi...
0 629 posted 11 years ago by VisionHive
0 560 posted 11 years ago by scrapy
iconv -l to show all available encodes, replace xxx with you file ext
0 647 posted 11 years ago by rabc
The .NET Framework doesn't support automatic detection of character encoding in the default file I/O methods. This is a quick function that returns True in the specified file is Unicode.
0 984 posted 11 years ago by ShaneGowland
This function removes a directory and its contents. Use with careful, no undo!
1 731 posted 11 years ago by fackz
išorinio javascript failo įtraukimas į html
0 450 posted 11 years ago by ptomas
list all files in directory and subdirectory
1 791 posted 11 years ago by ne7son
Run This Command in your Terminal ---------------------------------------- mysql -u **username** -p -h localhost **DATA-BASE-NAME** < data.sql
0 665 posted 11 years ago by MohamedAlaa
This is a batch file that will add the date to the end of all files in a particular directory located on the user's desktop and place them in a directory called Output_Renamed on the user's desktop.
2 944 posted 11 years ago by _reydin_
Note: This also uses a flat file to cache the results, be sure to also upload the 'rss_cache.txt' file. Usage: <?php>
0 842 posted 11 years ago by crypticsoft
Projecto de LabP01 que consiste na criação de uma classe que permite efectuar operações sobre ficheiros de texto.
0 597 posted 12 years ago by N-genhocas
Getting files, folders, file count, folder count in a directory with php and writing them to a web page
1 1260 posted 12 years ago by duzenz
Checks to make sure the file is a valid image file, checks max file size, and directory write permissions, requires 'fileutils' gem.
2 882 posted 12 years ago by kellishaver
Preferred way of printing files in Clojure.
0 724 posted 12 years ago by ef
Restore a deleted file within the git repo
1 643 posted 12 years ago by Glycerine
0 792 posted 12 years ago by thomasan
Use this class to create a simple upload-to-flash button. Select image from your local harddrive and upload it in flash, later you can get is as Bitmap() object All images are stored in static array, so you can retrive it anywhere you want in your c...
1 1899 posted 12 years ago by burnandbass
0 813 posted 12 years ago by scruffpuff