Create droplet of your liking (ubuntu 12.10 x32)
On Digital Ocean, create a DNS entry for your server (xyz.com)
Make sure it has NS records that use digital oceans nameservers
| /v2/json/get/keywords_2/keywords | |
| { | |
| project_id: '3374989', | |
| fields: ['name', 'volume:84:1:3', 'cost_forecast:P11:84:1'] | |
| } | |
| RESPONSE: | |
| {"result":[{"name":"iphone x","volume:84:1:3":0,"cost_forecast:P11:84:1":0},{"name":"buy iphone","volume:84:1:3":14800,"cost_forecast:P11:84:1":267.029},{"name":"iphone repair service nyc","volume:84:1:3":10,"cost_forecast:P11:84:1":0},{"name":"lawyer nyc","volume:84:1:3":1600,"cost_forecast:P11:84:1":1227.02},{"name":"criminal lawyer chicago","volume:84:1:3":880,"cost_forecast:P11:84:1":1476.52}]} |
| <div id="umiwebchat-container"></div><script>var LandbotLiveConfig = { index: 'https://landbot.io/u/H-17345-GVL23RW4SNOXE4UE/index.html', accent: '#F11952', proactive: true };</script><script src="https://static.helloumi.com/umiwebchat/umiwebchat.js" defer></script> |
| # This library fixes common problems with turbolinks | |
| # - Overwrite setTimeout and setInterval to intercept generated ID's | |
| # - Keep track of Ajax requests | |
| # | |
| # When turbolinks' unload event is called, we: | |
| # - Cancel all setTimeouts and setIntervals | |
| # - Abort all still running Ajax requests | |
| $.turboTurbo = |
| # for redirecting hhtp traffic to https version of the site | |
| server { | |
| listen 80; | |
| server_name example.com; | |
| return 301 https://$server_name$request_uri; | |
| } | |
| # for redirecting to non-www version of the site | |
| server { | |
| listen 80; |
| require 'rubygems' | |
| require 'capybara' | |
| require 'capybara/dsl' | |
| require 'capybara/poltergeist' | |
| Capybara.default_driver = :poltergeist | |
| Capybara.run_server = false | |
| module GetTitle | |
| class WebScraper |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <style type="text/css"> | |
| <!-- | |
| .ReadMsgBody {width: 100%;background-color: #1d1d1d;} | |
| .ExternalClass {width: 100%;background-color: #1d1d1d;} | |
| html {width: 100%;padding: 0px;margin: 0px;} |
| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
| <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <title>CH Daily for 11 September 2015</title> | |
| <link href="https://s3.amazonaws.com/sendicate-app/uploads/p/uploaded_assets/attachments/000/000/562/original/hide_preheader.css?utm_source=sendicate&utm_medium=email&utm_campaign=2015-09-11+CH+Daily+for+11+September+2015" media="screen" rel="stylesheet" data-immutable type="text/css"> | |
| <style type="text/css" data-immutable> | |
| @media only screen and (max-width: 480px) { | |
| img { | |
| max-width:280px !important; | |
| max-height:inherit !important; |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <style type="text/css"> | |
| <!-- | |
| .ReadMsgBody {width: 100%;background-color: #1d1d1d;} | |
| .ExternalClass {width: 100%;background-color: #1d1d1d;} | |
| html {width: 100%;padding: 0px;margin: 0px;} |
| # paths | |
| app_path = "/home/deployer/qna" | |
| working_directory "#{app_path}/current" | |
| pid "#{app_path}/current/tmp/pids/unicorn.pid" | |
| # listen | |
| listen "/tmp/unicorn.qna.sock", :backlog => 64 | |
| # logging | |
| stderr_path "log/unicorn.stderr.log" |