Skip to content

Instantly share code, notes, and snippets.

View devbeno's full-sized avatar
🕶️
Coding

Benjamin devbeno

🕶️
Coding
View GitHub Profile
@aldur
aldur / nfs_automount.sh
Last active December 3, 2023 10:08
Mount an NFS share on Android
#!/bin/sh
# Mount an NFS share on Android
# Requirements:
# - Busybox
# - A kernel supporting nfs (either built-in or as a module)
# On my Nexus 7 2012 I use the following kernel:
# http://forum.xda-developers.com/showthread.php?t=2107224
# Remember: if you have problems of system space, simply delete some of the default stuff.
@okeehou
okeehou / outline-server-setup.md
Last active November 13, 2024 04:51
How to setup an Outline VPN Server on Ubuntu 16.04

How to setup an Outline VPN Server on Ubuntu 16.04 Server

This guide will show you how to install Outline Server on an Ubuntu 16.04 Server, use Outline Manager for Windows and connect to your Outline Server on Windows and Anroid.

Install Outline Manager

Outline Manager supports Windows, macOS and Linux.

Outline Manager for Windows

@lbrame
lbrame / archtweaks.md
Last active September 1, 2025 06:10
Tweaks I've made to my Arch Linux installation

Arch Linux tweaks

This is a collection of the tweaks and modification I've made to my Arch Linux installation over the months. These may be applicable to other distros, but please check first before doing anything. I also included Arch Wiki references for all the procedures I mentioned. My recommendation is not to blindly follow this gist but to always check with the Arch Linux wiki first. Things move fast and by the time you're reading this my gist may be out of date. Lastly, the golden rule: never execute a command you don't understand.

Installing the KDE Plasma desktop

My current DE of choice is KDE's Plasma. I find it just about perfect.

There are various ways to install it on Arch. The most popular one is to install plasma and plasma-applications, but I don't like doing that because it comes with too many programs I'll never use. I, instead, install the base plasma group, remove the few extra packages that come with it, then I finish off by installing a few KDE apps that don't come with th

@a2nt
a2nt / gist:8cd3a02cb33cd9901e06aad3eba256ec
Last active November 15, 2022 13:52
Dell XPS 9360 Linux kernel 5.5.6 config and desktop optimization
##################### Optimized Linux Kernel 5.5. config + desktop patch Dell XPS 9360 #############
#
# Patch reference: https://gitlab.com/post-factum/pf-kernel/-/wikis/README
#
################## Instruction ######################################
#
#### Download kernel and desktop optimization patch ############################
#
# wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.5.6.tar.xz
# tar -xf ./linux-5.5.6.tar.xz
SUBSYSTEM=="pci", KERNEL=="0000:00:14.0", ATTR{device}=="0x9c31" RUN+="/bin/sh -c '/bin/echo disabled > /sys$env{DEVPATH}/power/wakeup'"
@eRQee
eRQee / ubuntu-20.04-lts-perfect-setup.sh
Last active March 19, 2022 20:03
Ubuntu 20.04 LTS Apps Server Installation Wizard
clear
##############
# Am I root? #
##############
if [ "x$(id -u)" != 'x0' ]; then
echo 'Error: this script can only be executed by root.'
echo 'Try re-run the script after switched to root account by type "sudo su"'
exit 1
fi
@ourownstory
ourownstory / encrypted_dual_boot_xps_17.md
Last active November 16, 2025 23:40
Encrypted dual boot setup for Pop!_OS and Windows 10 using LUKS and Bitlocker on Dell XPS 17 9700

Encrypted dual boot setup with Pop!_OS and Windows 10

How to guide, using LUKS and Bitlocker on Dell XPS 17 9700

This guide is for those who want to use their XPS 17 in dual boot with their (preinstalled) Windows 10 and a new Pop!_OS installation, without giving up Bitlocker Encryption in Windows nor LUKS encryption in Linux.

The only guides that I could find were for Ubuntu, which it should be identical to, but I found the ommission of a few steps to resolve issues that I encountered in my first install attempt. Hoping to save you some trouble, I am sharing the steps that worked for me, linking the original guides that I found useful.

1. Preparation

  • 1.1 Of course: Backup all your data! You always do this when people tell you to, right? Maybe this time better be safe than sorry.
  • 1.2 Safely note your Bitlocker recovery key somewhere off your XPS. Where to find it
@jamiedevsandbox
jamiedevsandbox / really-interesting-repos
Last active July 14, 2024 20:48
Curated list of impressive repositories
https://github.com/github/training-kit
https://github.com/AdguardTeam/AdGuardHome
https://github.com/TH3xACE/SUDO_KILLER
https://github.com/simbody/simbody
https://github.com/matthieu-hackwitharts/Win32_Offensive_Cheatsheet
@ChristopherA
ChristopherA / github-gh-tips.md
Last active December 27, 2022 15:34
GitHub & `gh` Tips

Github & gh Tips

Tips & advice related to GitHub specific features of git, gpg, and development.

@ChristopherBilg
ChristopherBilg / apple-m1-macbook-air-macbook-pro-mini-developer-setup-guide-security.md
Created January 5, 2022 19:26
Security Hardened + Apple-Free M1 Macbook Air, Macbook Pro, and Mini Setup for Power Developers

Security Hardened + Apple-Free M1 Macbook Air, Macbook Pro, and Mini Setup for Power Developers

An opinionated configuration by @niftylettuce for Apple's M1 computer line-up.

Table of Contents

Foreword

I launched Forward Email in November and needed a faster machine to work with.