Skip to content

Instantly share code, notes, and snippets.

View popey's full-sized avatar
🛖
Working from the office

Alan Pope popey

🛖
Working from the office
View GitHub Profile
alan@robot:~$ STEAM_LINUX_RUNTIME_LOG=1 steam
Running Steam on ubuntu 21.04 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Steam client's requirements are satisfied
/home/alan/.steam/debian-installation/ubuntu12_32/steam -nominidumps -nobreakpad
[2021-01-16 23:11:51] Startup - updater built Dec 20 2020 23:07:02
Installing breakpad exception handler for appid(steam)/version(1608507519)
[2021-01-16 23:11:51] Loading cached metrics from disk (/home/alan/.steam/debian-installation/package/steam_client_metrics.bin)
[2021-01-16 23:11:51] Using the following download hosts for Public, Realm steamglobal
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i7-8809G CPU @ 3.10GHz
CPU Family: 0x6
#!/bin/bash
# Check for updates to a bunch of snaps
DATESTAMP=$(date +%Y-%m-%d)
TIMESTAMP=$(date +%H%M%S)
LOGFILE=./reports/$DATESTAMP-$TIMESTAMP.txt
SNAPSFILE="./snaps.csv"
USERNAME="popey"
TMPDIR=$(mktemp -d)

Editing

After recording, each person drops their .flac file into a sub-directory called Dropbox/UbuntuPodcast/{S09E00}, where S09 is the season number, and E00 is the number of this episode.

  • Take a copy of the episode directory. Don't work inside the Dropbox directory because it annoys people when they get all your changes sync'd.
  • Use the ~/Dropbox/UbuntuPodcast/Audacity/audacity.sh script to launch audacity (it kills and re-enables pulseaudio for you)
  • Create a new project
  • Import all the FLAC files as seperate stereo tracks. They will be slightly different lengths and volumes, but should all start at the same point in time.

Mix down

@popey
popey / UbuntuPostInstall.md
Last active March 27, 2021 09:20
Steps done Post-Install
@popey
popey / rebuildsnaps.sh
Created July 25, 2019 11:01
Script to rebuild a bunch of snaps using lxd or multipass
#!/bin/bash -x
DATESTAMP="$(date +%Y%m%d)-$(date +%H%M%S)"
SNAPCRAFT_CHANNEL="--candidate"
GHUSER=snapcrafters
LXDIMAGE="ubuntu:16.04"
TEMPDIR=$(pwd)/build-$DATESTAMP
RESULTSDIR="$TEMPDIR"/results
REPORT=$RESULTSDIR/report
mkdir -p $TEMPDIR/results
@popey
popey / snapcraft.yaml
Created April 3, 2019 20:17
Template snapcraft.yaml for Godot Engine games
name: godot-game
base: core18
version: '1.0'
summary: Godot Game
description: |
A simple game made in Godot
grade: stable
confinement: strict
@popey
popey / snapcraft.yaml
Created April 3, 2019 20:17
Template snapcraft.yaml for Unity3D games.
name: unitygame
version: "1.0"
summary: Unity Game
description: |
A simple game made in Unity.
base: core18
confinement: strict
parts:
unity-game:
@popey
popey / snapcraft.yaml
Created February 6, 2019 21:56
gotop snapcraft.yaml used during Snapcraft Live stream on 6th Feb 2019
name: gotop
base: core18 # the base snap is the execution environment for this snap
version: '0.1' # just for humans, typically '1.2+git' or '1.3.2'
summary: gotop
description: |
A terminal based graphical activity monitor inspired by gtop and vtop
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots
@popey
popey / snapcraft.yaml
Created February 6, 2019 21:55
GeekBench snapcraft.yaml used during Snapcraft Live stream on 6th Feb 2019
name: geekbench
base: core18 # the base snap is the execution environment for this snap
version: '4.3.3' # just for humans, typically '1.2+git' or '1.3.2'
summary: GeekBench
description: |
Geekbench 4 measures your system's power and tells you whether your computer
is ready to roar.
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots