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
@rolltidehero
rolltidehero / 1pass_dups.py
Last active September 7, 2023 06:53 — forked from thehesiod/1pass_dups.py
1password duplicate remover (alpha, only run in debugger with breakpoints everywhere *g*)
#!/usr/bin/env python3
import json
import subprocess
import sys
from concurrent.futures import ThreadPoolExecutor
import html
import dictdiffer
import iso8601

Using a simple little command to copy multiple files to one location, this trick basically works by merging a compressed file with an image. In other words, you can save your top-secret files inside an image by saving them both into one file.

The final result is an image file that also contains the secretly stored compressed file, which you can access in 2 ways: opening the file normally will show the image and hide the rest; otherwise, choosing to open the file with an archiver will reveal all the secrets (which only you can know about).

REQUIREMENTS:

Windows Command Prompt (cmd)

ZIP or RAR file archiver (extractor and compressor)

@rolltidehero
rolltidehero / hide-porkbun-handshake-tlds.js
Created January 9, 2023 01:42 — forked from MrDOS/hide-porkbun-handshake-tlds.js
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==
curl -L "https://github.com/docker/compose/releases/download/v2.12.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/bin/docker-compose
@rolltidehero
rolltidehero / install_duplicati_centos8.sh
Created July 6, 2022 07:35 — forked from SamSirry/install_duplicati_centos8.sh
Installing Duplicati 2.6 on CentOS 8
# Start this script while logged in as root.
# Preparations:
# Update manually with yum if it's a new OS installation.
# yum update -y && reboot
yum install wget curl -y
mkdir /downloads
cd /downloads
@rolltidehero
rolltidehero / domdetailer.php
Created May 6, 2022 21:30 — forked from shanecp/domdetailer.php
DomDetailer PHP Code
<?php
$results = [];
if (!empty($_POST['domains'])) {
$apiKey = 'INSERT_API_KEY';
$domains = explode("\n", $_POST['domains']);
foreach ($domains as $domain) {
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)
<?php
/**
* Adding domains to DirectAdmin
*/
include 'httpsocket.php';
// domains comma seperated
$domains = 'domein1.nl,domein2.nl,domein3.nl';
@rolltidehero
rolltidehero / Startup.cs
Created February 23, 2021 11:35 — forked from HelBorn/Startup.cs
Adding a program to startup in C#
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using Microsoft.Win32;
namespace RunOnStartup
{
/// <summary>
/// It attempts to write to HKEY_LOCAL_MACHINE first, which will run on startup on all user accounts.