Skip to content

Instantly share code, notes, and snippets.

View xubiod's full-sized avatar
🏳️‍⚧️
flag

Xubiod xubiod

🏳️‍⚧️
flag
View GitHub Profile
@xubiod
xubiod / redirects.json
Created July 17, 2025 18:09
the disasterous looking json behind the Cloudflare worker behind xub.sh
[
[["", "home", "net"], {
"url": "https://xubiod.net/",
"note": "Standard homepage",
"sub": []
}],
[["ai"], {
"url": "https://xubiod.net/ai-policy/",
"note": "AI policy, tl;dr I don't consent to AI training on my content"
@xubiod
xubiod / mutilated_type_contraints.go
Created August 12, 2022 18:42
hahaha purposefully written to extend sloc
package main
// Any signed int, ranging 8 bits to 64
type AnySInt interface {
int |
int8 |
int16 |
int32 |
int64
}
@xubiod
xubiod / index.html
Created March 28, 2019 14:44
Clickable Syntax // source https://jsbin.com/lupifar
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Clickable Syntax</title>
<style id="jsbin-css">
body {
background-image: linear-gradient(-45deg, red, orange);
height: 100vh;
@xubiod
xubiod / fullscreen-cycle-stripe.asm
Last active March 12, 2019 18:07
random things i made on 6502asm.com (the beta aka 6502asm.com/beta/) in an attempt to learn 6502 assembly
lda #$ff
sta $00 ; constant $ff at zeropage $00
start:
ldx #$00 ; reset x register
cmp #$00
beq loop1
cmp #$01
beq loop3
cmp #$02
@xubiod
xubiod / index.html
Last active November 27, 2018 18:20
get code from share link from https://yal.cc/r/gml/ (kinda like a recovery thing.) was created on jsbin, don't judge me.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lz-string/1.4.4/lz-string.min.js"></script>
</head>
<body>
@xubiod
xubiod / wikipedia_list.cs
Last active October 3, 2018 17:48
example of the api done in rextester
//Rextester.Program.Main is the entry point for your code. Don't change it.
//Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using Newtonsoft.Json.Linq;
using System.ComponentModel;
using System.Net;
@xubiod
xubiod / list_dictionaries.cs
Created May 8, 2018 16:06
list dictionaries from the oxford dictionaries api
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Net;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using System.ComponentModel;
// adapted from xubot's code, to be added later
@xubiod
xubiod / tamitw-nel.txt
Last active May 2, 2018 13:39
there's a man in the woods - no empty lines
There's a man in the woods.
What a spectacle.
Before the stories started, this school was still respectable.
My students used to skip down the hill to the honeysuckle
Pluck a couple,
And collect their nectar till they picked their fill.
Except one obnoxious kid, Sid.
Who just watched them eat the flowers
While he seethed and scowled
Cause he couldn't bear to share his sweet treats throughout our recess hour.
:top
C:
dir /w
tree
goto :top
@xubiod
xubiod / ngplus_pub_beta1.min.user.js
Created March 27, 2016 22:17
This is Newgrounds+ Script for Greasemonkey, Chrome or whatever. (I did NOT MAKE THIS! Just easier to install for others.)
// ==UserScript==
// @name Newgrounds+
// @namespace com.xaotik.scripts.ng
// @include *.newgrounds.com*
// @exclude *ads.newgrounds.com/*
// @description Newgrounds Plus Public Beta Version 1
// ==/UserScript==
function iJQ(b){var a=document.createElement("script");a.type="text/javascript";a.innerHTML="("+b.toString()+")(jQuery)";document.body.appendChild(a)}iJQ(function($){$(document).ready(function(){function gcss(i){var str="";for(var a in i){str+=("\n"+a+"\n{\n"+i[a].split(";").join(";\n")+"}\n")}var t=document.createElement("style");t.innerHTML=str;t.type="text/css";document.getElementsByTagName("head")[0].appendChild(t)}function ghtml(h){var d=document.createElement("div");d.innerHTML=h;return d.firstChild}jQuery.fn.exists=function(){return this.length>0};page={};page.icon=function(png){var link=$('<link rel="icon" type="image/x-icon">');$(link).attr("href",png);if($('link[rel="icon"]').exists()){$('link[rel="icon"]').replaceWith(link)}else{$("head").append(link)}};page.cl