Skip to content

Instantly share code, notes, and snippets.

View akc3n's full-sized avatar

akc3n akc3n

View GitHub Profile
@peppergrayxyz
peppergrayxyz / qemu-vulkan-virtio.md
Last active February 25, 2025 16:54
QEMU with VirtIO GPU Vulkan Support

QEMU with VirtIO GPU Vulkan Support

With its latest reales qemu added the Venus patches so that virtio-gpu now support venus encapsulation for vulkan. This is one more piece to the puzzle towards full Vulkan support.

An outdated blog post on clollabora described in 2021 how to enable 3D acceleration of Vulkan applications in QEMU through the Venus experimental Vulkan driver for VirtIO-GPU with a local development environment. Following up on the outdated write up, this is how its done today.

Definitions

Let's start with the brief description of the projects mentioned in the post & extend them:

@other8026
other8026 / simplex_get_reactions.md
Last active November 27, 2024 01:15
get reactions on SimpleX

This is the sql I used to get reactions on SimpleX. Everyone should be able to find out who's reacting to stuff since reactions are sometimes abused on SimpleX and they're accessible via the database anyway.

I think the easiest way is to use the cli version because the database isn't encrypted and the cli database is different from the desktop client's by default. Here's the link for instructions on how to use the cli: https://simplex.chat/docs/cli.html

I wouldn't recommend messing around with your real client's database even if you only plan on doing SELECT statements, but you can. Instructions on how to use sqlcipher to open an encrypted database

Crippling Facebook

Facebook works with advertisers to target you. These instructions are one of the many ways to begin crippling that relationship. When AI targeting is crippled, your psychosecurity improves :)

  1. On your desktop machine, goto https://accountscenter.facebook.com/ads/audience_based_advertising
  2. Maximize the browser window
  3. Press F12 and click on the Console tab
  4. Select the code below, copy it, paste it upon the Console line (The area next to the > character in the Console window), and press enter:
@smx-smx
smx-smx / XZ Backdoor Analysis
Last active February 26, 2025 01:17
[WIP] XZ Backdoor Analysis and symbol mapping
XZ Backdoor symbol deobfuscation. Updated as i make progress
@q3k
q3k / hashes.txt
Last active November 11, 2024 17:38
liblzma backdoor strings extracted from 5.6.1 (from a built-in trie)
0810 b' from '
0678 b' ssh2'
00d8 b'%.48s:%.48s():%d (pid=%ld)\x00'
0708 b'%s'
0108 b'/usr/sbin/sshd\x00'
0870 b'Accepted password for '
01a0 b'Accepted publickey for '
0c40 b'BN_bin2bn\x00'
06d0 b'BN_bn2bin\x00'
0958 b'BN_dup\x00'
@lbschenkel
lbschenkel / MitID+GrapheneOS.md
Last active January 29, 2025 10:40
MitID with GrapheneOS

MitID is a very finicky app that sometimes stops working in GrapheneOS. For that reason I strongly recommend disabling automatic updates for this particular app in the Play Store, and only updating when there is evidence that the new version will keep working. It's also worth it to order a code display as a back up authenticator — it's free.

For the sake of other users I will try my best to document here which versions work and which don't work.


@Peter-Easton
Peter-Easton / NSA Social & AndroMail
Last active December 28, 2021 21:55
A hypothesized example of Interprocess Communication on Android
2021-02-26 20:40:44 @TheJollyRoger slkhgdhb3151[m]: Ah, you're talking about Inter-Process Communication?
2021-02-26 20:41:25 @TheJollyRoger So, the way Inter-Process Communication works on Android is that apps can mutually whitelist each other for interprocess communication.
2021-02-26 20:41:42 --> user1HFT37N ([email protected]) has joined #grapheneos-offtopic
2021-02-26 20:41:42 @TheJollyRoger I'll go back to one of my old examples, I like retelling this story:
2021-02-26 20:41:56 @TheJollyRoger Let's say I have five apps installed in my main profile:
2021-02-26 20:42:01 slkhgdhb3151[m] <TheJollyRoger "slkhgdhb3151: Ah, you're talking"> Not sure what I am talking about! :-D Let's drop that question for now. Let's me read a bit more and better understand what I read. I will be able to come back with clearer questions!! ;-)
2021-02-26 20:42:18 <-- user1HFT37N ([email protected]) has quit (Remote host closed the connection)
@DannyQuah
DannyQuah / 2020.05-D.Quah-Managing-Gists-Locally.md
Last active October 5, 2024 18:05
Managing Gists Locally

Managing Gists Locally

by Danny Quah, May 2020 (revised Jan 2022)

Through the Embed instruction or plugin, Gist snippets on GitHub can conveniently provide posts on Medium, WordPress, and elsewhere supplementary information (lines of code, images, Markdown-created tables, and so on). But while Gist snippets on GitHub can be managed directly via browser or through something like [Gisto][], a user might also wish to manipulate them offline. This last is for many of the same reasons that a user seeks to clone a git repo to their local filesystem, modify it locally, and then only subsequently push changes back up to GitHub.

Here's how to do this:

Create the gist on GitHub and then clone it to your local filesystem:

@typebrook
typebrook / README.md
Last active January 30, 2025 14:11
A bash script for gist management #bash #gist
@MaxXor
MaxXor / btrfs-guide.md
Last active February 15, 2025 09:53
Btrfs guide to set up an LUKS-encrypted btrfs raid volume with included maintenance & recovery guide

Encrypted Btrfs storage setup and maintenance guide

Initial setup with LUKS/dm-crypt

This exemplary initial setup uses two devices /dev/sdb and /dev/sdc but can be applied to any amount of devices by following the steps with additional devices.

Create keyfile:

dd bs=64 count=1 if=/dev/urandom of=/etc/cryptkey iflag=fullblock
chmod 600 /etc/cryptkey