Skip to content

Instantly share code, notes, and snippets.

@Deliquescence
Deliquescence / minecraft.service
Created January 15, 2024 22:35
Minecraft server systemd
[Unit]
Description=Minecraft Server
After=network.target
[Service]
Type=simple
Restart=always
RestartSec=30
User=minecraft
Group=minecraft
@Deliquescence
Deliquescence / toggle.sh
Last active December 14, 2020 01:33
Record linux desktop audio using script which can be set as keybind
#!/bin/bash
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@Deliquescence
Deliquescence / userChrome.css
Last active June 19, 2024 07:59
Firefox userChrome.css
/* Move container indicator to bottom of tab */
/* Remove the default lines */
/* Highlight line for active tab on top */
.tab-background:is([selected], [multiselected]):-moz-lwtheme {
border: none !important;
border-top: 2px solid white !important;
}
/* Container line on bottom */
@Deliquescence
Deliquescence / download.ps1
Last active April 19, 2019 22:27
youtube-dl download script
&youtube-dl --cookies cookies.txt --download-archive archive.txt -i -o '_/%(uploader)s (%(uploader_id)s)/%(upload_date)s %(id)s/%(title)s.%(ext)s' --format "(bestvideo[ext=mp4]/bestvideo)+(bestaudio[ext=m4a]/bestaudio)" --all-subs --write-description --write-info-json --write-annotations --write-thumbnail $args
[alias]
hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
# https://www.git-scm.com/docs/git-config#Documentation/git-config.txt-color
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%C(bold)%d%Creset %s %C(brightgreen)(%cr) %C(cyan)<%an>%Creset' --abbrev-commit --branches
sizeof = ls-tree -r -l HEAD --
[merge]
conflictstyle = diff3
javafx.fxml.LoadException:
/home/josh/Documents/_School/SoftwareEng/Calendar1998/out/production/resources/CreateAccountGUI.fxml
at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2601)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2571)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2441)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3214)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3175)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3148)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3124)

Keybase proof

I hereby claim:

  • I am deliquescence on github.
  • I am jjbaird (https://keybase.io/jjbaird) on keybase.
  • I have a public key ASA-XBjsFSFGtS1vgbg_MsmOyyUK_cUGvOwupp_PgWKCbwo

To claim this, I am signing this object:

---- Minecraft Crash Report ----
// This doesn't make any sense!
Time: 4/24/16 4:47 PM
Description: Tesselating block model
java.lang.IllegalArgumentException: Cannot get property PropertyEnum{name=variant, clazz=class biomesoplenty.common.enums.BOPTrees, values=[mangrove, palm, redwood, willow]} as it does not exist in BlockState{block=minecraft:air, properties=[]}
at net.minecraft.block.state.BlockState$StateImplementation.func_177229_b(BlockState.java:137)
at biomesoplenty.common.block.BlockBOPLeaves.func_180662_a(BlockBOPLeaves.java:180)
at net.minecraftforge.client.model.pipeline.BlockInfo.getColorMultiplier(BlockInfo.java:32)
@Deliquescence
Deliquescence / Base64Functions.java
Last active August 29, 2015 14:21
Gloriously commented Base64 code
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package facebookmessing;
import com.sun.org.apache.xerces.internal.impl.dv.util.Base64;
import java.io.ByteArrayOutputStream;
import java.io.File;
@Deliquescence
Deliquescence / base64withSplitting.java
Created May 23, 2015 21:22
base64 with splitting
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package facebookmessing;
import com.sun.org.apache.xerces.internal.impl.dv.util.Base64;
import java.io.File;
import java.io.FileInputStream;