Skip to content

Instantly share code, notes, and snippets.

@hrbrmstr
hrbrmstr / robotstxt.csv
Created August 1, 2017 02:37
robots.txt user agent strings from June 2017 robots.txt Common Crawl
useragent n
* 494648
IRLbot 378368
bingbot 100948
MJ12bot 94377
msnbot 66142
AhrefsBot 51999
Yandex 50260
Slurp 49160
SemrushBot 45041
@ivanliu
ivanliu / py_pkg.howto
Created July 8, 2017 19:29
Packaging python
http://jtushman.github.io/blog/2013/06/17/sharing-code-across-applications-with-python/#3
https://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/
http://python-notes.curiousefficiency.org/en/latest/index.html
@LiquidSebbey
LiquidSebbey / WishSortPrice.js
Created June 2, 2017 13:50
Sort Wish.com results by price
$("<style>.overlay { position:absolute; background-color: white; top:0; left:0; width:100%; height:100%; z-index:1000; } .loader { position: fixed; top: 1em; padding: 15px; maring: 15px; border: 1px solid #000000; border-radius: 10px; background-color: #CC0000; color: #FFFFFF; right: 1em; z-index: 999999999999; }</style>").appendTo("head");
$("body").append("<div id='overlay' class='overlay'></div><div id='loader' class='loader'><b>Bezig met inladen en sorteren ...</b></div>");
maxProducts = prompt("Hoeveel producten wil je inladen? (max. 500)");
var app = setInterval(function(){
if ($(".feed-product-item").length < maxProducts){
@ostearn
ostearn / manifest.json
Created May 6, 2017 17:28
Ebay Variations Go Away!
{
"name": "Ebay Variations Go Away!",
"version": "0.1",
"manifest_version": 2,
"description": "This extension is designed to completely rid ebay search results of those annoying variations listings which are commonly abused and destroy your ability to find the cheapest item.",
"homepage_url": "http://oliverstearn.com/projects?project=ebay_extension",
"permissions": [
"https://*/*",
"http://*/*",
"tabs"
@plasx
plasx / linkedin.py
Created March 31, 2017 01:29
linkedin login bs4
import requests
from bs4 import BeautifulSoup
client = requests.Session()
HOMEPAGE_URL = 'https://www.linkedin.com?allowUnsupportedBrowser=true'
LOGIN_URL = 'https://www.linkedin.com/uas/login-submit?allowUnsupportedBrowser=true'
html = client.get(HOMEPAGE_URL).content
soup = BeautifulSoup(html)
@ivanliu
ivanliu / website_scrapy_options
Last active January 28, 2018 07:11
How to scrapy website
1. Spynner
https://github.com/makinacorpus/spynner
a) Install libpng
http://ethan.tira-thompson.com/Mac_OS_X_Ports.html
b)
2. Mechanize
http://www.pythonforbeginners.com/mechanize/browsing-in-python-with-mechanize/
http://www.pythonforbeginners.com/cheatsheet/python-mechanize-cheat-sheet
@pudquick
pudquick / passwords.py
Last active May 28, 2020 16:14
Generating passwords using SecurityFoundation's password assistant hidden functions on macOS via python & pyobjc
# Hat tip to https://github.com/anders/pwgen for various initial documentation
# For an alternative method, check out:
# https://gist.github.com/pudquick/8d3dedc337161b187a8a1c9564c83463
import objc
from Foundation import NSBundle, NSMutableArray, NSString
SecurityFoundation = NSBundle.bundleWithPath_('/System/Library/Frameworks/SecurityFoundation.framework')
success = SecurityFoundation.load()
$ frankenstein https://github.com/j-delaney/easy-application
Found: master for j-delaney/easy-application — 382 software engineering companies that are easy to apply to — 3298⭐️ — last updated 1 day ago
🏃 Processing links for j-delaney/easy-application ...
🔎 Checking 395 links
⚪ https://bitly.com/pages/careers
✅ https://jobs.lever.co/21
✅ https://www.acorns.com/careers
🔶 301 https://www.academia.edu/hiring
✅ https://www.a9.com/careers/
@mubix
mubix / infosec_newbie.md
Last active March 10, 2025 09:42
How to start in Infosec
@Reedbeta
Reedbeta / bash-and-cmd-in-context-menu.reg
Last active May 1, 2021 20:41
Windows registry edit to add Bash and Command Prompt items to Explorer context menu
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\Bash]
@="Bash"
"Icon"=hex(2):22,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
77,00,73,00,6c,00,2e,00,65,00,78,00,65,00,22,00,00,00
; REG_EXPAND_SZ "%SystemRoot%\System32\wsl.exe"
[HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\Bash\command]