Skip to content

Instantly share code, notes, and snippets.

Avatar

Chad Norgan beardymcbeards

  • San Antonio, TX
View GitHub Profile
View gist:339ec210797ad8970f06
[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 Aug 29, 2015 — forked from olasd/stream_to_youtube.sh
Stream video to youtube via ffmpeg
View stream_to_youtube.sh
#! /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
View 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: