Skip to content

Instantly share code, notes, and snippets.

View manoedinata's full-sized avatar
🏠
Working from home

Hendra Manudinata manoedinata

🏠
Working from home
View GitHub Profile
@silascutler
silascutler / gist:c7f04537a79ace89569f979d964af0f9
Last active October 21, 2026 18:23
PHP2Shell Censys Query (CVE-2026-109618 / CVE-2026-109619 )
host.services.software.product: "MediaWiki" or host.services.software.product: "Wordpress" or host.services.software.product: "phpBB" or host.services.software.product: "Magento" or host.services.software.product: "Laravel" or host.services.software.product: "Drupal" or host.services.software.product: "Symphony" or host.services.software.product = "whm"

Looking Glass B7 + GPU Passthrough on CachyOS (Hyprland/Wayland)

A complete guide to running a Windows 11 VM with GPU passthrough and Looking Glass on an Arch-based Linux system with a Wayland compositor. This setup allows you to run Windows-only software like Fusion 360 in a native-feeling window on your Linux desktop, with near-zero latency and no compression artifacts.

This guide was written from a real setup session, including every issue encountered and how it was resolved. If you're running into problems, there's a good chance the answer is in here.


System Specifications

@hamid-rostami
hamid-rostami / README.md
Last active January 15, 2026 13:36
wireguard over TCP

To pass wireguard's traffic through a TCP tunnel by using udp2raw

Requirements

For Arch linux, install udp2raw by pacman: pacman -S udp2raw

For Debian or Ubuntu, you can use a binary release from: https://github.com/wangyu-/udp2raw/releases

@Linux4
Linux4 / factory_flash.sh
Last active January 23, 2025 10:28
Flash Samsung factory image packages on Linux
#!/bin/bash
if [ -z "$1" ] || [ ! -f "$1" ]; then
echo "Usage: $0 <zip> <wipe y/n>"
exit 1
fi
REQUIREMENTS="git g++ heimdall lz4 make unzip"
for REQUIREMENT in $REQUIREMENTS; do
[ -z "$(command -v $REQUIREMENT)" ] && echo "Error: Please install $REQUIREMENTS" && exit 1
@SayantanRC
SayantanRC / chrome-os-brunch-resize-image.md
Last active July 5, 2024 10:08
Chrome OS - Brunch - Resize image

Chrome OS - Brunch - Resize image

WARNING: This can completely destroy your Chrome OS installation. Please take a backup.
Also note, after successful resize, brunch will rebuild the rootfs on first boot.

Needed

  1. Linux environment (installed / live USB)
  2. Some knowledge on using the dd command. Optional, but good to have.
  3. The program GParted.
@FreddieOliveira
FreddieOliveira / docker.md
Last active November 20, 2026 09:24
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@reinefjord
reinefjord / history-and-back.flask.py
Created May 19, 2019 10:01
Functions for saving user browsing history and getting a url for the previous page visited in flask. Lots of edge cases left.
@app.after_request
def save_response(r):
if flask.request.method == 'POST':
return r
if flask.request.endpoint == 'static':
return r
history = flask.session.get('history', [])