Skip to content

Instantly share code, notes, and snippets.

View unixfox's full-sized avatar

Émilien (perso) unixfox

View GitHub Profile
@unixfox
unixfox / readme.md
Last active February 10, 2026 20:37
How to get IPv4 connectivity on an IPv6 only VPS

Some hosting providers like scaleway allows to remove the IPv4 from the VPS in order to save 1€/month but doing this will result in losing connectivity to the "IPv4 world".
Or you may have ordered a VPS that only has IPv6 connectivity and you want to access to a resource only accessible from the "IPv4 world".
Here is how to gain your access back to the "IPv4 world".

Change your name servers(s) to DNS64 name servers(s)

Note: You may deploy your own DNS64 & NAT64 server on a separate server by following this tutorial (untested): https://packetpushers.net/nat64-setup-using-tayga/.
Note²: You may find a explanation of what is NAT64 and DNS64 on Wikipedia.

  1. Choose a/multiple DNS64 public server(s) that has/have its own NAT64 public service from this list:
@unixfox
unixfox / README.md
Created May 27, 2025 16:45
I'm leaving the SearXNG project.

Back in April 2021, after a lot of organizational issues regarding the code-review process within the SearX project. Alex (dalf) and I forked the project to create SearXNG. We got Markus (return42), who also wanted to join along for the ride, he was also an active SearX contributor.

The gain of popularity of the project was slow but steady, we positioned ourselves by saying we are a more actively maintained version of SearX because we fixed the engines faster than SearX (core feature of SearX(NG)). We even got ourselves a section in SearX readme about a controversial difference between SearX and SearXNG.

I won't lie, being a maintainer of both project, has

@unixfox
unixfox / howto.md
Last active December 17, 2025 09:55
Install Alpine Linux on Oracle Cloud ARM VPS with Ubuntu pre-installed
@unixfox
unixfox / jool.conf
Last active May 13, 2025 02:35
IPv6 only NAT64 (Jool) with RA (radvd) + DNS64 (bind9)
{
"comment": "Sample configuration for the NAT64 Jool service.",
"instance": "default",
"framework": "netfilter",
"global": {
"comment": "Sample pool6 prefix",
"pool6": "64:ff9b::/96"
}
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause
package cli
import (
"bufio"
"bytes"
"context"
"encoding/binary"
@unixfox
unixfox / log.json
Last active May 9, 2025 21:52
debug_log using tailscale debug watch-ipn --show-private-key=true --initial=true
{
"Version": "1.83.0-dev20250509-tcb6fc37d6-dirty",
"SessionID": "thaew2Ohbe2Botha",
"ErrMessage": null,
"LoginFinished": null,
"State": 0,
"Prefs": {
"ControlURL": "https://controlplane.tailscale.com",
"RouteAll": false,
"ExitNodeID": "",
@unixfox
unixfox / README.md
Last active May 3, 2025 08:57
Install alpine linux on Scaleway stardust
import type { WebPoSignalOutput } from 'bgutils';
import { BG, buildURL, GOOG_API_KEY, USER_AGENT } from 'bgutils';
import { Innertube, YT, YTNodes, UniversalCache } from 'youtubei.js';
import { JSDOM } from 'jsdom';
const userAgent = USER_AGENT;
// @NOTE: Session cache is disabled so we can get a fresh visitor data string.
const innertube = await Innertube.create({
user_agent: userAgent,
@unixfox
unixfox / README.md
Last active March 8, 2025 12:37
root great lenovo p2

https://github.com/gawasvedraj/HideRoot

  1. magisk + Zygisk Next
  2. play integrity fix
  3. shamiko + zygisk assistant
  4. sensitive props mod
  5. hide my applist + lsposed
  6. put apps that do not need to see root in HMA and deny list in magisk
@unixfox
unixfox / test-403.js
Last active March 2, 2025 20:28
test 403 invidious companion
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
async function fetchVideos(videos: { videoId: any }[]) {
for (const video of videos) {
const urlVideo = await fetch(
`http://localhost:8282/latest_version?id=${video.videoId}&itag=140`,
{ redirect: "manual" },
);