This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """ Sample multithreading with bottle.py | |
| Requirements: requests, bottle | |
| To run: | |
| $ python app.py | |
| To post data, open another command shell and type: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Note: Anyone could access your data if they guess this URL. You should remove this file from the server | |
| // after importing or name it to something "unguessable". For even better security use an .htaccess rule. | |
| // | |
| // If you're experiencing problems you can uncomment the following line so errors will be sent to the file. | |
| // ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); | |
| // | |
| // Enter the FTP (or HTTP) URL of your data file below. | |
| $url = "ftp://username:password@hostname.com/full/path/to/file.csv"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| ##Device = Desktops | |
| ##Screen = 1281px to higher resolution desktops | |
| */ | |
| @media (min-width: 1281px) { | |
| //CSS | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // PHP memory limit for this site | |
| define( 'WP_MEMORY_LIMIT', '128M' ); | |
| define( 'WP_MAX_MEMORY_LIMIT', '256M' ); // Increase admin-side memory limit. | |
| // Database | |
| define( 'WP_ALLOW_REPAIR', true ); // Allow WordPress to automatically repair your database. | |
| define( 'DO_NOT_UPGRADE_GLOBAL_TABLES', true ); // Don't make database upgrades on global tables (like users) | |
| // Explicitely setting url |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| ################### READ ME ################################# | |
| You'll pass the URL to your feed/file to this function inside the "Download from URL" option when creating an import. | |
| Image examples: https://d.pr/hCfNek and https://d.pr/MnerNb. | |
| 1. [custom_file_download("ftp://username:password@hostname.com/full/path/to/file.csv", "csv")] | |
| 2. [custom_file_download("http://example.com/full/path/to/file.csv", "csv")] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="cache-control" content="max-age=0" /> | |
| <meta http-equiv="cache-control" content="no-cache" /> | |
| <meta http-equiv="expires" content="0" /> | |
| <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" /> | |
| <meta http-equiv="pragma" content="no-cache" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 13.68.31.193 | |
| 13.66.56.243 | |
| 13.68.82.8 | |
| 13.76.218.117 | |
| 13.76.219.191 | |
| 13.76.219.210 | |
| 13.78.130.220 | |
| 13.78.232.226 | |
| 13.78.233.133 | |
| 13.92.194.212 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * | |
| * Copyright 2012 - Luca Giacomel (lgiacomel [at] google [dot] com) | |
| * Use this at your own risk! | |
| * Remember that Google has nothing to do with this | |
| * Distributed under GPLv3 | |
| * | |
| */ | |
| function doGet(e) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| File Upload Forms for Google Drive | |
| ---------------------------------- | |
| With the File Upload forms, you can upload files of any size and the files are sent directly to the owner’s Google Drive while the form data is saved in a Google Spreadsheet. | |
| A [Pen](https://codepen.io/labnol/pen/QYWvwV) by [Amit Agarwal](https://codepen.io/labnol) on [CodePen](https://codepen.io). | |
| [License](https://codepen.io/labnol/pen/QYWvwV/license). |