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
#bulk domain name checker by available domain naimes | |
import whois | |
import os, sys | |
#from makewords import list_generated_words, MakeWords | |
from combinewords import list_combined_words | |
int_num_letters = int(sys.argv[1]) | |
num_words = int(sys.argv[2]) |
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
#combines words together | |
import itertools | |
list_combined_words = [] | |
fh_pre = open("foods.txt", "r") | |
fh_suf = open("shopping.txt", "r") | |
list_pre = [line.strip() for line in fh_pre.readlines()] | |
list_suf = [line.strip() for line in fh_suf.readlines()] |
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
<!-- Google Tag Manager --> | |
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-W3TRKK" | |
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | |
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': | |
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], | |
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= | |
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); | |
})(window,document,'script','dataLayer','GTM-W3TRKK');</script> | |
<!-- End Google Tag Manager --> |
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
from selenium import webdriver | |
driver = webdriver.Firefox() | |
driver.get("http://lyft.com/cities") | |
links = driver.find_elements_by_xpath("//*[@href]") | |
for i in links: | |
print i.text |
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
# -*- coding: utf-8 -*- | |
from flask import Flask, render_template, request | |
app = Flask(__name__) | |
@app.route("/") | |
def start(): | |
return render_template("index.html") | |
@app.route("/moby") |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>Test Page</title> | |
<style> | |
body { | |
margin: 40px; | |
font-size: 16px; | |
font-family: "Helvetica Neue", sans-serif; |
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
import logging | |
from flask import Flask, render_template | |
import smtplib | |
app = Flask(__name__) | |
ADMINS = ['wilensky@gmail.com'] | |
app.config['LOG_FILE'] = 'application.log' | |
if not app.debug: |
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
{ | |
"_id":"eng", | |
"country_name_eng":"England", | |
"country_name_native":"England", | |
"country_name_synonyms":[ | |
"United Kingdom", | |
"Great Britain" | |
], | |
"capital":"London", | |
"continent":"Europe", |
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
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> | |
<!-- v3_leaderboard_first --> | |
<ins class="adsbygoogle" | |
style="display:inline-block;width:728px;height:90px" | |
data-ad-client="ca-pub-2045228090082912" | |
data-ad-slot="5547733290" | |
data-max-num-ads="1"></ins> | |
<script> | |
(adsbygoogle = window.adsbygoogle || []).push({}); | |
</script> |
OlderNewer