One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| continue | |
| dir=/var/www/downloads | |
| file-allocation=falloc | |
| max-connection-per-server=4 | |
| max-concurrent-downloads=2 | |
| max-overall-download-limit=0 | |
| min-split-size=25M | |
| rpc-allow-origin-all=true | |
| rpc-secret=YouShouldChangeThis | |
| input-file=/var/tmp/aria2c.session |
| function convertMiliseconds(miliseconds, format) { | |
| var days, hours, minutes, seconds, total_hours, total_minutes, total_seconds; | |
| total_seconds = parseInt(Math.floor(miliseconds / 1000)); | |
| total_minutes = parseInt(Math.floor(total_seconds / 60)); | |
| total_hours = parseInt(Math.floor(total_minutes / 60)); | |
| days = parseInt(Math.floor(total_hours / 24)); | |
| seconds = parseInt(total_seconds % 60); | |
| minutes = parseInt(total_minutes % 60); |
| # 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* |
On mac:
/usr/local/bin.about:config settings to harden the Firefox browser. Privacy and performance enhancements.
To change these settings type 'about:config' in the url bar.
Then search the setting you would like to change and modify the value. Some settings may break certain websites from functioning and
rendering normally. Some settings may also make firefox unstable.
I am not liable for any damages/loss of data.
Not all these changes are necessary and will be dependent upon your usage and hardware. Do some research on settings if you don't understand what they do. These settings are best combined with your standard privacy extensions
(HTTPS Everywhere No longer required: Enable HTTPS-Only Mode, NoScript/Request Policy, uBlock origin, agent spoofing, Privacy Badger etc), and all plugins set to "Ask To Activate".
Just migrated it from Codepen.io to markdown. Credit goes to David Conner.
| Working with DOM | Working with JS | Working With Functions |
|---|---|---|
| Accessing Dom Elements | Add/Remove Array Item | Add Default Arguments to Function |
| Grab Children/Parent Node(s) | Add/Remove Object Properties | Throttle/Debounce Functions |
| Create DOM Elements | Conditionals |
The code and instructions in this gist are from http://peterdowns.com/posts/open-iterm-finder-service.html. I've had to do this a few times and wanted to distill it the basics.
AutomatorApplicationActions > Utilities > Run Applescriptopen_in_iterm.app into the window.(Based on info from Peter Downs' gitub but with modified behavior to open a new terminal window for each invocation instead of reusing an already open window.)
The following three ways to launch an iTerm2 window from Finder have been tested on iTerm2 version 3+ running on macOS Mojave+.
pdanford - April 2020