Skip to content

Instantly share code, notes, and snippets.

@d7eeem
d7eeem / PKPass.md
Created October 27, 2025 22:55 — forked from karnauskas/PKPass.md
How to create Apple PKPass .p12 certificate using Linux

How to create Apple PKPass .p12 certificate using Linux

You don't need a Mac to do this :-)

For generating PKPass files, you'll need 4 things after this tutorial:

  • Certificate Identifier (pass.com.example.www)
  • Team Identified (Organizational Unit (OU) in the cert generated by Apple)
  • The .p12 file
  • The password for the .p12 file
@NorkzYT
NorkzYT / README.md
Last active April 25, 2026 04:46
Proxmox CIFS Share Mount Wizard Script

Proxmox LXC ⇆ CIFS Mount Wizard

proxmox-lxc-cifs-share.sh is an interactive helper that mounts a network CIFS/SMB share on a Proxmox VE node and bind-mounts it into one or more unprivileged LXC containers in one pass.
It automates:

  1. Creating a host-side mountpoint under /mnt/lxc_shares/<folder>.
  2. Writing a properly-tuned /etc/fstab entry (systemd.automount, uid/gid mapping, etc.).
  3. Mounting the share immediately.
  4. Injecting the bind-mount (mpX:) into the live LXC configuration with pct set.
  5. Stopping and restarting each container to apply the mount.
@ammuench
ammuench / 8BitDoUltimateWifi_Linux.MD
Last active April 30, 2026 19:20
8BitDo Ultimate 2.4GHz wifi working in linux
@Fs02
Fs02 / yuzu.sh
Last active October 22, 2024 09:04
Emudeck yuzu pineapleEA
#!/bin/bash
emuName="yuzu" #parameterize me
useEAifFound="true" # set to false to simply use the newest file found
emufolder="$HOME/Applications" # has to be applications for ES-DE to find it
emuDontUpdate="$HOME/emudeck/${emuName}.noupdate"
Yuzu_emuPath="$HOME/Applications/yuzu.AppImage"
YuzuEA_emuPath="$HOME/Applications/yuzu-ea.AppImage"
YuzuEA_tokenFile="$HOME/emudeck/yuzu-ea-token.txt"
YuzuEA_lastVerFile="$HOME/emudeck/yuzu-ea.ver"
Yuzu_lastVerFile="$HOME/emudeck/yuzu.ver"
@davidedmundson
davidedmundson / PlasmaNested.sh
Last active March 13, 2026 20:35
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
@idnovic
idnovic / shellfishwidget.sh
Last active July 16, 2023 23:03
shellfish widget
#!/bin/bash
source .bashrc
loadavg=$(cat /proc/loadavg | awk '{print $2}' | sed 's/[^0-9]*//g')
cpucount=$(sed -n '/ cores/ s/[^0-9]//gp' /proc/cpuinfo | sed '1,1d')
cpu=$(($loadavg/$cpucount))
memtotal=$(sed -n '/^MemTotal:/ s/[^0-9]//gp' /proc/meminfo)
memavail=$(sed -n '/^MemAvailable:/ s/[^0-9]//gp' /proc/meminfo)
mem=$(((($memtotal-$memavail))/($memtotal/100)))
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit win10-gaming
or other application using the libvirt API.
-->
<domain type='kvm'>
<name>win10-gaming</name>
<uuid>b562f5ca-4792-4d2d-99be-ece9905ff714</uuid>
@anthonyaxenov
anthonyaxenov / s3-backup.sh
Last active February 20, 2025 06:39
[SHELL] Backup your project to another server
# Permanently moved to https://gist.axenov.dev/anthony/s3-backup
@CondensedMilk7
CondensedMilk7 / .Xresources
Created March 30, 2022 16:56
Tokyo night xresources
!Tokyo Night theme
! general
*foreground: #a9b1d6
*background: #1a1b26
*cursorColor: #a9b1d6
! terminal padding color
*borderColor: #1a1b26
! black