Skip to content

Instantly share code, notes, and snippets.

View chgeuer's full-sized avatar
🏠
Working from Düsseldorf

Dr. Christian Geuer-Pollmann chgeuer

🏠
Working from Düsseldorf
View GitHub Profile
ssh 52.166.92.21
#
# curl -s -H Metadata:true http://169.254.169.254/metadata/instance?api-version=2019-06-01 | jq ".compute.tags"
// <PackageReference Include="Pidgin" Version="2.2.0" />
// <PackageReference Include="Sprache" Version="2.2.0" />
namespace RedisParser
{
using System;
using System.Text;
using System.Collections.Generic;
using Sprache;
using Pidgin;
using static Pidgin.Parser;
@chgeuer
chgeuer / 1.svg
Last active January 30, 2020 18:52
Some gistpad test
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chgeuer
chgeuer / README.md
Created January 9, 2020 08:30 — forked from mrbar42/README.md
bash scripts to create VOD HLS stream with ffmpeg almighty (tested on Linux and OS X)

running:

bash create-vod-hls.sh beach.mkv

will produce:

    beach/
      |- playlist.m3u8
 |- 360p.m3u8
- task: CreateWorkItem@1
condition: not(succeeded())
inputs:
workItemType: Issue
title: 'Created by build $(Build.DefinitionName)-$(Build.BuildNumber)'
assignedTo: '$(Build.RequestedFor) <$(Build.RequestedForEmail)>'
associate: true
@chgeuer
chgeuer / ffmpeg.md
Created November 21, 2019 21:36 — forked from protrolium/ffmpeg.md
using ffmpeg to extract audio from video files

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

Convert WAV to MP3, mix down to mono (use 1 audio channel), set bit rate to 64 kbps and sample rate to 22050 Hz: