Skip to content

Instantly share code, notes, and snippets.

View philippkueng's full-sized avatar

Philipp Küng philippkueng

View GitHub Profile
@philippkueng
philippkueng / README.md
Last active August 29, 2015 14:05
Convert all video files in a directory recursively to mp4 files of max size 4GB
@philippkueng
philippkueng / get_configs_of_all_heroku_apps.sh
Created July 3, 2016 15:35
get all configuration details of all the heroku apps one has access to
#!/bin/bash
# 1. List all the Apps
# 2. Remove the titles
# 3. Remove the empty lines
# 4. Only get the app-names (no regions or who the app belongs to)
# 5. Fetch the configuration for all the apps and print them
# 6. Use Ctrl+F to find the database entry one is looking for
for APP_NAME in $(heroku apps | grep -v "=== My Apps" | grep -v "=== Collaborated Apps" | grep . | awk '{print $1;}'