Skip to content

Instantly share code, notes, and snippets.

todgru

Block or report user

Report or block todgru

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@todgru
todgru / ssh.md
Last active Jun 19, 2019
enable ssh on raspberry pi raspian fresh install etcher OS X Mac network cable direct connect
View ssh.md
  • after image is flashed using Etcher, cd /Volumes/boot.
  • Then add ssh file to root. touch ssh.
  • connect network cable between os x computer and raspberry pi. boot the raspberry pi.
  • wait a minute.
  • then ssh pi@raspberrypi.local

That's it. No need for a screen, keyboard or any other device to get into the pi. :)

@todgru
todgru / ffmpeg.md
Last active May 29, 2019
trim an mp3 from the command line cli using ffmpeg copies to new file, original undedited
View ffmpeg.md

trim an mp3

I record mp3s from a few streams. Sometimes the recordings do not stop on schedule. This command allows me to trim or trucate the mp3 file.

ffmpeg -i infile.mp3 -vn -acodec copy -ss 00:00:00 -t 01:00:34 outfile.mp3

installation on ubuntu 14.04

View paclink-unix-install.md
@todgru
todgru / 0-ax25.md
Last active May 29, 2019
installing ax25 on debian 9 raspberry pi
View 0-ax25.md
@todgru
todgru / gist:39d3f58cff67f6552666da30497db279
Created Jan 26, 2019
converting debian 9 raspberry pi file system to f2fs
View gist:39d3f58cff67f6552666da30497db279
https://movr0.com/2016/08/19/convert-raspberry-pi-123-to-f2fs/
View jellyfin.md

Jellyfin setup on Raspberry Pi 3 Debian 9(stretch)

Jellyfin is the open source version of Emby.

install docker

wget -nv -O- https://get.docker.com/ | sh
@todgru
todgru / certbot.md
Created Jan 13, 2019
certbot lenscrypt ssl
View certbot.md
@todgru
todgru / bootable-usb-drive.md
Last active Jan 8, 2019
osx debian usb asus 900A EEE PC
View bootable-usb-drive.md

I created a bootable usb drive in disk utility

then ran diskutil list to find the identifier

/dev/disk2s1 in my case

make sure to unmount the drive

then dd

View raspberry-pi-usb-hdd.md

raspberry pi auto mount usb drive

my drive is hfsplus usb 2TB

get the usb UUID from blkid

pretty print drive locations lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL

followed this, with special attention to the order. Drive must be unmounted before running fsck.

@todgru
todgru / emby.md
Last active Mar 16, 2019
install emby on a raspbery pi 3
View emby.md
You can’t perform that action at this time.