Skip to content

Instantly share code, notes, and snippets.

View Jeffallan's full-sized avatar
🏠
Working from home

Jeffallan

🏠
Working from home
View GitHub Profile
http://webcache.googleusercontent.com/search?q=cache:http://example.com/
@Jeffallan
Jeffallan / gist:6d12c20687b8110a741970ea37ac432f
Created January 4, 2017 19:04
Find Old Versions of Websites
https://archive.org/web/
@Jeffallan
Jeffallan / gist:78843f0eed5caab5b069a48f24f18193
Last active January 5, 2017 20:05
The starting point for automated email verification
https://nathanleclaire.com/blog/2013/11/23/how-i-automated-finding-almost-anyones-email-address/
https://www.scottbrady91.com/Email-Verification/Python-Email-Verification-Script
http://life-longlearner.com/find-email-addresses/
@Jeffallan
Jeffallan / pipelines.py
Created January 22, 2017 02:04 — forked from tzermias/pipelines.py
Scrapy MySQL pipeline. Just a mirror to the asynchronous MySQL pipeline. Copy-paste it directly to pipelines.py. Database credentials are stored in settings.py. Based on http://snipplr.com/view/66986/
import MySQLdb.cursors
from twisted.enterprise import adbapi
from scrapy.xlib.pydispatch import dispatcher
from scrapy import signals
from scrapy.utils.project import get_project_settings
from scrapy import log
SETTINGS = get_project_settings()
@Jeffallan
Jeffallan / mautic-styling.css
Created November 16, 2017 15:57
Basic Styling For Mautic Contact Form
.mauticform_wrapper {
max-width: 600px;
margin: 10px auto;
}
.mauticform-innerform {}
.mauticform-post-success {}
.mauticform-name {
@Jeffallan
Jeffallan / PythonFlower.py
Last active November 16, 2017 17:32
Give a flower, and the gift of Python, to that special someone in your life.
import turtle
def draw_square(some_turtle):
for i in range(1,5):
some_turtle.forward(100)
some_turtle.right(90)
def draw_art():
window=turtle.Screen()
@Jeffallan
Jeffallan / PyPi-resources.txt
Created November 16, 2017 18:16
Resources for adding o PyPi from GitHub
http://sherifsoliman.com/2016/09/30/Python-package-with-GitHub-PyPI/
@Jeffallan
Jeffallan / age.py
Created March 21, 2018 17:05
Birthday calculator
from datetime import date
class Birthday(object):
def __init__(self, year, month, day):
self.dob = date(year, month, day)
@property
@Jeffallan
Jeffallan / .gitignore
Created June 27, 2018 00:03
.gitignore For Python Projects
## Python ###
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
*.pyc
# C extensions
*.so
# Distribution / packaging
@Jeffallan
Jeffallan / sockping.py
Created February 14, 2019 15:36
Solutions to NULLIFY's 2019 CTF Script Challenges
import socket
import time
import sys
HOST = '18.216.82.207'
PORT = 2003
s = socket.create_connection((HOST,PORT))