Skip to content

Instantly share code, notes, and snippets.

View xcpep's full-sized avatar
:octocat:
Cat

Daniel Patterson xcpep

:octocat:
Cat
View GitHub Profile
@xcpep
xcpep / module.js
Created January 12, 2021 16:33 — forked from davidkelley/module.js
AWS Request Signer V4 Javascript for jQuery AJAX
// Allows you to make signed requests by wrapping your original request object
// inside the Signer() function, then simply passing the return value to $.ajax.
//
// @note Depends on the CryptoJS library being present
//
// $.ajax(Signer(credentials, {
// url: 'https://xxxxxx.execute-api.us-east-1.amazonaws.com/v1/private',
// type: 'POST',
// context: this,
// dataType: 'json',

Keybase proof

I hereby claim:

  • I am xcpep on github.
  • I am xcpep (https://keybase.io/xcpep) on keybase.
  • I have a public key ASAjWUdpXmY-D53m3YVfjxm1PhTYf99Nsy1b_0-b1ABMwQo

To claim this, I am signing this object:

@xcpep
xcpep / stream_to_youtube.sh
Created March 8, 2018 20:05 — 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