Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Alan Pope popey

🏠
Working from home
View GitHub Profile
View PodcastMastering.md

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 Apr 17, 2020
Steps done Post-Install
View UbuntuPostInstall.md
@popey
popey / rebuildsnaps.sh
Created Jul 25, 2019
Script to rebuild a bunch of snaps using lxd or multipass
View rebuildsnaps.sh
#!/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 Apr 3, 2019
Template snapcraft.yaml for Godot Engine games
View snapcraft.yaml
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 Apr 3, 2019
Template snapcraft.yaml for Unity3D games.
View snapcraft.yaml
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 Feb 6, 2019
gotop snapcraft.yaml used during Snapcraft Live stream on 6th Feb 2019
View snapcraft.yaml
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 Feb 6, 2019
GeekBench snapcraft.yaml used during Snapcraft Live stream on 6th Feb 2019
View snapcraft.yaml
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
@popey
popey / do_snapcraft_notes.md
Created Jan 7, 2019
Setup Digitial Ocean droplets for class
View do_snapcraft_notes.md
@popey
popey / move_dropbox.sh
Created Dec 13, 2018
Move Dropbox to a sparse file
View move_dropbox.sh
# Location of the image which will contain the new ext4 partition
DROPBOXFILE="$HOME"/.dropbox.img
# Current location of my Dropbox folder
DROPBOXHOME="$HOME"/Dropbox
# Where we will copy the folder to. If you have little space, you could make this
# a folder on a USB drive
DROPBOXBACKUP="$HOME"/old_Dropbox
@popey
popey / build_electron_snap.sh
Last active Nov 2, 2018
Script to build an electron based app in lxd
View build_electron_snap.sh
#!/bin/bash
# Override that with the tag
# build-snap v1.16.2 # build specific tag
# Override with latest
# build-snap master # build git master
# Override with most recent release
# build-snap release # build latest stable release
# Set these variables
# Lower case name as it would appear in the store
You can’t perform that action at this time.