Install the OpenSSL on Debian based systems
sudo apt-get install openssl| $ sysctl net.core.rmem_max | |
| net.core.rmem_max = 212992 | |
| $ sysctl net.core.rmem_default | |
| net.core.rmem_default = 212992 | |
| # set to take effect immediately | |
| $ sudo sysctl -w net.core.rmem_max=26214400 | |
| net.core.rmem_max = 26214400 | |
| $ sudo sysctl -w net.core.rmem_default=26214400 | |
| net.core.rmem_default = 26214400 |
| Originall From: Posted 2015-05-29 http://ubwg.net/b/full-list-of-ffmpeg-flags-and-options | |
| This is the complete list that’s outputted by ffmpeg when running ffmpeg -h full. | |
| usage: ffmpeg [options] [[infile options] -i infile]… {[outfile options] outfile}… | |
| Getting help: | |
| -h — print basic options | |
| -h long — print more options | |
| -h full — print all options (including all format and codec specific options, very long) |
| /* | |
| UPDATE: This is now a Chrome Extension: https://chrome.google.com/webstore/detail/memrise-export/hcllgkpmoiolndnhmbdceffaidjmkoam | |
| Source Code: https://github.com/raineorshine/memrise-export | |
| Export Memrise course words to CSV (technically TSV, or "tab separated file", but it is effectively the same). | |
| 1. Log into Memrise. | |
| 2. Navigate to the course page you would like to export (e.g. https://app.memrise.com/course/2156672/german-random-01/). | |
| 3. Open the browser's Developer Console (https://support.airtable.com/hc/en-us/articles/232313848-How-to-open-the-developer-console) |
| /*Install issue fix */ | |
| var system = require('system'); | |
| var argsdeprecated = system.args; | |
| argsdeprecated.shift(); | |
| phantom.args = argsdeprecated; |
| #!/bin/sh | |
| # PATH TO YOUR HOSTS FILE | |
| ETC_HOSTS=/etc/hosts | |
| # DEFAULT IP FOR HOSTNAME | |
| IP="127.0.0.1" | |
| # Hostname to add/remove. | |
| HOSTNAME=$1 |
| // PhantomJS Cheatsheet | |
| $ brew update && brew install phantomjs // install PhantomJS with brew | |
| phantom.exit(); | |
| var page = require('webpage').create(); | |
| page.open('http://example.com', function() {}); | |
| page.evaluate(function() { return document.title; }); |