Record audio, compress to Flac & MP3 files, create an index.html with a link to each MP3 and synch the new index and the MP3s to an S3 bucket.
- Ruby
- Sox
- docker
| #!/bin/bash | |
| # TIP: use Quicktime Player to capture a short screencast and convert to animated gif. | |
| # Great for sharing software demos in chat/etc. | |
| # Check if input and output file parameters are provided | |
| if [ $# -ne 2 ]; then | |
| echo "Usage: $0 <input_file> <output_file>" | |
| exit 1 | |
| fi |
| #!/bin/bash | |
| # A very naive script to change deprecated Ace templates (https://github.com/yosssi/ace) into Pug (https://pugjs.org/api/getting-started.html) for use with Hugo (https://gohugo.io/) | |
| # Basically a bunch of string substitutions with Perl. Not well tested. No warranty or guarnatee of any sort. | |
| # Check if an argument is provided | |
| if [ $# -ne 1 ]; then | |
| echo "Usage: $0 <file_path>" | |
| exit 1 | |
| fi |
As part of a Team Charter it's helpful to have an "Operations Manual" explaining how various ceremonies are done, etc.
Here's a starting point for agile teams working in one week sprints with a heavy amount of ad-hoc requests which would otherwise be handled via a kanban system:
| #!/bin/bash | |
| # For recording flac & mp3 files (with compression and silence trimming) | |
| # Prerequisite: sox | |
| #`brew install sox --with-lame --with-flac --with-libvorbis` | |
| # For recording flac & mp3 files. | |
| # Grab your laptop | |
| # Plug in your USB sound device |
| ( | |
| Server.default.options.device = "BlackHole 16ch"; | |
| //Server.default.options.device = "Built-in Output"; | |
| //ServerOptions.devices; | |
| //handle large delay sizes | |
| //s.options.memSize= 8192*2; | |
| //s.reboot; |
| #This file contains some useful steps for interacting with specific page elements, moving forwards and backwards in time, etc. They're pretty low-level so you might use them to get started but eventually you'll want to write your own application-specific steps. | |
| #things to do before each scenario | |
| Before do |scenario| | |
| end | |
| #and after.... | |
| After do |scenario| | |
| end |
| //use this to get current counts of Pull Requests to put into a dashboard. | |
| // Things to update: YOUR_USER_NAME, YOUR_ACCESS_TOKEN, YOUR_REPO_PATH (see below) | |
| // add custom menu | |
| function onOpen() { | |
| var ui = SpreadsheetApp.getUi(); | |
| ui.createMenu('Custom GitHub Menu') | |
| .addItem('Get User Repos','getUserRepos') | |
| .addItem('Get rate quota','getGitHubRateLimit') | |
| .addToUi(); |
| [http] | |
| proxy = http://some-proxy:80 | |
| [https] | |
| proxy = http://some-proxy:80 | |
| [alias] | |
| #co = checkout | |
| #br = branch | |
| ci = commit | |
| st = status | |
| co = !git checkout |