Skip to content

Instantly share code, notes, and snippets.

View HackerDaGreat57's full-sized avatar
working in some way or another


working in some way or another
View GitHub Profile
HackerDaGreat57 /
Created October 9, 2022 03:33 — forked from seanbuscay/
Create an orphan branch in a repo.
cd repository
git checkout --orphan orphan_name
git rm -rf .
rm '.gitignore'
echo "#Title of Readme" >
git add
git commit -a -m "Initial Commit"
git push origin orphan_name
HackerDaGreat57 / hztest1.cpp
Last active December 8, 2022 19:31
A simple Hex-Zip test
//Recursive division test by HackerDaGreat57
#include <iostream>
int main()
std::cout << "Please enter a number: ";
unsigned long long int input_num;
std::cin >> input_num;
std::cout << "Recieved number " << input_num << ". Now seeing what it's divisible by..." << std::endl;
HackerDaGreat57 / darkpdf.css
Created February 19, 2023 01:44
Paste this into your console to make PDFs dark mode! (this also inverts the color of images) Works best on Firefox = 'filter: grayscale(100%) invert(84%) contrast(178%) brightness(82%)'