Skip to content

Instantly share code, notes, and snippets.

REPO="Prismlauncher"
OWNER="Prismlauncher"
PRS=$(
gh api graphql -f query='
query($repo: String!, $owner: String!, $endCursor: String) {
repository(name: $repo, owner: $owner) {
pullRequests(first: 100, after: $endCursor, states: [OPEN], labels: ["blocked"]) {
nodes {
number
bodyText
import sys
import pathlib
import re
import shlex
def main():
path = pathlib.Path(__file__).resolve().parent.parent
ignore_paths = [path.joinpath(p) for p in ["libraries", "program_info"]]
if len(sys.argv) > 1:
cmake_minimum_required(VERSION 3.15)
if (NOT(CMAKE_SCRIPT_MODE_FILE AND NOT CMAKE_PARENT_LIST_FILE))
message(FATAL_ERROR "UpdateSources.cmake must be run in script mode")
return()
endif()
set(_script_file "${CMAKE_CURRENT_LIST_FILE}")
get_filename_component(_root "${_script_file}" ABSOLUTE) # _root/cmake/UpdateSources.cmake
get_filename_component(_root "${_root}" DIRECTORY) # _root/cmake/
#include <qlogging.h>
#include <QDebug>
#include <QMetaClassInfo>
#include <QObject>
#include <QString>
#include <QStringList>
#include <iostream>
#include "serialize.h"
use macro_rules_attribute::apply;
use macro_rules_attribute::derive;
macro_rules! object_trait {
(@intf $trait_name:ident $trt:path) => {
paste::paste! {
#[allow(missing_docs)]
pub type [<$trt Ref>]<'a, T> = &'a dyn $trt<ID = <T as $trait_name>::ID>;
#[allow(missing_docs)]
pub type [<$trt RefMut>]<'a, T> = &'a mut dyn $trt<ID = <T as $trait_name>::ID>;
@Ryex
Ryex / config.lua
Last active February 23, 2024 00:09
Create computercraft RadialQuary
local CWD = fs.getDir(shell.getRunningProgram())
local tArgs = {...}
local function usage()
print("Usage: config <rotation|level|receiver> <ID>")
print("Start the receiver first and then run rotation and level on respective computers")
print("Use a unique quarry ID and use the same ID on all three computers")
end
local SettingFile = fs.combine(CWD, "settings.cfg")
@Ryex
Ryex / nerdfont.lua
Created January 26, 2023 06:03
iconfont tables from css
local nerdfont = {
nf_fa_free_code_camp = "",
nf_ple_flame_thick = "",
nf_mdi_cube = "",
nf_fae_telescope = "",
nf_oct_file_symlink_file = "",
nf_mdi_chart_line = "",
nf_fa_bar_chart = "",
nf_cod_rss = "",
nf_cod_list_tree = "",
This file has been truncated, but you can view the full file.
[17:02:44] [main/INFO]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[17:02:44] [main/INFO]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[17:02:44] [main/INFO]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[17:02:44] [main/INFO]: Forge Mod Loader version 14.23.4.2757 for Minecraft 1.12.2 loading
[17:02:44] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_51, running on Windows 10:amd64:10.0, installed at C:\Users\ryex\Documents\Curse\Minecraft\Install\runtime\jre-x64\1.8.0_51
[17:02:44] [main/INFO]: Searching C:\Users\ryex\Documents\Curse\Minecraft\Instances\Bounds\mods for mods
[17:02:44] [main/WARN]: Found FMLCorePluginContainsFMLMod marker in backpacks 1.12.2 - 3.5.2.jar. This is not recommended, @Mods should be in a separate jar from the coremod.
[17:02:44] [main/WARN]: The coremod BCModPlugin (brad16840.core.BCModPlugin) is not signed!
[17:02:44] [main/WARN]: Found FMLCorePluginContainsFMLMod
@Ryex
Ryex / 1.png
Last active June 3, 2017 18:29
octoprint.log
1.png