Skip to content

Instantly share code, notes, and snippets.

View redlinejoes's full-sized avatar
💭
I may be slow to respond.

Joseph Young redlinejoes

💭
I may be slow to respond.
View GitHub Profile
@redlinejoes
redlinejoes / Ubuntu 22.04 + Hyper V + Enhanced Session mode + XRDP Pulse Audio README.txt
Last active April 15, 2023 05:31 — forked from ANRCorleone/readme.txt
Ubuntu 22.04 + Hyper V + Enhanced Session mode + XRDP PulseAudio
Credits
# https://c-nergy.be/blog/?p=13655
# https://askubuntu.com/questions/844245/how-to-compile-latest-pulseaudio-with-webrtc-in-ubuntu-16-04
# https://askubuntu.com/questions/496549/error-you-must-put-some-source-uris-in-your-sources-list
# https://unix.stackexchange.com/questions/65167/enable-udev-and-speex-support-for-pulseaudio
# https://rudd-o.com/linux-and-free-software/how-to-make-pulseaudio-run-once-at-boot-for-all-your-users
# https://gist.github.com/rkttu/35ecab5604c9ddc356b0af4644d5a226
# Installation and Enhanced session
# follow steps on the post below, I installed Ubuntu 22.04 on a Windows 11 machine
@sba923
sba923 / ConvertFrom-WingetStdout.ps1
Last active January 31, 2024 14:49
Convert winget output to PowerShell objects
# this is one of Stéphane BARIZIEN's public domain scripts
# the most recent version can be found at:
# https://gist.github.com/sba923/7924b726fd44af91d18453ee595e6548#file-convertfrom-wingetstdout-ps1
#requires -version 7
# This crude script converts the output of the winget.exe executable into an array of PowerShell objects
# usage: winget <args> | ConvertFrom-WingetStdout.ps1
#
# examples of application:
@redlinejoes
redlinejoes / tmux-cheatsheet.markdown
Created September 13, 2021 00:46 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@djfdyuruiry
djfdyuruiry / README.md
Last active April 28, 2024 08:34
WSL 2 - Enabling systemd

Enable systemd in WSL 2

NOTE: If you have Windows 11 there is now an official way to do this in WSL 2, use it if possible - see MS post here (WINDOWS 11 ONLY)

This guide will enable systemd to run as normal under WSL 2. This will enable services like microk8s, docker and many more to just work during a WSL session. Note: this was tested on Windows 10 Build 2004, running Ubuntu 20.04 LTS in WSL 2.

  • To enable systemd under WSL we require a tool called systemd-genie

  • Copy the contents of install-sg.sh to a new file /tmp/install-sg.sh:

@bradtraversy
bradtraversy / docker-help.md
Last active May 15, 2024 05:31
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@bionicbeagle
bionicbeagle / ProjectedFSLib.dll
Created April 15, 2018 20:43
Windows Projected File System exports
PrjClearNegativePathCache, 1, 0x3820
PrjCloseFile, 2, 0x2800
PrjCommandCallbacksInit, 3, 0x3d20
PrjCompleteCommand, 4, 0x34e0
PrjConfigureVolume, 5, 0x52b0
PrjConvertDirectoryToPlaceholder, 6, 0x1330
PrjCreatePlaceholderAsHardlink, 7, 0x1ea0
PrjDeleteFile, 8, 0x3120
PrjDetachDriver, 9, 0x5110
PrjDoesNameContainWildCards, 10, 0x5810