Skip to content

Instantly share code, notes, and snippets.

View irishgordo's full-sized avatar
coffee - always coffee

Mike Russell irishgordo

coffee - always coffee
View GitHub Profile
@irishgordo
irishgordo / ffmpeg-compress-mp4
Created October 23, 2021 03:05 — forked from lukehedger/ffmpeg-compress-mp4
Compress mp4 using FFMPEG
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4
@irishgordo
irishgordo / fix_discord.md
Created January 8, 2023 20:52 — forked from Shika-B/fix_discord.md
Discord lagging during long calls on Linux

My discord was lagging increasingly during long calls on my Manjaro installation. I searched a bit on the Wiki but the fix shared there didn't work for. What worked for me is this answer on the Discord support forum, that I will detail a bit here. Start by moving to the right folder:

cd ~/.config/discord/<your_version>/modules/discord_desktop_core

Then, depending on whether you are a javascript developer or not, you may need to install the npm package of your distribution. On Arch/Manjaro, yay -S npm will do. Once this is done, unpack the core.asar file with

npx asar extract core.asar core
@irishgordo
irishgordo / openstack_devstack_aio_vm.md
Created April 5, 2024 19:50 — forked from markus-hentsch/openstack_devstack_aio_vm.md
DevStack within an OpenStack VM (all-in-one)

DevStack within an OpenStack VM (all-in-one)

Host VM on OpenStack

source $OPENRC_FILE

openstack volume create --size 200 --image "Ubuntu 22.04 LTS x64" devstack-boot-volume

openstack security group create devstack-sg
@irishgordo
irishgordo / openstack_devstack_vm.md
Created April 5, 2024 22:20 — forked from markus-hentsch/openstack_devstack_vm.md
Minimal DevStack in a VirtualBox VM for Keystone

Minimal DevStack VirtualBox setup

This is a very concise quickstart guide to setup an OpenStack DevStack limited to Keystone in a VirtualBox VM using Ubuntu Server LTS as the guest operating system. By limiting the DevStack to primarily deploy Keystone only, installation is quick and the machine does not take up much resources.

As the time of writing it uses up about 11 GB of disk space and 1 GB of RAM running Keystone.

This is meant for testing authentication and IDM-related things with OpenStack Keystone while disregarding other components. It can easily be extended by further components by adjusting the local.conf accordingly.