Skip to content

Instantly share code, notes, and snippets.

View serverhiccups's full-sized avatar
💜
jag håller på att lära mig alla språken!

serverhiccups serverhiccups

💜
jag håller på att lära mig alla språken!
View GitHub Profile
@serverhiccups
serverhiccups / bypass.js
Last active March 1, 2021 06:00
Bypass N4L content blocking
// by hiccup01
// licenced under MIT licence
// hiccup01 is not responsible for the results caused by using this script
window.location="https://web.archive.org/save/"+((decodeURIComponent((new RegExp("[?|&]blockedUrl=([^&;]+?)(&|#|;|$)").exec(location.search)||[null,""])[1].replace(/\+/g,"%20"))||window.location)||window.location);
//bookmarklet vvv
//javascript:(function()%7Bwindow.location%3D%22https%3A%2F%2Fweb.archive.org%2Fsave%2F%22%2B((decodeURIComponent((new%20RegExp(%22%5B%3F%7C%26%5DblockedUrl%3D(%5B%5E%26%3B%5D%2B%3F)(%26%7C%23%7C%3B%7C%24)%22).exec(location.search)%7C%7C%5Bnull%2C%22%22%5D)%5B1%5D.replace(%2F%5C%2B%2Fg%2C%22%2520%22))%7C%7Cnull)%7C%7Cwindow.location)%7D)()
@rauchg
rauchg / README.md
Last active January 6, 2024 07:19
require-from-twitter
@serverhiccups
serverhiccups / mcscratch.js
Last active October 20, 2023 08:09
A script to update a minecraft server status on a scratch project. Requires scratch-api, yargs and boing.
#!/usr/bin/env node
// Minecraft server > Scratch Status
// by hiccup01
// hiccup01.com
// Copyright (c) 2016 hiccup01 <hiccup@hiccup01.com>
//Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
//The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
@aras-p
aras-p / preprocessor_fun.h
Last active May 13, 2024 15:42
Things to commit just before leaving your job
// Just before switching jobs:
// Add one of these.
// Preferably into the same commit where you do a large merge.
//
// This started as a tweet with a joke of "C++ pro-tip: #define private public",
// and then it quickly escalated into more and more evil suggestions.
// I've tried to capture interesting suggestions here.
//
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_,
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant,