-
Download xor, extract the content, modify the value
path[0]to point to the executablexor.exe. -
Download 7-Zip, extract the content, modify the value
path[1]to point to the executable7z.exe. -
Download quickbms, extract the content, modify the value
path[2]to point to the executablequickbms.exe. -
Download fmod_extractors, extract the content, modify the value
path[3]to point to the executablefmod_extr.exe.
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
| inline std::vector<uint8_t> read_vector_from_disk(std::string file_path) | |
| { | |
| std::ifstream instream(file_path, std::ios::in | std::ios::binary); | |
| std::vector<uint8_t> data((std::istreambuf_iterator<char>(instream)), std::istreambuf_iterator<char>()); | |
| return data; | |
| } |
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] | |
| name = "test" | |
| version = "0.1.0" | |
| authors = ["YOU <[email protected]>"] | |
| edition = "2018" | |
| [lib] | |
| crate-type = ["cdylib"] |
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
| #!/usr/bin/env python3 | |
| import http.server | |
| import socketserver | |
| PORT = 8000 | |
| Handler = http.server.SimpleHTTPRequestHandler | |
| Handler.extensions_map.update({ | |
| '.wasm': 'application/wasm', |
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
| #version 330 core | |
| in vec2 frag_uv; | |
| uniform sampler2D virtual_screen; | |
| uniform float sharpness = 2.0; | |
| out vec4 frag_color; | |
| float sharpen(float pix_coord) { |
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
| // your inputs and uniforms ... | |
| void antialiasedPixelColor(out vec4 color, in vec2 pixelUV, in sampler2D textureChannel) | |
| { | |
| // basic sampling: | |
| vec2 uv = floor(pixelUV) + 0.5; | |
| // subpixel filtering algorithm: | |
| uv += 1.0 - clamp((1.0 - fract(pixelUV)), 0.0, 1.0); | |
| color = texture(textureChannel, uv / textureChannel.xy); |
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
| /// <summary> | |
| /// Reshapes the drawing are to maintain aspect ratio when the window is resized, | |
| /// using a target pixel ratio to maintain, and applying "pillars" or "letterbox" | |
| /// effect as needed, allowing the drawing context to shrink/grow uniformly. | |
| /// </summary> | |
| /// <param name="width">The new width of the window/drawing area to fit to.</param> | |
| /// <param name="height">The new height of the window/drawing area to fit to.</param> | |
| public void WindowReshape(int width, int height) | |
| { | |
| // Make the projection matrix active |
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
| Windows Registry Editor Version 5.00 | |
| ; README | |
| ; Open REGEDIT on Windows and find the exact name of the session you wish to apply the colors to. | |
| ; Then replace "YOUR_SESSION_HERE" with the name you found. | |
| [HKEY_CURRENT_USER\Software\9bis.com\KiTTY\Sessions\YOUR_SESSION_HERE] | |
| "Colour21"="255,255,255" | |
| "Colour20"="248,248,242" | |
| "Colour19"="154,237,254" |
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
| // ==UserScript== | |
| // @name Auto-Refresh | |
| // @include https://www.example.com | |
| // ==/UserScript== | |
| //--- https://stackoverflow.com/questions/25484978/i-want-a-simple-greasemonkey-script-to-reload-the-page-every-minute | |
| setTimeout(function(){ location.reload(); }, 20*1000); |
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
| using System; | |
| using System.Linq; | |
| using Org.BouncyCastle.Asn1.X9; | |
| using Org.BouncyCastle.Crypto; | |
| using Org.BouncyCastle.Crypto.Generators; | |
| using Org.BouncyCastle.Crypto.Parameters; | |
| using Org.BouncyCastle.Security; | |
| namespace Program | |
| { |