- BadCredit.org
- CardRates.com
- DatingAdvice.com
- DatingNews.com
- DigitalBrands.com
- HostingAdvice.com
- HostingReport.com
- MoneyTrends.com
This file contains 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
# Set up a new VPS for Framework (Ubuntu 12.04) | |
1. Add personal user | |
* Add user to 'admin/sudo' and 'www-data' groups | |
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install python-software-properties -y && sudo add-apt-repository ppa:keithw/mosh -y && sudo apt-get update && sudo apt-get install mosh -y && sudo tasksel && sudo apt-get install php5 php5-gd php5-mysql php5-curl php5-cli php5-cgi php5-dev -y && sudo a2enmod rewrite expires headers mime deflate filter && sudo service apache2 restart && sudo apt-get install phpmyadmin -y && sudo apt-get install vim -y && sudo apt-get install git-core git-gui git-doc -y && cd ~ && mkdir ~/.ssh | |
cd ~/.ssh && ssh-keygen -t rsa -C "ryan@digitalbrands.com" && git config --global user.name "Ryan Frankel" && git config --global user.email "ryan@digitalbrands.com" | |
sudo apt-add-repository ppa:chris-lea/node.js -y && sudo apt-get update && sudo apt-get install nodejs -y && sudo aptitude install npm -y && sudo npm install -g less && git clone https://gi |
This file contains 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
# Set up a new VPS for Framework (Ubuntu 12.04) | |
1. Add personal user | |
useradd pj | |
passwd pj | |
* Add user to 'admin/sudo' and 'www-data' groups | |
adduser pj sudo pj && usermod -G www-data pj | |
Login in as new user |
This file contains 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
$states = array( | |
'AL'=>'Alabama', | |
'AK'=>'Alaska', | |
'AZ'=>'Arizona', | |
'AR'=>'Arkansas', | |
'CA'=>'California', | |
'CO'=>'Colorado', | |
'CT'=>'Connecticut', | |
'DE'=>'Delaware', | |
'DC'=>'District of Columbia', |
This file contains 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
/reviews/ | |
/senior/ | |
/christian/ | |
/black/ | |
/gay/ | |
/lesbian/ | |
/singles/ | |
/singles?city=City&state=State/ | |
/rankings/ |
http://db-docs.com/00000_Development/00400_Tools/00100_Internal_Tools/900300_Warmer
##Prod Server
- Create db-admin user on server
sudo useradd -G www-data db-admin && sudo usermod -a -G db-admin pj && sudo usermod -a -G db-admin rfrankel && sudo usermod -a -G db-admin roberto
##Dev Server ###Cron https://github.com/digital-brands/badcredit.org/tree/master/themes/tdr-framework-child/functions/cron
- Create cron dir and needed cron files:
cron-aliases.sh
This file contains 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 ntpdate ntp.ubuntu.com | |
sudo apt-get install ntp -y | |
sudo service ntp restart | |
sudo ntpdate ntp.ubuntu.com && sudo apt-get install ntp -y && sudo service ntp restart |
This file contains 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
//a[@class='jump' and not(@target='_blank')]/@href |
This file contains 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
//a[contains(@href, 'mbl/visit?site=') and not(contains(@href, 'https://www.datingadvice.com'))]/@href | |
//a[contains(@href, 'official-site/?offer=') and not(contains(@href, 'https://www.cardrates.com'))]/@href | |
//a[contains(@href, 'mbl/go/?offer=') and not(contains(@href, 'https://www.badcredit.org'))]/@href | |
//a[contains(@href, 'visit/?offer=') and not(contains(@href, 'https://www.hostingadvice.com'))]/@href |
OlderNewer