This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import subprocess | |
| from PIL import Image | |
| from random import randrange | |
| class ByteStreamReader: | |
| chunk_length = 32 | |
| hash_length = 8 | |
| def __init__(self, bytearr): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /////////////////////////////////////////////////////////////////////////////// | |
| // ABOUT: A unity Shader .cginc to draw numbers in the fragment shader | |
| // AUTHOR: Freya Holmér | |
| // LICENSE: Use for whatever, commercial or otherwise! | |
| // Don't hold me liable for issues though | |
| // But pls credit me if it works super well <3 | |
| // LIMITATIONS: There's some precision loss beyond 3 decimal places | |
| // CONTRIBUTORS: yes please! if you know a more precise way to get | |
| // decimal digits then pls lemme know! | |
| // GetDecimalSymbolAt() could use some more love/precision |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import com.badlogic.gdx.scenes.scene2d.Actor; | |
| import de.golfgl.gdx.controllers.ControllerMenuStage; | |
| import de.golfgl.gdx.controllers.IControllerScrollable; | |
| import java.util.ArrayList; | |
| import java.util.Arrays; | |
| import java.util.List; | |
| public class ControllerScrollableHelper implements IControllerScrollable { | |
| private final ControllerMenuStage stage; |
Here is a good resource to check out first
First of all, check what command is run when you in fact launch your app. For me (Create minecraft mod) this command was executed when I run runClient configuration (line breaks, tabs and backslashes added for readability):
/home/tooster/.sdkman/candidates/java/14.0.1-open/bin/java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #script for https://www.youtube.com/watch?v=FvH7b_qLmbU | |
| import struct | |
| from ghidra.program.model.symbol import * | |
| xrefs = currentProgram.getReferenceManager() | |
| startAddr = currentAddress | |
| currAddr = currentAddress | |
| while True: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma once | |
| #include <stdint.h> | |
| #include <stdio.h> | |
| namespace be | |
| { | |
| void print_message( const char* msg ) | |
| { | |
| printf( "[BATTLEYE] %s\n", msg ); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Spotify's Anti-Adveritsing blocking servers, tricking services to stop music services (DONT BLOCK THESE!): | |
| gcdn.2mdn.net | |
| r9---sn-n4v7kn76.c.2mdn.net | |
| gew1-accesspoint-b-zzfg.ap.spotify.com | |
| ns1.p23.dynect.net | |
| ns3.p23.dynect.net | |
| ns4.p23.dynect.net | |
| dns1.p07.nsone.net | |
| dns2.p07.nsone.net | |
| dns3.p07.nsone.net |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.veiset.tsar.world | |
| import com.badlogic.gdx.math.Vector2 | |
| import org.veiset.tsar.engine2.utils.component1 | |
| import org.veiset.tsar.engine2.utils.component2 | |
| import org.veiset.tsar.engine2.utils.x | |
| import org.veiset.tsar.world.icon.WorldIcon | |
| import kotlin.math.absoluteValue | |
| import kotlin.math.cos | |
| import kotlin.math.pow |
NewerOlder