Skip to content

Instantly share code, notes, and snippets.

View NuLL3rr0r's full-sized avatar
๐Ÿ’ญ
I may be slow to respond.

Mamadou Babaei NuLL3rr0r

๐Ÿ’ญ
I may be slow to respond.
View GitHub Profile
@guest271314
guest271314 / rust-usb-install.md
Created December 29, 2024 03:44
Installing Rust on an external USB and keeping the installation there

Took me a while to figure this out. Posted here to share just in case anybody else in the world is trying to install Rust on an external USB device, for example, to get around build with Rust resulting in running out of disk space on a live Linux USB running on a temporary file system. See Is there a way to [disable] caching crates?.

I have been trying to build Roll your own JavaScript runtime for a while now. My previous attempts resulted in an error due to the disk space being filled by cargo writing downloaded crates to $HOME/.cargo. I start out with around only 1 GB on the live Linux USB temporary file system. I have access to a few external USB devices ranging between 64 GB and 128 GB capacity, so that's not the issue.

This is what worked for me. Making use of CARGO_HOME and RUST_HOME environment variables, along with naming the directories accordingly

@jamiephan
jamiephan / README.md
Last active November 14, 2025 19:06
A script to automatically add ALL items to your account in quixel

Script to add all items from quixel

As quixel is being removed, all items are free to aquire. This script is to automate the process to add items to your account (As of writing, a total of 18874 items)

Note: This script only tested in the latest version of Chrome.

How to use

  1. Copy the script from below (run.js)
  2. Login into https://quixel.com
@smx-smx
smx-smx / XZ Backdoor Analysis
Last active June 2, 2025 22:53
[WIP] XZ Backdoor Analysis and symbol mapping
XZ Backdoor symbol deobfuscation. Updated as i make progress
@thesamesam
thesamesam / xz-backdoor.md
Last active November 30, 2025 22:27
xz-utils backdoor situation (CVE-2024-3094)

FAQ on the xz-utils backdoor (CVE-2024-3094)

This is a living document. Everything in this document is made in good faith of being accurate, but like I just said; we don't yet know everything about what's going on.

Update: I've disabled comments as of 2025-01-26 to avoid everyone having notifications for something a year on if someone wants to suggest a correction. Folks are free to email to suggest corrections still, of course.

Background

Guide for cross compiling Windows GD Mods on Linux

Requirements

  • clang & llvm (make sure you have clang-cl)
  • cmake (duh)
  • git

1. Setting up xwin

Install xwin, you can also just use one of the unknown-linux tarballs from the releases

@Thomashighbaugh
Thomashighbaugh / installing-brave-on-void-linux.md
Created December 27, 2021 21:16
For anyone trying to install Brave Browser on Void Linux, cross-post from Reddit

Installing Brave Browser on Void Linux

For anyone curious in the future:

Yes, you can relatively easily install brave browser on void linux, if that is somehow a non-negotiable for you fear not. There are three methods that I am aware of:

  1. Add this template file to your fork of void-packages locally and build the ./xbps-src package like any other.

  2. Use flatpak, which I need not explain since instructions are on the flathub listing itself. (Note: will be isolated from the system which can be a bit of a pain, especially using things like keepassxc)

Announcement

Please stop using this extension and Microsoft's C++ extension for Unreal code completion.

clangd

The VSCode extension clangd has blazing fast code completion in comparison. I've made a VSCode extension for it:

https://github.com/boocs/unreal-clangd

You will use clangd for code completion(Intellisense) and use Microsoft's C++ extension for Building/Debugging

@ityonemo
ityonemo / test.md
Last active November 27, 2025 08:19
Zig in 30 minutes

A half-hour to learn Zig

This is inspired by https://fasterthanli.me/blog/2020/a-half-hour-to-learn-rust/

Basics

the command zig run my_code.zig will compile and immediately run your Zig program. Each of these cells contains a zig program that you can try to run (some of them contain compile-time errors that you can comment out to play with)

@MarkJGx
MarkJGx / UsingAsyncTraceDelegates.cpp
Last active July 2, 2024 08:48
Unreal Engine Async TraceDelegate lambda usage.
// @MarkJGx this is how you use async trace delegates.
FTraceDelegate TraceDelegate = FTraceDelegate::CreateWeakLambda(
this, [](const FTraceHandle& TraceHandle, FTraceDatum& TraceResults)
{
if(TraceResults.OutHits.Num() > 0)
{
const FHitResult& Result = TraceResults.OutHits[0];
}
});
@graninas
graninas / What_killed_Haskell_could_kill_Rust.md
Last active November 5, 2025 03:56
What killed Haskell, could kill Rust, too

At the beginning of 2030, I found this essay in my archives. From what I know today, I think it was very insightful at the moment of writing. And I feel it should be published because it can teach us, Rust developers, how to prevent that sad story from happening again.


What killed Haskell, could kill Rust, too

What killed Haskell, could kill Rust, too. Why would I even mention Haskell in this context? Well, Haskell and Rust are deeply related. Not because Rust is Haskell without HKTs. (Some of you know what that means, and the rest of you will wonder for a very long time). Much of the style of Rust is similar in many ways to the style of Haskell. In some sense Rust is a reincarnation of Haskell, with a little bit of C-ish like syntax, a very small amount.

Is Haskell dead?