Skip to content

Instantly share code, notes, and snippets.

View sleeyax's full-sized avatar

Sleeyax sleeyax

View GitHub Profile
@sleeyax
sleeyax / Xamarin_XALZ_decompress.py
Last active October 10, 2021 16:32
Xamarin XALZ Decompression
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Function: decompress special Xamarin .dll files"""
"""
Background information and file format documentation:
https://github.com/xamarin/xamarin-android/pull/4686
Installation notes:
@sleeyax
sleeyax / make_certs.sh
Last active April 22, 2022 12:28 — forked from mediaupstream/make_certs.sh
extract ca-certs, key, and crt from a pfx file
#!/bin/bash
#
# Usage:
# ./make_certs.sh test.example.com
#
# The required input to make_certs.sh is the path to your pfx file without the .pfx prefix
#
filename=$1
@sleeyax
sleeyax / tunnel.go
Created May 4, 2022 13:58 — forked from movsb/tunnel.go
An HTTP Tunnel Proxy, which implements the CONNECT method. Written in Golang, within 100 lines of code.
package main
import (
"io"
"log"
"net"
"net/http"
"sync"
)
@sleeyax
sleeyax / find-origin-ip.go
Created May 11, 2022 20:02
Find Origin IP
package main
import (
"fmt"
"net/http"
"sync"
)
// based on: https://github.com/hakluke/hakoriginfinder
@sleeyax
sleeyax / http_proxy.go
Created May 12, 2022 11:14 — forked from jim3ma/http_proxy.go
Register Dialer Type for HTTP&HTTPS Proxy in golang
package main
import (
"bufio"
"fmt"
"net"
"net/http"
"net/url"
"crypto/tls"
@sleeyax
sleeyax / lcs.sh
Last active July 9, 2022 23:16
Simple shell script to convert text to lowercase (GNU/linux)
#!/usr/bin/sh
if ! [ -z "$1" ]
then
echo "$1" | tr '[:upper:]' '[:lower:]'
else
echo "Usage: lcs <text>"
echo 'Example: lcs "Foo Bar BAZ"'
echo "Output: foo bar baz"
fi

Keybase proof

I hereby claim:

  • I am sleeyax on github.
  • I am sleeyax (https://keybase.io/sleeyax) on keybase.
  • I have a public key whose fingerprint is E8DA EC0C 346D 354A CFA0 94C5 EEA3 74DC A7CB EE6B

To claim this, I am signing this object:

@sleeyax
sleeyax / reinstall-grub.sh
Last active February 20, 2023 09:59 — forked from ppartarr/reinstall-grub.sh
Reinstall grub after Windows updates (Arch & Windows dual boot)
#!/usr/bin/env bash
# list partitions
lsblk -f
# mount the root partition
mount /dev/nvme1n1p2 /mnt
# mount the boot partition
mount /dev/nvme1n1p1 /mnt/boot
@sleeyax
sleeyax / README.txt
Created May 18, 2023 14:43
Skylanders Figures
Source: https://github.com/mandar1jn/portfolio/blob/master/src/assets/skylanders/figures.json
@sleeyax
sleeyax / stremio_discord_integration.md
Last active September 24, 2024 00:57
Stremio and Discord integration guide

Stremio and Discord integration

2023_07_08_15_03_33

Show your favorite movies, series and channels from Stremio to your friends on Discord!

⚡ Quick start