Pure CSS Tabs ('-' * 13) Just CSS, no JS!
A Pen by Wallace Erick on CodePen.
| <?php | |
| # "server":{"host":"x","port":22,"username":"x","password":"x","path":"\\/root\\/back","type":"scp","email":"[email protected]"} | |
| function backup($user) { | |
| global $config; | |
| $postdata = http_build_query(array('cpanel_jsonapi_user' => $user, | |
| 'cpanel_jsonapi_module' => 'Fileman', |
| /** | |
| * Convert Excel file to Sheets | |
| * @param {Blob} excelFile The Excel file blob data; Required | |
| * @param {String} filename File name on uploading drive; Required | |
| * @param {Array} arrParents Array of folder ids to put converted file in; Optional, will default to Drive root folder | |
| * @return {Spreadsheet} Converted Google Spreadsheet instance | |
| **/ | |
| function convertExcel2Sheets(excelFile, filename, arrParents) { | |
| var parents = arrParents || []; // check if optional arrParents argument was provided, default to empty array if not |
| # first: | |
| lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom | while read f; do sudo rm /usr/local/${f}; done | |
| sudo rm -rf /usr/local/lib/node /usr/local/lib/node_modules /var/db/receipts/org.nodejs.* | |
| # To recap, the best way (I've found) to completely uninstall node + npm is to do the following: | |
| # go to /usr/local/lib and delete any node and node_modules | |
| cd /usr/local/lib | |
| sudo rm -rf node* |
| /** | |
| * Shopify Checkout Hack | |
| * | |
| * This scipt helps to modify the Shopify Checkout Pages. To run this script, add your | |
| * code for each checkout step, compress your code with a tool of your choice and paste | |
| * it to: | |
| * | |
| * Admin > General > Google Analytics > Additional Google Analytics Javascript | |
| * | |
| * @author Christoph Vieth <[email protected]> |
| #!/usr/bin/env bash | |
| # Reset routing table on OSX | |
| # display current routing table | |
| echo "********** BEFORE ****************************************" | |
| netstat -r | |
| echo "**********************************************************" | |
| for i in {0..4}; do | |
| sudo route -n flush # several times |
| // Insert thumbnails of your Drive image files into a Google Sheet. | |
| // Images are inserted directly into the cells of the sheet, not as those useless overlays that float around. | |
| // | |
| // This is set up to scan the first two columns of the active sheet. Column A will contain an =IMAGE(url) formula, which is calculated by finding the image thumbnail for the file referred to by column B. | |
| // While this is simply the code I used for my own particular purpose, you can easily adapt it for your own needs. Please note that while an onEdit() version of this script would be cool, it will not work. | |
| // Formulas cannot access most other Google Apps services, though you could probably use a data store if you felt ambitious enough. | |
| // Note: the Drive Advanced API must be activated for this script to work. | |
| // | |
| // The script looks for files based on the pattern below: |
Pure CSS Tabs ('-' * 13) Just CSS, no JS!
A Pen by Wallace Erick on CodePen.
| php_value upload_max_filesize 1000M | |
| php_value post_max_size 2000M | |
| php_value memory_limit 3000M | |
| php_value max_execution_time 180 | |
| php_value max_input_time 180 |
Based on dribbble shot https://dribbble.com/shots/2097042-Widget-Weather by kylor
A Pen by Josh Bader on CodePen.