Skip to content

Instantly share code, notes, and snippets.

View KennyStier's full-sized avatar

Kenny Stier KennyStier

View GitHub Profile
@KennyStier
KennyStier / lup.bash
Last active August 29, 2015 14:20
Linux Unplugged HD Feed Generator
#!/bin/bash
# SD JB RSS Feed URL
oldfeedurl="http://feeds.feedburner.com/linuxunvid.xml"
oldfeedname="sdfeed.xml"
newfeedname="hdfeed.xml"
# Download a JB Podcast
wget -O $oldfeedname $oldfeedurl
# Remove the string "-432p" from the video URLs (the HD URLs doesn't have that string)
@KennyStier
KennyStier / apt-get-pkgs.sh
Created July 21, 2015 11:59
Download .deb packages from the repository with apt-get-pkgs
wget $(apt-get install --reinstall --print-uris -qq $1 | cut -d"'" -f2)
@KennyStier
KennyStier / openpgp.txt
Created April 19, 2016 10:22
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:97b0fc4286a315eef776fd00f2f94d4f45fafe62]
#!/bin/bash
# Twitter PWS Status Bot
# Author: Kenny Stier <weather@flexstart.me>
#
# Gathers Personal Weather Station data from Weather Underground
# and sends tweets throughout the day
# Twitter Credentials
username="user"
password="password"
@KennyStier
KennyStier / rarr.sh
Last active May 26, 2017 18:39
Rainier Automatic Raster Resizer
#!/bin/bash
#
# Written by Kenny Stier for Trenta.io
#
# Rainier Automatic Raster Resizer (RARR)
# Copyright (C) 2017 Trenta.io
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
@KennyStier
KennyStier / keybase.md
Created October 8, 2017 03:10
Keybase Proof

Keybase proof

I hereby claim:

  • I am kennystier61 on github.
  • I am mtdev (https://keybase.io/mtdev) on keybase.
  • I have a public key ASCLXDxf57cfhoEk4ZVhWetUZyY9mBBft1sGGXdzj-vmOAo

To claim this, I am signing this object:

@KennyStier
KennyStier / rwget.sh
Last active January 15, 2018 20:36 — forked from forresty/rwget.sh
rwget: wget through ssh tunnel
#!/usr/bin/env bash
# TODO: replace your-hostname-here.com
server="your-hostname-here.com"
if [ $# -lt 1 ] ; then
echo "usage: rwget URL"
exit 1
fi
@KennyStier
KennyStier / arch-setup.md
Last active October 26, 2019 19:05
Arch Linux Setup

Prepare disks

  1. /dev/nvme0n1p1 - /
  2. /dev/nvme0n1p2 - /home
mkfs.ext4 /dev/nvme0n1p1
mkfs.ext4 /dev/nvme0n1p2

Install base

@KennyStier
KennyStier / timelapse-creator.sh
Created October 16, 2020 17:24
timelapse-creator.sh
#!/bin/bash
ls dafang/*/*/*.jpg | sed "s/^/file '/;s/$/'/" > files.txt
ffmpeg -r 45 -f concat -i files.txt -s hd720 -vcodec libx264 timelapse_$(date +%F).mp4