Skip to content

Instantly share code, notes, and snippets.

# /etc/extra-threatblock/external-threatblock.exceptions
# Extra Threatblock: A threat intelligence script by r00igev@@r/mybroadband
100.64.0.0/10
1.1.1.0/24
@ABelliqueux
ABelliqueux / DVC90_linux.md
Last active April 22, 2023 14:11
Digitize SECAM/PAL VHS video and sound with Dazzle DVC90/110 under Linux

Digitize SECAM/PAL VHS video and sound with Dazzle DVC90/110 under Linux

Abstract

Although this device is well recognised under Linux, most software will only have the video working (guvcview, obs, etc. ). Recording both video and audio can be done through VLC though, by specifying v4l2 options.

The device

The device is a Pinnacle Dazzle DVC90 and is using the em28xx driver.

@ABelliqueux
ABelliqueux / OpenTuna.md
Last active January 26, 2023 15:29
DEMYSTIFYING PS2 FORTUNA THROUGH OPENTUNA by alexparrado
@ABelliqueux
ABelliqueux / linux_ps2.md
Last active April 18, 2024 05:52
How to install Linux on the Playstation 2

Adapted to gist from https://unix.stackexchange.com/questions/344225/how-to-install-linux-on-the-playstation-2
Credits to Alison E.E.

Preambule

Looking to learn about game development? Are you a Linux enthusiast looking to test the claim that "Linux runs on everything"? Perhaps you are a software developer who is looking to release for multiple architectures, and you don't have another MIPS Little Endian machine on-hand for testing your programme. Whatever your situation there are a surprising number of reasons to install Linux on a Playstation 2, even sixteen years after it's release (boy do I feel old all of a sudden.), yet an equally surprising lack of documentation about it or how to install it.

Now don't get me wrong, if you want to use the original Sony Linux Kit, or one of it's updated open source releases on a fat PS2 with a network adapter and an IDE hard disk you can find plenty of info. However th

@ABelliqueux
ABelliqueux / use_laptop_2nd_display_linux_freerdp.md
Last active December 16, 2022 16:17
Use a laptop as a 2nd display on Linux using FreeRDP

Mirror of https://blog.jacobstoner.com/use-a-laptop-or-tablet-as-a-2nd-display-on-linux-with-a-dummy-monitor-and-rdp/

Dual monitors using a laptop as a second display. This guide assumes that you are using a Debian based distro (X11 only). Both devices must be connected to the same network.

1. Define an output to be a used as a dummy monitor

a. The simple method: select an unused existing graphics port

# find an unused output
find -L /sys/class/drm -maxdepth 1 -type d -name 'card0-*' -exec sh -c 'if [ $(cat $0/status) = "disconnected" ]; then echo $0; fi' {} \;|cut -c22-|sort
@ABelliqueux
ABelliqueux / PKGBUILD
Created August 23, 2022 14:18
!Experimental! PKGBUILD for tahoma2d with new binaries names
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: Campbell Barton <ideasman42@gmail.com>
export GIT_LFS_SKIP_SMUDGE=1
pkgname=tahoma2d
pkgver=1.3
pkgrel=1
pkgdesc="Software for producing a 2D animation"
arch=(x86_64)
@ABelliqueux
ABelliqueux / PKGBUILD
Created April 1, 2022 15:01
AUR-quickbms-11.0-PKGBUILD
# Maintainer: Luca Weiss <luca (at) z3ntu (dot) xyz>
pkgname=quickbms
pkgver=0.11.0
pkgrel=1
pkgdesc="Files extractor and reimporter, archives and file formats parser, advanced tool for reversers and power users and much more."
url="http://aluigi.altervista.org/quickbms.htm"
arch=('x86_64' 'i686')
license=('GPL2')
depends_i686=('lzo' 'bzip2' 'zlib' 'openssl')
@ABelliqueux
ABelliqueux / fixbuild.patch
Created April 1, 2022 13:57
AUR-java8-openjfx-fixbuild.patch
--- rt-8u202-ga/build.gradle 2018-12-10 17:30:22.000000000 +0100
+++ rt-8u202-ga/build1.gradle 2022-04-01 15:47:37.791321075 +0200
@@ -737,24 +737,10 @@
// Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
//
// We need to parse the second line
-def inStream = new java.io.BufferedReader(new java.io.InputStreamReader(new java.lang.ProcessBuilder(JAVA, "-version").start().getErrorStream()));
-try {
- if (inStream.readLine() != null) {
- String v = inStream.readLine();
@ABelliqueux
ABelliqueux / ps4-fake-account-hex-to-b64.py
Last active March 6, 2022 21:59
Chiaki - PS4 Fake account hex to base 64
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# On a jailbroken PS4, install Apollo Save Tool, and activate a fake account in "User tools"
# https://github.com/bucanero/apollo-ps4
# Close then relaunch Apollo and write down your account ID ( it's the hex string between parenthesis after your user name)
# E.G : > Activate Offline Account YourUserName (1a2b3c4d5e6f7a8b)
# Replace the content of the "user_id" string with your actual hex string, then run the script to generate the base64
# encoded version of your account ID.
import base64
@ABelliqueux
ABelliqueux / liblto.patch
Last active January 24, 2022 11:36
Gendev 0.7.1 makefile.gen liblto patch
--- /opt/gendev/sgdk/mkfiles/makefile.gen 2022-01-24 12:20:29.344222685 +0100
+++ /opt/gendev/sgdk/mkfiles/makefile.gen 2022-01-24 12:20:42.557612093 +0100
@@ -147,7 +147,7 @@
$(SIZEBND) out/rom.bin -sizealign 131072
out/symbol.txt: out/rom.out
- $(NM) --plugin=liblto_plugin-0.dll -n out/rom.out > out/symbol.txt
+ $(NM) --plugin=libLTO.so -n out/rom.out > out/symbol.txt
out/rom.out: out/sega.o out/cmd_ $(LIBMD)