Skip to content

Instantly share code, notes, and snippets.

View mauvehed's full-sized avatar
:shipit:
hax.

mauvehed mauvehed

:shipit:
hax.
View GitHub Profile
@davidedmundson
davidedmundson / PlasmaNested.sh
Last active July 8, 2026 08:59
Run plasma from within gamescope
#!/bin/sh
# Remove the performance overlay, it meddles with some tasks
unset LD_PRELOAD
## Shadow kwin_wayland_wrapper so that we can pass args to kwin wrapper
## whilst being launched by plasma-session
mkdir $XDG_RUNTIME_DIR/nested_plasma -p
cat <<EOF > $XDG_RUNTIME_DIR/nested_plasma/kwin_wayland_wrapper
#!/bin/sh
@todb-r7
todb-r7 / fedifinder_following_accounts.csv
Last active November 11, 2022 21:06
Twitter Cybers List
Account address Show boosts
todb@mastodon.social true
intidc@mastodon.social true
thorsheim@mastodon.social true
molly0xfff@mastodon.social true
foone@mastodon.social true
eddie1perez@mastodon.social true
savagejen@mastodon.social true
podsothoth@mastodon.social true
viss@mastodon.social true
@Zate
Zate / docker-compose.yaml
Created May 3, 2022 15:37
Valheim docker-compose.yaml
version: "3"
services:
valheim:
image: mbround18/valheim:latest
ports:
- "2456:2456/udp"
- "2457:2457"
- "2458:2458/udp"
environment:
PORT: 2456
@Popsiclestick
Popsiclestick / Dockerfile
Last active July 1, 2026 13:41
Dockerfile example with best practices
### Generic Dockerfile demonstrating good practices
### Imports
# Bad. You risk both the stability and security of your application
# You don't know what they might merge into their image or who they may give control of the project
# https://twitter.com/b0rk/status/1226856930875932672/photo/1
FROM random-person/golang:latest
# Bad-ish. We don't need Ubuntu, it comes with unnecessary bloat
@levsthings
levsthings / docker-ce-ubuntu-17.10.md
Last active August 25, 2026 11:34
Install Docker CE on Ubuntu 17.10

Installing Docker CE on Ubuntu 17.10 Artful Aardvark

As of 20/10/2017, a release file for Ubuntu 17.10 Artful Aardvark is not available on Download Docker.

If you are used to installing Docker to your development machine with get-docker script, that won't work either. So the solution is to install Docker CE from the zesty package.

sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

Simple cheatsheets

Including git, vagrant, pandas

@Geoyi
Geoyi / install virtualenv ubuntu 16.04.md
Created September 16, 2017 12:19 — forked from rezafarhadur/install virtualenv ubuntu 16.04.md
How to install virtual environment on ubuntu 16.04

How to install virtualenv:

Install pip first

sudo apt-get install python3-pip

Then install virtualenv using pip3

sudo pip3 install virtualenv 
@pierrejoubert73
pierrejoubert73 / markdown-details-collapsible.md
Last active September 18, 2026 22:25
How to add a collapsible section in markdown.

How to add a collapsible section in markdown

1. Example

Click me

Heading

  1. Foo
  2. Bar
    • Baz
  • Qux
@mubix
mubix / infosec_newbie.md
Last active August 5, 2026 19:50
How to start in Infosec
@JonnyWong16
JonnyWong16 / share_unshare_libraries.py
Last active May 20, 2026 17:32
Automatically share and unshare libraries for Plex users
# Run this script using "share" or "unshare" as arguments:
# To share the Plex libraries:
# python share_unshare_libraries.py share
# To unshare the Plex libraries:
# python share_unshare_libraries.py unshare
import requests
import sys
from xml.dom import minidom