Skip to content

Instantly share code, notes, and snippets.

View rolltidehero's full-sized avatar
☠️
chemo & radiation treatments again... I hate cancer :(

Heath B rolltidehero

☠️
chemo & radiation treatments again... I hate cancer :(
View GitHub Profile
@hsn0x
hsn0x / docker-commands.md
Last active February 8, 2023 03:14
Docker commands

List of all Docker commands

Created by @hsn0x

Build docker image

docker build -t <image_name> .

Run docker image

@MrDOS
MrDOS / hide-porkbun-handshake-tlds.js
Created September 19, 2022 12:08
Userscript to hide Handshake TLDs from Pornbun's all-extensions page.
// ==UserScript==
// @name Hide Porkbun Handshake TLDs
// @description Hide Handshake TLDs from Pornbun's all-extensions page.
// @namespace http://seenet.ca/
// @version 1.0
// @match https://porkbun.com/products/domains
// @icon https://www.google.com/s2/favicons?sz=64&domain=porkbun.com
// @grant none
// ==/UserScript==
@taskylizard
taskylizard / fmhy.md
Last active November 18, 2024 13:08
/r/freemediaheckyeah, in one single file (view raw)
@u9O
u9O / README.md
Last active July 18, 2024 14:26
The Essential Skills to Becoming a Master Hacker

The Fundamental Skills

These are the basics that every hacker should know before even trying to hack. Once you have a good grasp on everything in this section, you can move into the intermediary level.

1Basic Computer Skills

It probably goes without saying that to become a hacker you need some basic computer skills. These skills go beyond the ability to create a Word document or cruise the Internet. You need to be able to use the command line in Windows, edit the registry, and set up your networking parameters.

Many of these basic skills can be acquired in a basic computer skills course like A+.

# main.py
import json
import logging
import os
from pathlib import Path
from bot import RedditBot
logging.basicConfig(handlers=[logging.StreamHandler()],
level=logging.INFO,
@aslamdoctor
aslamdoctor / wsl-lamp.md
Last active September 16, 2024 01:32
Windows 10 - WSL LAMP Stack Setup
@renemorozowich
renemorozowich / rene-get-posts-via-rest-api.php
Last active January 17, 2023 22:29
Gets the latest two posts from a blog via the REST API. Blog link, title and date included.
<?php
/**
* Plugin Name: Get Posts via REST API
* Description: Gets the latest two posts from a blog via the REST API. Blog link, title and date included.
* Plugin URI: https://renemorozowich.com
* Author: Rene Morozowich
* Version: 1.0
* Text Domain: getpostsviarestapi
* License: GPL v2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.txt
@arunelias
arunelias / imacros_snippets.iim
Last active June 18, 2020 22:13
iMacros Snippets
VERSION BUILD=8970419 RECORDER=FX
TAB T=1
'//--------------------------------
'// Todays Date in M/D/YYYY format
SET todaysdate EVAL("var d = new Date();var result = (d.getMonth()+1)+'/'+d.getDate()+'/'+(d.getYear()+1900); result;")
PROMPT {{todaysdate}}
'//--------------------------------
'// Tomorrows Date in M/D/YYYY format
SET tomorowsdate EVAL("var t = new Date(); var d = new Date(); d.setDate(t.getDate()+1); var result = (d.getMonth()+1)+'/'+d.getDate()+'/'+(d.getYear()+1900); result;")
PROMPT {{tomorrowsdate}}
import requests
import sys
import json
def waybackurls(host, with_subs):
if with_subs:
url = 'http://web.archive.org/cdx/search/cdx?url=*.%s/*&output=json&fl=original&collapse=urlkey' % host
else:
url = 'http://web.archive.org/cdx/search/cdx?url=%s/*&output=json&fl=original&collapse=urlkey' % host
import requests
import re
import sys
from multiprocessing.dummy import Pool
def robots(host):
r = requests.get(
'https://web.archive.org/cdx/search/cdx\
?url=%s/robots.txt&output=json&fl=timestamp,original&filter=statuscode:200&collapse=digest' % host)