Skip to content

Instantly share code, notes, and snippets.

View sl4m's full-sized avatar
😎
😎

skim sl4m

😎
😎
View GitHub Profile

Keybase proof

I hereby claim:

  • I am sl4m on github.
  • I am skim (https://keybase.io/skim) on keybase.
  • I have a public key whose fingerprint is 1969 1388 9423 B407 6EFD ED76 731A 9DF5 5732 A0C8

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am sl4m on github.
  • I am skim (https://keybase.io/skim) on keybase.
  • I have a public key whose fingerprint is EA0E 259C B4B4 A1F4 A959 E839 2574 4DCC 3A0C EF66

To claim this, I am signing this object:

@sl4m
sl4m / Readme.md
Created December 30, 2015 08:39 — forked from JoshCheek/Readme.md
Typing game 2
@sl4m
sl4m / saml.md
Created December 13, 2016 09:44 — forked from perigee/saml.md

Top references

SAML2 Notes


SAML2.0 is an XML based portocol using security tokens containing assertions to pass information about a principal (ex. end user) between a SAML authority (Idp-Identity provider, for planet labs, it is MS ADFS 2012 R2), and a SAML consumer (SP-service provider, for example, plotly On-Prem side authentication). The standrad was ratified as an OASIS standard in 03/2005, which eventually may be replaced by Oauth2 based OpenID.

@sl4m
sl4m / ffmpeg.md
Created October 11, 2019 18:48 — 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:

BEGIN MESSAGE.
MowtrE0TEzcJUA2 gDzj5E16YhRa58G 2CBD7pDNbVK82XM zQ1G3gvScim5S7W
tHxW7Nczr74V67T nFcpLu8mCTNTCKq 6Xr2MZHgg6jbS63 r6WL9bSJklybxpq
0wqSz9tZFCQ6fqu AyuLKsFesbwkdVw RT93pR3ORF6M8GW BTy5T0w6ZPSF12r
l5J4qWp9uc3gukk svGmJ68YaWwk0ko bhRF.
END MESSAGE.