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
| mkdir /opt/dkim-keys | |
| chmod 700 /opt/dkim-keys | |
| pushd /opt/dkim-keys | |
| openssl genrsa -out news.healinghempproducts.com.key 2048 # private key mailtrain.example.com.key | |
| openssl rsa -in news.healinghempproducts.com.key -out news.healinghempproducts.com.pub -pubout -outform PEM # public key mailtrain.example.com.pub |
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
| #!/bin/bash | |
| # This installation script works on Ubuntu 14.04 and 16.04 | |
| # Run as root! | |
| if [[ $EUID -ne 0 ]]; then | |
| echo "This script must be run as root" 1>&2 | |
| exit 1 | |
| fi |
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
| sudo /etc/init.d/mysql stop | |
| sudo mysqld --skip-grant-tables & | |
| mysql -u root mysql | |
| UPDATE user SET Password=PASSWORD('YOURNEWPASSWORD') WHERE User='root'; FLUSH PRIVILEGES; exit; | |
| sudo /etc/init.d/mysql stop | |
| sudo /etc/init.d/mysql start |
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
| sudo apt-get update && sudo apt-get upgrade | |
| sudo apt-get update | |
| sudo apt-get install pwgen | |
| curl https://gist.githubusercontent.com/underdown/7445a9c7deaba590b879d37a895263e3/raw/43d1c7e72efcdfb08a3aaf6e5abab2c9ac43b481/mailtrain-install.sh | sudo bash |
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
| <Response> | |
| <Dial callerId="+18885551212">+1XXXXXXXXXX</Dial> | |
| <Say>Our agents are busy right now. Please call back shortly. Goodbye.</Say> | |
| </Response> |
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
| <Response> | |
| <Dial>+1XXXXXXXXXX</Dial> | |
| <Say>All of our agents are busy right now. Please call back shortly. Goodbye.</Say> | |
| </Response> |
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
| /* This is a script i use to make drudge report mobile friendly. view @ ryanunderdown.com/drudge | |
| Please excuse the ugly procedural php | |
| */ | |
| <?php | |
| function getPage($url, $referer, $agent, $header, $timeout) { | |
| $ch = curl_init(); | |
| curl_setopt($ch, CURLOPT_URL, $url); | |
| curl_setopt($ch, CURLOPT_HEADER, $header); | |
| curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); |
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
| sudo apt-get update | |
| sudo apt-get install apache2 | |
| sudo apt-get install mysql-server mysql-client | |
| sudo apt-get install php | |
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
| /* source https://www.youtube.com/watch?v=UKi1NwqKCz8 | |
| _aj7mu _r4e4p _95tat _o0442 | |
| */ | |
| var jq = document.createElement('script'); | |
| jq.src = "//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"; | |
| document.getElementsByTagName('head')[0].appendChild(jq); | |
| jQuery.noConflict() |
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
| Google Analytics Dashboards | |
| Local Search Dashboard https://www.google.com/analytics/web/template?uid=gNhA6alsRsy9rFxKJSz2Ng http://localu.org/blog/how-to-segment-local-search-analytics/ | |
| https://econsultancy.com/blog/62828-10-useful-google-analytics-custom-dashboards/ |