| Models | Examples |
|---|---|
| Display ads | Yahoo! |
| Search ads |
| NEWRELIC_KEY=$1 | |
| wget -O /etc/apt/sources.list.d/newrelic.list http://download.newrelic.com/debian/newrelic.list | |
| apt-key adv --keyserver hkp://subkeys.pgp.net --recv-keys 548C16BF | |
| apt-get update | |
| apt-get install newrelic-sysmond | |
| nrsysmond-config --set license_key=${NEWRELIC_KEY} | |
| /etc/init.d/newrelic-sysmond start |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| // 1. Go to page https://www.linkedin.com/settings/email-frequency | |
| // 2. You may need to login | |
| // 3. Open JS console | |
| // ([How to?](http://webmasters.stackexchange.com/questions/8525/how-to-open-the-javascript-console-in-different-browsers)) | |
| // 4. Copy the following code in and execute | |
| // 5. No more emails | |
| // | |
| // Bookmarklet version: | |
| // http://chengyin.github.io/linkedin-unsubscribed/ |
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
By default when Nginx starts receiving a response from a FastCGI backend (such as PHP-FPM) it will buffer the response in memory before delivering it to the client. Any response larger than the set buffer size is saved to a temporary file on disk.
This process is outlined at the Nginx ngx_http_fastcgi_module page manual page.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
Setting up a PositiveSSL Wildcard Certificate from Comodo for Apache with Trusted by Microsoft and Firefox
This gist was greatly helped by the direction in this gist:
https://gist.github.com/bradmontgomery/6487319
- Click on the padlock
- Click Connection
| var pack = require('./package.json'); | |
| var request = require('request'); | |
| var name = pack.name; | |
| module.exports = function (shipit) { | |
| require('shipit-deploy')(shipit); | |
| var deployTo = '/var/www/FOLDER_TO_DEPLOY_TO'; | |
| var deployToCurrent = deployTo + '/current'; | |
| var slackWebhookURL = 'SLACK_HOOK_URL'; |