Skip to content

Instantly share code, notes, and snippets.

View octylFractal's full-sized avatar
🦞
trans rights

Octavia Togami octylFractal

🦞
trans rights
View GitHub Profile

Keybase proof

I hereby claim:

  • I am octylFractal on github.
  • I am kenzierocks (https://keybase.io/kenzierocks) on keybase.
  • I have a public key whose fingerprint is D1DD DB04 77B1 90ED 52AC 71A1 421A 3DFA E5DF 067A

To claim this, I am signing this object:

Item #: 4886

Class: Euclid

Special Containment Procedures: SCP-4886 is currently located in ███████████, England. All attempts to capture SCP-4886 for transport to a more secure Foundation location have been unsuccessful, so the Foundation has purchased and quarantined the town and surrounding area under the guise of creating a nature preserve.

The only successful means of containing SCP-4886 so far have been to maintain the stone walls around the town and to hide bells around the town, as, despite appearances, it is unable to fly and it appears to have a pathological need to collect bells. All maintenance of containment must be conducted while SCP-4886 is asleep, or it will at the very least interfere with maintenance, possibly resulting in a containment breach.

@octylFractal
octylFractal / pasta.md
Created October 7, 2019 00:43
air mask copypasta

I'd just like to interject for a moment. What you're referring to as air, is in fact, !#existing, or as I've recently taken to calling it, air + cave_air + void_air. air is not a non-existing mask unto itself, but rather another free component of a fully functioning mask made useful by the WorldEdit parser, Minecraft and vital naming components comprising a full mask as defined by EngineHub.

Many WorldEdit users run a modified version of the !#existing mask every day, without realizing it. Through a peculiar turn of events, the version of the mask which is widely used today is often called air, and many of its users are not aware that it is basically the !#existing mask, developed by the WorldEdit team.

@octylFractal
octylFractal / README.md
Last active May 15, 2019 21:52
jpre -- Java Preloader

jpre

Java Preloader script. Invoke using jpre <version> to set the JAVA_HOME variable in your shell to a specific Java version, as specified in ~/.config/jpre/config.ini.

config.ini is an unprovided file. The format is simple, just add lines of the form <java version>=<path to java home>, e.g. 8=/usr/lib/jvm/openjdk-8.

To include the jpre command in your shell session, you must source the _java_preloader.sh script.

@octylFractal
octylFractal / git-remaster
Last active September 14, 2017 00:20
Re-master your branch: pull latest master and rebase upon it.
#!/usr/bin/env bash
set -e
master="$1"
if [[ "$master" == "" ]]; then master=master; fi
current_branch="$(git name-rev --name-only HEAD)"
set -x
git checkout "$master"
git pull
git checkout "$current_branch"
git rebase "$master"
@octylFractal
octylFractal / git-psh
Last active February 8, 2019 04:19
git psh (push -u -> psh): Push and set upstream if needed
#!/usr/bin/env bash
red="$(tput setaf 1)"
green="$(tput setaf 2)"
cyan="$(tput setaf 6)"
reset="$(tput init)"
branch="$(git rev-parse --abbrev-ref HEAD)"
[[ $? == 0 ]] || { echo "$red"'git `psh` cannot work without a branch'"$reset"; exit 1;}
upstream="$(git rev-parse --abbrev-ref "$branch"'@{u}' 2>/dev/null)"
if [[ $? == 0 ]]; then
@octylFractal
octylFractal / config.json
Created November 4, 2016 16:42 — forked from anonymous/config.json
Bootstrap Customizer Config
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "darken(#428bca, 6.5%)",
"@brand-success": "#5cb85c",
Methionylthreonylthreonylglutaminylarginyltyrosylglutamylserylleucylphenylalanylalanylglutaminylleuc  yllysylglutamylarginyllysylglutamylglycylalanylphenylalanylvalylprolylphenylalanylvalylthreonylleucylgl  ycylaspartylprolylglycylisoleucylglutamylglutaminylserylleucyllysylisoleucylaspartylthreonylleucylisoleu  cylglutamylalanylglycylalanylaspartylalanylleucylglutamylleucylglycylisoleucylprolylphenylalanylseryla  spartylprolylleucylalanylaspartylglycylprolylthreonylisoleucylglutaminylasparaginylalanylthreonylleucyl  arginylalanylphenylalanylalanylalanylglycylvalylthreonylprolylalanylglutaminylcysteinylphenylalanylglu  tamylmethionylleucylalanylleucylisoleucylarginylglutaminyllysylhistidylprolylthreonylisoleucylprolylisol  eucylglycylleucylleucylmethionyltyrosylalanylasparaginylleucylvalylphenylalanylasparaginyllysylglycyli  soleucylaspartylglutamylphenylalanyltyrosylalanylglutaminylcysteinylglutamyllysylvalylglycylvalylaspa  rtylserylvalylleucylvalylalanylaspartylvalylprolylvalylglutaminylglutamylserylalanylp
package me.kenzierocks.test;
public class Quine {
static String data = "CiAgICBwdWJsaWMgc3RhdGljIHZvaWQgbWFpbihTdHJpbmdbXSBhcmdzKSB7CiAgICAgICAgU3lzdGVtLmVyci5wcmludGxuKCJwYWNrYWdlIG1lLmtlbnppZXJvY2tzLnRlc3Q7Iik7CiAgICAgICAgU3lzdGVtLmVyci5wcmludGxuKCIiKTsKICAgICAgICBTeXN0ZW0uZXJyLnByaW50bG4oInB1YmxpYyBjbGFzcyBRdWluZSB7Iik7CiAgICAgICAgU3lzdGVtLmVyci5wcmludGxuKCIiKTsKICAgICAgICBTeXN0ZW0uZXJyLnByaW50bG4oIiAgICBzdGF0aWMgU3RyaW5nIGRhdGEgPSBcIiIgKyBkYXRhICsgIlwiOyIpOwogICAgICAgIFN5c3RlbS5lcnIucHJpbnRsbihuZXcgU3RyaW5nKGphdmEudXRpbC5CYXNlNjQuZ2V0RGVjb2RlcigpLmRlY29kZShkYXRhKSwgamF2YS5uaW8uY2hhcnNldC5TdGFuZGFyZENoYXJzZXRzLlVURl84KSk7CiAgICB9Cgp9";
public static void main(String[] args) {
System.err.println("package me.kenzierocks.test;");
System.err.println("");
System.err.println("public class Quine {");
@octylFractal
octylFractal / maven-resolver.py
Last active July 28, 2016 01:24
A script that will scan maven repositories for an artifact.
#!/usr/bin/env python3
from pathlib import Path
import requests
import sys
from bs4 import BeautifulSoup
def xml_parser(text):
return BeautifulSoup(text, 'xml')
def resolve(target, repos):