This workflow uses the GitHub CLI to keep a forked repo in sync with the upstream repo. Add it to your repo as .github/workflows/sync-fork.yaml
.
It runs daily to sync the default branch and can be triggered manually for any branch.
[21Oct2024 22:33:56.863] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, indygwyn, --version, 1.21.1, --gameDir, /Users/twh/Library/Application Support/PrismLauncher/instances/All the Mods 10 - ATM10/minecraft, --assetsDir, /Users/twh/Library/Application Support/PrismLauncher/assets, --assetIndex, 17, --uuid, 6d2c563e1d2247f89d31ce48fc49a49b, --accessToken, ❄❄❄❄❄❄❄❄, --userType, msa, --versionType, release, --fml.neoForgeVersion, 21.1.72, --fml.fmlVersion, 4.0.29, --fml.mcVersion, 1.21.1, --fml.neoFormVersion, 20240808.144430, --launchTarget, forgeclient, --width, 854, --height, 480] | |
[21Oct2024 22:33:56.864] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: JVM identified as Microsoft OpenJDK 64-Bit Server VM 21.0.3+9-LTS | |
[21Oct2024 22:33:56.865] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 11.0.4+main.d2e20e43 starting: java version 21.0.3 by Microsoft; OS Mac OS X arch aarch64 version 15.0.1 | |
[21Oct2024 22:33:57.144] [main/INFO] [ |
---- Minecraft Crash Report ---- | |
// You should try our sister game, Minceraft! | |
Time: 2024-10-21 22:36:20 | |
Description: Rendering Block Entity | |
java.lang.IllegalArgumentException: The class blusunrize.immersiveengineering.client.utils.TransformingVertexBuilder does not implement interface VertexBufferWriter, which is required for compatibility with Sodium (see: https://github.com/CaffeineMC/sodium-fabric/issues/1620) | |
at TRANSFORMER/[email protected]+mc1.21.1/net.caffeinemc.mods.sodium.api.vertex.buffer.VertexBufferWriter.createUnsupportedVertexConsumerThrowable(VertexBufferWriter.java:46) ~[sodium-neoforge-0.6.0-beta.2+mc1.21.1.jar%23799!/:?] {re:mixin,re:classloading} | |
at TRANSFORMER/[email protected]+mc1.21.1/net.caffeinemc.mods.sodium.api.vertex.buffer.VertexBufferWriter.of(VertexBufferWriter.java:22) ~[sodium-neoforge-0.6.0-beta.2+mc1.21.1.jar%23799!/:?] {re:mixin,re:classloading} | |
at TRANSFORMER/[email protected]/net.minecraft.client.particle.SingleQuadParticle.renderRotatedQuad(SingleQuadParticle.jav |
Many programming languages, including Ruby, have native boolean (true and false) data types. In Ruby they're called true
and false
. In Python, for example, they're written as True
and False
. But oftentimes we want to use a non-boolean value (integers, strings, arrays, etc.) in a boolean context (if statement, &&, ||, etc.).
This outlines how this works in Ruby, with some basic examples from Python and JavaScript, too. The idea is much more general than any of these specific languages, though. It's really a question of how the people designing a programming language wants booleans and conditionals to work.
If you want to use or share this material, please see the license file, below.
Inject this css snippet to remove all ads from your Twitter timeline.
div[data-testid="placementTracking"]:has(path[d="M19.498 3h-15c-1.381 0-2.5 1.12-2.5 2.5v13c0 1.38 1.119 2.5 2.5 2.5h15c1.381 0 2.5-1.12 2.5-2.5v-13c0-1.38-1.119-2.5-2.5-2.5zm-3.502 12h-2v-3.59l-5.293 5.3-1.414-1.42L12.581 10H8.996V8h7v7z"]) {
display: none;
}
You can inherit the environment variables from PID 1 by iterating over the list of null-terminated strings
in /proc/1/environ
, parsing the first characters up to the first =
as the variable name, setting the
remaining value as that variable, and exporting it.
The Code Snippet
This works with multiline environment variables, and environment variables with arbitrary values, like
strings, including =
or JSON blobs.
Paste this in your current terminal session to inherit the environment variables from PID 1:
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit
#!/bin/sh | |
man2pdf() { | |
## | |
## Created by Pico Mitchell (of Random Applications) on 11/16/22 | |
## | |
## https://gist.github.com/PicoMitchell/619c12fd6a53ae6ec657514915d4edf9 | |
## | |
## MIT License | |
## |
#!/bin/sh | |
# Copyright 2021 Jonathan Bowman. All documentation and code contained | |
# in this file may be freely shared in compliance with the | |
# Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) | |
# and is **provided "AS IS" without warranties or conditions of any kind**. | |
# | |
# OUT="$(mktemp)"; wget -q -O - https://gist.github.com/bowmanjd/d72e2e89996087f71ffe3e9777dea5a2/raw > $OUT; . $OUT | |
# | |
# You may read a brief synopsis at |
[15:21:09] [main/INFO]: ModLauncher running: args [--username, indygwyn, --version, forge-43.1.25, --gameDir, /Users/twh/Twitch/Minecraft/Instances/All the Mods 8 - ATM8 - 1.19.2, --assetsDir, /Users/twh/Twitch/Minecraft/Install/assets, --assetIndex, 1.19, --uuid, 6d2c563e1d2247f89d31ce48fc49a49b, --accessToken, ❄❄❄❄❄❄❄❄, --clientId, QThEMjQwMjI1RjJCNEVCODhERUY1MjA1NEZERkQ4MkY=, --xuid, 2533274810344824, --userType, msa, --versionType, release, --width, 1024, --height, 768, --launchTarget, forgeclient, --fml.forgeVersion, 43.1.25, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853] | |
[15:21:09] [main/INFO]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17.0.3 by Microsoft; OS Mac OS X arch x86_64 version 12.6 | |
[15:21:10] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/Users/twh/Twitch/Minecraft/Install/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2391!/ Service=ModLauncher Env=CLIENT |