Skip to content

Instantly share code, notes, and snippets.

View 6ixfalls's full-sized avatar
💗
sixfalls

Six 6ixfalls

💗
sixfalls
View GitHub Profile
@6ixfalls
6ixfalls / auroraboot-config.yaml
Last active February 12, 2024 07:33
Manifests for my homelab bootstrap process
listen_addr: :8081
state_dir: "/storage"
#release_version: v2.4.2
#artifact_version: v2.4.2-k3sv1.26.9+k3s1
#flavor: standard
#variant: debian-bookworm
#repository: kairos-io/kairos
container_image: quay.io/kairos/debian:bookworm-standard-amd64-generic-v2.5.0-k3sv1.27.9-k3s1
@6ixfalls
6ixfalls / background.js
Created June 22, 2023 06:19
RoGold Ultimate Content Security Policy Fix
/* global chrome */
var onHeadersReceived = function (details) {
console.log(details);
for (var i = 0; i < details.responseHeaders.length; i++) {
if (details.responseHeaders[i].name.toLowerCase() === 'content-security-policy') {
// inject rogold.live into the content security policy for img-src
details.responseHeaders[i].value = details.responseHeaders[i].value.replace(
'img-src',
@6ixfalls
6ixfalls / bvm_cf_whitelist.js
Created April 9, 2023 19:33
BuyVM Stallion IP Range/Cloudflare Allowlist
let ipsString = `173.245.48.0/20
103.21.244.0/22
103.22.200.0/22
103.31.4.0/22
141.101.64.0/18
108.162.192.0/18
190.93.240.0/20
188.114.96.0/20
197.234.240.0/22
198.41.128.0/17
@6ixfalls
6ixfalls / rguchanges.user.js
Last active June 23, 2023 04:35
Changes for RoGold ultimate to work better with other extensions, and look nicer in general.
// ==UserScript==
// @name RoGold Changes
// @namespace http://roblox.com/
// @version 1.2.2
// @description try to take over the world!
// @author 6ixfalls
// @match https://*.roblox.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=roblox.com
// @updateURL https://gist.github.com/6ixfalls/f3f6eee11b6d7c4584f2bd3ef94bbdf2/raw/rguchanges.user.js
// @downloadURL https://gist.github.com/6ixfalls/f3f6eee11b6d7c4584f2bd3ef94bbdf2/raw/rguchanges.user.js
@6ixfalls
6ixfalls / EasingStyles.java
Created April 28, 2021 01:59
EasingStyles
public class EasingStyles {
public static float Linear(float alpha) {
return alpha;
}
public static float EaseInSine(float alpha) {
return (float)(1 - Math.cos((alpha * Math.PI) / 2));
}
public static float EaseOutSine(float alpha) {
function triggerKeyboardEvent(el, keyCode, type)
{
var eventObj = document.createEventObject ?
document.createEventObject() : document.createEvent("Events");
if(eventObj.initEvent){
eventObj.initEvent(type, true, true);
}
eventObj.keyCode = keyCode;