Skip to content

Instantly share code, notes, and snippets.

View CyberFlameGO's full-sized avatar
💠
Hey, I’m Cyber/Aaron.

CyberFlame CyberFlameGO

💠
Hey, I’m Cyber/Aaron.
View GitHub Profile
#!/bin/bash
# screenshot.sh kde plasma wayland edition
# depends on imagemagick and spectacle
# Arch Linux: sudo pacman -Sy spectacle imagemagick
# usage: ./plasma-wayland-screenshot.sh (area|active|full)
# EDIT THESE
UPLOAD_URL=""
KEY=""
@PyvesB
PyvesB / ReplacementsBenchmark.java
Created September 11, 2018 17:48
JMH example for string manipulations
package io.github.pyvesb.jmh;
import java.util.concurrent.TimeUnit;
import java.util.regex.Pattern;
import org.apache.commons.lang3.RandomStringUtils;
import org.openjdk.jmh.annotations.Benchmark;
import org.openjdk.jmh.annotations.BenchmarkMode;
import org.openjdk.jmh.annotations.Fork;
import org.openjdk.jmh.annotations.Measurement;
@matthewzring
matthewzring / markdown-text-101.md
Last active May 5, 2025 08:44
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

What this guide covers:

@aperson
aperson / update_lwjgl.sh
Last active February 4, 2024 20:20
Updates the lwjgl that minecraft uses.
#!/usr/bin/env bash
echo "Determining OS..."
if [[ "$(uname -s)" == "Linux" ]]; then
mcdir="$HOME/.minecraft/"
downloader="wget --no-check-certificate -q -O"
os="linux"
natives="libjinput-linux libjinput-linux64 liblwjgl liblwjgl64 libopenal libopenal64"
elif [[ "$(uname -s)" == "Darwin" ]]; then