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
View keybase.md

Keybase proof

I hereby claim:

  • I am redlinejoes on github.
  • I am redlinejoes (https://keybase.io/redlinejoes) on keybase.
  • I have a public key ASAcs-lIKt8W6XidySnP98TXGrKlZVuxYXwIqNO6fnnnWgo

To claim this, I am signing this object:

@redlinejoes
redlinejoes / tmux-cheatsheet.markdown
Created September 13, 2021 00:46 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@redlinejoes
redlinejoes / docker-help.md
Created September 8, 2022 22:52 — forked from bradtraversy/docker-help.md
Docker Commands, Help & Tips
View docker-help.md

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@redlinejoes
redlinejoes / docker-help.md
Last active September 9, 2022 02:17
docker-help
View docker-help.md

Docker Commands, Help & Tips

Show commands & management commands

$ docker
@redlinejoes
redlinejoes / ConvertFrom-WingetStdout.ps1
Created October 3, 2022 17:08 — forked from sba923/ConvertFrom-WingetStdout.ps1
Convert winget output to PowerShell objects
View 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:
#
# 1. Upgrade everything except some apps (e.g. managed by your employer's IT,
# or you know winget doesn't handle them properly yet)
#
@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
View Ubuntu 22.04 + Hyper V + Enhanced Session mode + XRDP Pulse Audio README.txt
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
View 87-docker-multi-stage.sh
# Source: https://gist.github.com/da48772c54dcf09a45bef5d4d778a6e9
###################################
# Using Docker Multi-Stage Builds #
# https://youtu.be/zpkqNPwEzac #
###################################
# Referenced videos:
# - Kaniko - Building Container Images In Kubernetes Without Docker: https://youtu.be/EgwVQN6GNJg
# - Skaffold - How to Build and Deploy In Kubernetes: https://youtu.be/qS_4Qf8owc0
View gist:922543d5899dc1d542f53a2b86da7f88
curl -s "http://ip-api.com/json/<IPv4>"
# Returns a JSON object with IP WHOIS data. Useful for investigating IPv4 addresses.