create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
#chainsnort 0.43.3 by flatfly | |
#requires websocket-client! | |
import json, os, sys, datetime, time, urllib, websocket, operator, random, re | |
clr = os.system(['clear','cls'][os.name == 'nt']) | |
t0 = time.time() ; Z = 0 | |
print 'chainsnort 0.43.3: ' , | |
import simplejson as json | |
import lxml | |
class objectJSONEncoder(json.JSONEncoder): | |
"""A specialized JSON encoder that can handle simple lxml objectify types | |
>>> from lxml import objectify | |
>>> obj = objectify.fromstring("<Book><price>1.50</price><author>W. Shakespeare</author></Book>") | |
>>> objectJSONEncoder().encode(obj) | |
'{"price": 1.5, "author": "W. Shakespeare"}' | |
""" |
import simplejson as json | |
import lxml | |
class objectJSONEncoder(json.JSONEncoder): | |
"""A specialized JSON encoder that can handle simple lxml objectify types | |
>>> from lxml import objectify | |
>>> obj = objectify.fromstring("<Book><price>1.50</price><author>W. Shakespeare</author></Book>") | |
>>> objectJSONEncoder().encode(obj) | |
'{"price": 1.5, "author": "W. Shakespeare"}' | |
""" |
import csv, httplib, json | |
from string import ascii_lowercase | |
con = httplib.HTTPSConnection('api.github.com') | |
languages = ['java', 'c', 'ruby', 'python', 'javascript'] | |
for lang in languages: | |
with open(lang + '.csv', 'wb') as csvfile: | |
csvwriter = csv.writer(csvfile, delimiter = ',', quotechar='"', quoting = csv.QUOTE_MINIMAL) | |
for ch in ascii_lowercase: | |
print("Processing repos with " + ch + " for language " + lang) |
from gcrawler import GCrawler, Downloader | |
import unittest | |
import urllib2 | |
import logging | |
import traceback | |
from datetime import datetime | |
import re | |
logging.basicConfig(level=logging.DEBUG) |
#!/usr/bin/env python | |
#coding=utf8 | |
import urllib | |
import urllib2 | |
import cookielib | |
import base64 | |
import re | |
import json | |
import hashlib | |
import os |
// requires | |
var utils = require('utils'); | |
var casper = require('casper').create() | |
var casper = require('casper').create({ | |
verbose: true, | |
logLevel: "debug" | |
}); | |
// setup globals | |
var email = casper.cli.options['email'] || 'REPLACE THIS EMAIL'; |
from selenium import webdriver | |
from selenium.common.exceptions import TimeoutException | |
import selenium.webdriver.support.wait | |
selenium.webdriver.support.wait.POLL_FREQUENCY = 0.05 | |
import re | |
import random | |
import collections | |
class AdwordsAutomater(object): |
#coding=utf-8 | |
from datetime import datetime | |
import os | |
import re | |
import urllib.request | |
from html.parser import HTMLParser | |
from time import sleep | |
import socket | |
socket.setdefaulttimeout(60) |