Skip to content

Instantly share code, notes, and snippets.

View beardymcbeards's full-sized avatar

Chad Norgan beardymcbeards

  • San Antonio, TX
View GitHub Profile
[Unit]
Description=AutoSSH service for port x
After=network.target
[Service]
Environment="AUTOSSH_GATETIME=0"
ExecStart=/usr/bin/autossh -M 10861 -N -R <remote_port>:localhost:<forwarded_port> -o TCPKeepAlive=yes root@<dest> -p <ssh_port>
[Install]
WantedBy=multi-user.target
@beardymcbeards
beardymcbeards / stream_to_youtube.sh
Last active August 29, 2015 14:27 — forked from olasd/stream_to_youtube.sh
Stream video to youtube via ffmpeg
#! /bin/bash
#
# Diffusion youtube avec ffmpeg
# Configurer youtube avec une résolution 720p. La vidéo n'est pas scalée.
VBR="2500k" # Bitrate de la vidéo en sortie
FPS="30" # FPS de la vidéo en sortie
QUAL="medium" # Preset de qualité FFMPEG
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2" # URL de base RTMP youtube
@beardymcbeards
beardymcbeards / keybase.md
Created August 26, 2014 03:51
keybase.md

Keybase proof

I hereby claim:

  • I am beardymcbeards on github.
  • I am chadnorgan (https://keybase.io/chadnorgan) on keybase.
  • I have a public key whose fingerprint is E8A6 0C6F FE27 8EE9 5F5F 1B61 DC20 AD53 B4C7 95D4

To claim this, I am signing this object: