Skip to content

Instantly share code, notes, and snippets.

View BachoSeven's full-sized avatar
🎩
thinking

Francesco Minnocci BachoSeven

🎩
thinking
View GitHub Profile
@smx-smx
smx-smx / XZ Backdoor Analysis
Last active October 12, 2024 07:23
[WIP] XZ Backdoor Analysis and symbol mapping
XZ Backdoor symbol deobfuscation. Updated as i make progress

Directory structure:

.
├── papers
│   ├── Title - Author.pdf
│   └── Title - Author.pdf
├── notes
│   ├── 2022-04-10
│   │   ├── note.tex
@aziis98
aziis98 / !symlink-manager.md
Last active January 19, 2022 04:47
Script to automatically symlink all scripts to the correct directories with the TARGET_PATH directive.
@nocturn9x
nocturn9x / mizip_util.py
Last active November 8, 2024 02:19
A simple tool to tinker with MiZip Mifare tags. It can generate sector(s) decryption keys as well as modified dump files to alter a tag's balance. If you know what you're doing, you can even use this tool to transform any Mifare 1K/4K tag (and probably others using the same scheme) into a "MiZip-compatible" tag recognizable by vending machines
#!/usr/bin/env python
# Copyright 2021 Mattia Giambirtone & All Contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
@motorailgun
motorailgun / idea.md
Last active June 18, 2024 06:22
Installing Windows and Linux into the same partition

Installing Windows and Linux into the same partition

But WHY?

There was a reddit post about installing Arch on NTFS3 partition. Since Windows and Linux doesn't have directories with same names under the /(C:\), I thought it's possible, and turned out it was actually possible.
If you are not familiar to Linux, for example you've searched on Google "how to dualboot Linux and Windos" or brbrbr... you mustn't try this. This is not practical.

Pre-requirements

  • UEFI system
  • Any Linux live-boot CD/DVD/USB... with Linux kernel newer than 5.15
  • Windows installer USB

The Freenode resignation FAQ, or: "what the fuck is going on?"

IMPORTANT NOTE:

It's come to my attention that some people have been spamming issue trackers with a link to this gist. While it's a good idea to inform people of the situation in principle, please do not do this. By all means spread the word in the communities that you are a part of, after verifying that they are not aware yet, but unsolicited spam is not helpful. It will just frustrate people.

Update 3 (May 24, 2021)

A number of things have happened since the last update.

@Jelmerro
Jelmerro / minimal-mode.css
Created May 12, 2021 21:55
Vieb theme: Static minimal mode bottom left and clean fullwidth navbar
:root {
--mode-pointer-fg: #999;
--mode-pointer-bg: none;
--mode-visual-fg: #3af;
--mode-visual-bg: none;
}
#mode {position: fixed;bottom: .3em;left: .3em;background: black;width: 1ch;overflow: hidden;}
#mode-container {width: 0;}
#mode-suggestions {display: none;}
#logo {display: none;}
#include "util.h"
#include "screen.h"
#include "idt.h"
#include "isr.h"
#include "irq.h"
#include "timer.h"
#include "font.h"
#include "system.h"
#include "keyboard.h"
#include "speaker.h"

TLP 1.4 Test: Battery Care for ASUS Laptops

Read the overview document first.

Supported Features

ASUS laptops using the asus_wmi driver have a stop charge threshold ranging from 0% (threshold off) to 100%. The hardware behaviour is:

  1. Connected to the charger, charging stops when the charge level reaches the stop threshold

TLP 1.4 Test: Battery Care for Non-ThinkPads

Introduction

TLP has supported charge control thresholds for ThinkPads since the beginning. With release 1.4, support will be extended to laptops from selected other vendors for which a corresponding driver already exists in the Linux kernel.

Since I don't own any of the newly supported laptops, I'm reaching out to the community of TLP users with a request to test the new functionality on their hardware.