Skip to content

Instantly share code, notes, and snippets.

View peanutbutterandcrackers's full-sized avatar

peanutbutterandcrackers

View GitHub Profile
@peanutbutterandcrackers
peanutbutterandcrackers / Guix-DE-Integration.md
Last active August 12, 2023 15:20
Guix Desktop-Environment Integration Guide

Guix Desktop-Environment Integration:

A guide to better DE-Integration for the GNU Guix Package Manager.

This has been tried and tested (successfully) in the following desktop environments:

  • GNOME (Debian 10.2 'Buster')
  • MATE, XFCE, KDE (Linux Mint 19 'Tara')
  • Cinnammon (Linux Mint 19.1 'Tessa')
  • Pantheon (Elementary OS 5.0 'Juno')
@peanutbutterandcrackers
peanutbutterandcrackers / Solution.md
Last active October 29, 2019 07:54
guix nss-certs installation failure resolution

install glibc-utf8-locales restart guix-daemon make sure to export LANG=en_US.UTF8

Adding another stuff here

Getting the sha256 of a Git Repo

guix hash -rx .

$ guix gc --list-failures $ guix gc --clear-failures guix gc --list-failures

@peanutbutterandcrackers
peanutbutterandcrackers / rtl8723be_fixes.md
Last active September 27, 2018 15:56
A method that fixed rtl8723be wireless adaptor weak signal issue on my computer
  1. $ git clone https://github.com/lwfinger/rtlwifi_new.git
  2. $ sudo modprobe -r rtl8723be
  3. $ cd rtlwifi_new
  4. $ sudo make install
  5. $ sudo modprobe rtl8723be
  6. $ sudo tee /etc/modprobe.d/rtl8723be.conf <<< "options rtl8723be ant_sel=2" (ant_sel=1 is another possible value)
  7. $ sudo reboot
@peanutbutterandcrackers
peanutbutterandcrackers / OpenShot Zero to Hero.md
Last active September 27, 2020 08:14
A guide to OpenShot Mastery

OpenShot: Zero to Hero

This guide aims to give you all the resources you need in order to become a video editing ninja, using OpenShot.

The Basics:

Here is a primer to get you started with OpenShot, made by Jonathan Thomas, the creator of OpenShot, himself. The user guide is also available online. The following links will help you understand and use OpenShot:

  1. A quick video to demonstrate the OpenShot workflow.
  2. An in-depth beginners guide to OpenShot I
  3. An in-depth beginners guide to OpenShot II
  4. A guide to trimming and slicing videos in OpenShot
@peanutbutterandcrackers
peanutbutterandcrackers / Daily Builds.md
Last active June 15, 2018 02:42
OpenShot Daily Builds: a guide

Head over to the download page and click on the button that says 'daily builds', and download the latest version.

Daily PPA

If you're using a PPA, switch to daily PPA:

sudo add-apt-repository ppa:openshot.developers/libopenshot-daily
sudo apt-get update
# sudo apt-get install openshot-qt 
@peanutbutterandcrackers
peanutbutterandcrackers / timelapse.sh
Last active October 1, 2017 13:06
Timelapse on Linux
ffmpeg -framerate 30 -pattern_type glob -i '*.JPG' -s hd1080 -c:v libx264 -crf 18 30fps_1080p_CRF18.mkv
# -framerate 30 -> 30fps; higher the frame rate ~ faster the action in timelapse
# -pattern_type glob -i '*.JPG' -> set the pattern type of the input file(s) to glob; single quotes in the file pattern
# so as to prevent the shell from expanding the glob pattern BEFORE ffmpeg ever gets it.
# Doing this: -i *.JPG will ruin the project. Doing this: -i '*.JPG' without pattern type set to glob will make ffmpeg
# complain about not finding the file.
# -s hd1080 -> 1080p video; other available ones: hd720, hd480