Moved to a repo at https://github.com/Geczy/coolify-migration
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
| // For context check out https://portswigger.net/web-security/host-header/exploiting#connection-state-attacks | |
| var connectionId = utilities().randomUtils().randomString(8); | |
| var options = RequestOptions.requestOptions().withConnectionId(connectionId).withHttpMode(HttpMode.HTTP_1); | |
| // Send a simple GET / HTTP/1.1 to the target as the precusor request | |
| var url = requestResponse.request().url(); | |
| var precursorRequest = HttpRequest.httpRequestFromUrl(url); | |
| precursorRequest = precursorRequest.withPath("/").withHeader("Connection", "keep-alive"); | |
| // Send the attack in the repeater, and update the response pane |
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
| // This is for the stable version of Zig (0.15.1) | |
| // Adapted from (0.14.1 version): https://gist.github.com/karlseguin/c6bea5b35e4e8d26af6f81c22cb5d76b | |
| // Changed Sep 04, 2025 to accomodate latest Zig changes | |
| // See history if you're using an older version of Zig. | |
| // in your build.zig, you can specify a custom test runner: | |
| // const tests = b.addTest(.{ | |
| // .target = target, | |
| // .optimize = optimize, | |
| // .test_runner = .{ .path = b.path("test_runner.zig"), .mode = .simple }, // add this line |
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
| declare module 'lucide-react' { | |
| export * from 'lucide-react/dist/lucide-react.suffixed' | |
| } |
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
| if (!window.decodeStanza) { | |
| window.decodeStanza = require("WAWap").decodeStanza; | |
| window.encodeStanza = require("WAWap").encodeStanza; | |
| } | |
| require("WAWap").decodeStanza = async (e, t) => { | |
| const result = await window.decodeStanza(e, t); | |
| console.log('RECV', result.toString(), result); |
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
| #!/bin/sh | |
| print_usage() { | |
| echo "usage: compress_video <input_file>" | |
| echo "supported formats: mp4, webm, mkv, mov, avi, flv" | |
| } | |
| get_extension() { | |
| f="${1##*/}" | |
| case "$f" in |
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
| if (!window.decodeBackStanza) { | |
| window.decodeBackStanza = require("WAWap").decodeStanza; | |
| window.encodeBackStanza = require("WAWap").encodeStanza; | |
| } | |
| require("WAWap").decodeStanza = async (e, t) => { | |
| const result = await window.decodeBackStanza(e, t); |
FROM https://www.reddit.com/r/Fedora/comments/zmvkdj/8bitdo_ultimate_bluetooth_controller_working_in/
I've bought this new controller from 8BitDo and wished to use on linux, to my sadness the controller didn't work out of the box, neither by cable, the 2.4G dongle or bluetooth.
So I've tried a number of solutions and this one from u/GodOfEmus over in the 8bitdo community was the one to work for me:
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.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEngine.Profiling; | |
| public class KdTree<T> : IEnumerable<T>, IEnumerable where T : Component | |
| { | |
| protected KdNode _root; | |
| protected KdNode _last; |
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
| (function () { | |
| WebSocket.prototype._send = WebSocket.prototype.send; | |
| WebSocket.prototype.send = function (data) { | |
| this._send(data); | |
| this.addEventListener('message', function (msg) { | |
| console.log('>> ' + msg.data); | |
| }, false); | |
| this.send = function (data) { | |
| this._send(data); | |
| console.log("<< " + data); |
NewerOlder