Welcome To Snipplr


Everyone's Recent Snippets Tagged file



« Prev 1 2 3 4 5 ... 10
  1. FAV

    Prevent Access to a Specific File/s in .htaccess

    This example shows you how to restrict to a specific file or multiple files. Add the following code block and edit the file name/s according to yuor needs.
    Bash 5 views posted 2 years ago by apphp-snippets
  2. FAV

    JAXB FileCreating

    Write Object XXX with accordingly Annotations to File answer_XXX in according Schema to the Object.
    Java 2 views posted 2 years ago by hoplite
  3. FAV

    Download file headers

    Set headers for file download
    PHP 6 views posted 2 years ago by macodev
  4. FAV

    script_installer.sh

    This is a simple script which downloads the latest "LoRa Server" files from the repository of the user brocaar in GitHub. Just make the file executable with a "chmod +x script_installer.sh" and run it, the program will give you the latest releases o...
    Bash 2 views posted 3 years ago by SoroushBlaster
  5. FAV

    How to Set Line Spacing of a Paragraph in an Excel Shape or Textbox inside .NET Apps

    This technical tip shows how to Set Line Spacing of the Paragraph in a Shape or Textbox in .NET applications. You can set the line space of the paragraph, its space before and space after using the TextParagraph.LineSpace, TextParagraph.SpaceBefore a...
    C# 5 views posted 3 years ago by sherazam
  6. FAV

    How to Add Rectangle or Line Object to An Existing PDF File using .NET

    This technical tip shows how .NET developers can add line object to an Existing PDF File inside their .NET applications. Aspose.Pdf for .NET supports the feature to add graph objects (for example graph, line, rectangle etc.) to PDF documents. You als...
    C# 4 views posted 3 years ago by sherazam
  7. FAV

    Create a compressed TAR archive preserving permissions

    Create a compressed TAR archive preserving permissions
    Bash 7 views posted 3 years ago by rm1984
  8. FAV

    Replace a string with another one in many files

    Replace a string with another one in many files
    Bash 7 views posted 3 years ago by rm1984
  9. FAV

    Generate a random file with random contents but with a fixed size

    Generate a random file with random contents but with a fixed size
    Bash 5 views posted 3 years ago by rm1984
  10. FAV

    Php File Upload Script

    General file upload script in php. Error set using SESSIONS.
    PHP 13 views posted 3 years ago by aravindnair93
  11. FAV

    Download file using javascript

    Uses javascript to create a hidden iframe which downloads the file
    JavaScript 11 views posted 5 years ago by jakob101
  12. FAV

    Load Existing Email Message and Modify its Contents inside Android Apps

    This technical tip shows how to load any existing email message and modify its contents before saving it back to disk using Aspose.Email for Android API. To do this successfully, specify the MessageFormat when loading the email message from disk. In...
    Java 3 views posted 5 years ago by johansonkatherine
  13. FAV

    download a File from File Cabinet

    How to download file from file cabinet
    JavaScript 8 views posted 5 years ago by NSahu
  14. FAV

    Ruby Code Sample to Create PDF from HTML Using REST API

    This code sample shows how Ruby developers can create PDF file from HTML using Aspose.Pdf for Cloud API in their REST applications.
    Ruby 5 views posted 5 years ago by johansonkatherine
  15. FAV

    Java Code Sample to Create PDF from HTML Using REST API

    This code sample shows how Java developers can create PDF file from HTML using Aspose.Pdf for Cloud API in their REST applications.
    Java 7 views posted 5 years ago by johansonkatherine
  16. FAV

    C# Code Sample to Create PDF from HTML Using REST API

    This code sample shows how C# developers can create PDF file from HTML using Aspose.Pdf for Cloud API in their REST applications.
    C# 7 views posted 5 years ago by johansonkatherine
  17. FAV

    Merge multiple PDFs using PHP REST API

    PHP developers can learn how to merge multiple PDF files into a single PDF file using PHP REST API and SDK. To merge PDFs, you need to upload input PDFs to Aspose for Cloud Service or any supported third party storage and then send a PUT request to A...
    Java 11 views posted 5 years ago by johansonkatherine
  18. FAV

    C#/.NET Code Samples to Save Microsoft OneNote (.one) file as an image (.PNG, .BMP, .JPEG, .GIF) file

    The Aspose.Note for .NET API allows developers to open files & manipulate elements of OneNote books & export them to PNG, GIF, JPEG, BMP and PDF formats. The following code sample shows developers how to save OneNote File as an image in C#/.NET
    C# 6 views posted 5 years ago by johansonkatherine
  19. FAV

    Recursively consolodate all Files into one folder

    This file starts at the bottom of the tree and recursively moves all of the files from that tree into another folder. To avoid overwriting files I prepended all of the files with a 9digit number.
    Python 4 views posted 5 years ago by jlmarks
  20. FAV

    Remove File Extention from URLs in .htaccess

    This example shows you how to remove file extension from URLs using .htaccess file directives. Remember, that "mod_rewrite" works only on Apache server. Before trying please be sure that you are working on Apache server and the "mod_rewrite" module/e...
    PHP 4 views posted 6 years ago by apphp-snippets
  21. FAV

    C# & VB.NET Code Samples for Exporting Microsoft Visio Diagram to XML

    This technical tip shows how .NET developers can export Microsoft Visio diagram to XML inside their own applications using Aspose.Diagram for .NET. Aspose.Diagram for .NET lets you export diagrams to a variety of formats: image formats, HTML, SVG, SW...
    Java 7 views posted 6 years ago by johansonkatherine
  22. FAV

    Upload files or Images using PHP

    simple php file uploader with check for file extension and size.
    PHP 14 views posted 6 years ago by codingforever99
  23. FAV

    Recursively Change File Permissions on Files/Folders Only [*nix]

    Problem You want to recursively change all of the file permissions only on folders & subfolders in a directory, but not the files (or vice-versa: you want to change the permissions on files only, not folders).
    Bash 4 views posted 6 years ago by nkm
  24. FAV

    Sublimee Snippet: Fic

    Generate a generic file comment
    PHP 5 views posted 6 years ago by brownrl
  25. FAV

    Launch DOS to SharePoint 2013 Hive using Batch File

    Launch DOS prompt to the SharePoint 2013 hive. To 'Run as Administrator' simply right-click on the batch file and select that option.
    Other 4 views posted 6 years ago by adove
  26. FAV

    Launch Windows Explorer to SharePoint 2013 Hive using Batch File

    Open Windows Explorer to the SharePoint 2013 hive using a batch file. Double-click the batch file.
    Other 5 views posted 6 years ago by adove
  27. FAV

    Display the download percentage of a file

    Place this snippent in your script, and call it like this: urllib.urlretrieve(getFile, saveFile, reporthook=report) Notice it is the 3rd argument that calls the function on each file that needs to be downloaded.
    Python saved by 3 people 13 views posted 6 years ago by o0110o
  28. FAV

    If file exists function - server-side

    This function can be used to check if a file exists using the HTTP header response. Example use, when looping through cached JSON objects (instagram API, etc.)
    PHP 5 views posted 6 years ago by rickygri
  29. FAV

    Uploading binary files to Dropbox

    Uploading a binary file(like .doc) to Dropbox. I tried with .ics and it worked.
    Java 4 views posted 6 years ago by RobinD
  30. FAV

    Replace procedural Nuke Write paths with real paths in write node by replacing the write node(s)

    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.
    Python 3 views posted 6 years ago by throb
« Prev 1 2 3 4 5 ... 10