Skip to content

Instantly share code, notes, and snippets.

View namxam's full-sized avatar

Maximilian Schulz namxam

View GitHub Profile
@namxam
namxam / ffmpeg-cheatsheet.md
Created September 21, 2021 12:12 — forked from nickkraakman/ffmpeg-cheatsheet.md
FFmpeg cheat sheet for 360 video

FFmpeg Cheat Sheet for 360º video

Brought to you by Headjack

 
FFmpeg is one of the most powerful tools for video transcoding and manipulation, but it's fairly complex and confusing to use. That's why I decided to create this cheat sheet which shows some of the most often used commands.

 
Let's start with some basics:

  • ffmpeg calls the FFmpeg application in the command line window, could also be the full path to the FFmpeg binary or .exe file
@namxam
namxam / wg-watchdog
Last active February 23, 2023 06:57 — forked from mattkasun/wg-watchdog.sh
wireguard watchdog script
#!/bin/bash
# 1. Save file to system /usr/bin
# 2. Make it executable
# 3. Add crontab entry:
# sudo su
# crontab -e
# Add `* * * * * /usr/bin/wg-watchdog`
#
# You can track history via `journalctl -f -t wg-watchdog`
@namxam
namxam / chat_demo.ex
Last active June 11, 2016 06:36 — forked from josevalim/sample output
Simple chat demo with Elixir 0.14.1
defmodule Chat.Client do
def join(server) do
client_send server, :join
end
def say(server, message) do
client_send server, { :say, message }
end
def leave(server) do
@namxam
namxam / gist:4259327
Created December 11, 2012 15:26 — forked from stephanpavlovic/gist:4259284
domain spec
#require 'spec_helper'
#require_relative '../../../app/domain/geocoder_wrapper'
require 'rspec/autorun'
class GeocodeWrapper
def self.geocode(name)
0
#Geocoder.search(name)
end