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
| /** | |
| * Removes placements ending in the tlds xyz, tk, and download. | |
| * @author Dawson Reid | |
| * @author Andrew Breen | |
| */ | |
| // Top Level Domains to exclude | |
| var TLDs = '.xyz, .tk, .download'; |
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
| <!-- Facebook Conversion Code for MDS --> | |
| <script>(function() { | |
| var _fbq = window._fbq || (window._fbq = []); | |
| if (!_fbq.loaded) { | |
| var fbds = document.createElement('script'); | |
| fbds.async = true; | |
| fbds.src = '//connect.facebook.net/en_US/fbds.js'; | |
| var s = document.getElementsByTagName('script')[0]; | |
| s.parentNode.insertBefore(fbds, s); | |
| _fbq.loaded = true; |
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
| <!-- Facebook Conversion Code for FDM --> | |
| <script>(function() { | |
| var _fbq = window._fbq || (window._fbq = []); | |
| if (!_fbq.loaded) { | |
| var fbds = document.createElement('script'); | |
| fbds.async = true; | |
| fbds.src = '//connect.facebook.net/en_US/fbds.js'; | |
| var s = document.getElementsByTagName('script')[0]; | |
| s.parentNode.insertBefore(fbds, s); | |
| _fbq.loaded = true; |
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
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| import json, urllib3,urllib | |
| from lxml import etree | |
| import threading, Queue | |
| YAHOO_BASE_URL = 'http://where.yahooapis.com/geocode' | |
| def geocode(address, **geo_args): | |
| geo_args.update({ | |
| 'q': address, |
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/sh | |
| ### BEGIN INIT INFO | |
| # Provides: gunicorn | |
| # Required-Start: $all | |
| # Required-Stop: $all | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: starts the gunicorn server | |
| # Description: starts gunicorn using start-stop-daemon |