Skip to content

Instantly share code, notes, and snippets.

@dva00jnd
dva00jnd / 1 NGINX RTMP-Server Setup for local Streams.md
Created November 11, 2021 13:21 — forked from noelli/1 NGINX RTMP-Server Setup for local Streams.md
Compile NGINX with RTMP and setup Multi-Streaming

Compile NGINX with RTMP and setup Multi-Streaming

These Scripts will install NGINX with the RTMP Module in the usual directories similar to installation with apt-get.

The RTMP-Server you get with this can then be used to do one ore more of the following:

  • deliver streams in a local network
  • deliver streams to websites similar to youtube
  • transcode rtmp streams to hls video
  • publish to multiple streaming providers
  • record livestreams to a harddrive
@dva00jnd
dva00jnd / README.md
Created February 16, 2017 14:41 — forked from bsergean/README.md
three.js + headless.gl rendering with texturing

Getting the code

git clone https://gist.github.com/08be90a2f21205062ccc.git

Executing the code

$ npm install # maybe npm start will take care of it but just in case
$ npm start && open out.png

> offscreen-sample@1.0.0 start /Users/bsergean/src/offscreen_sample

@dva00jnd
dva00jnd / AWSLambdaSimpleVoice.js
Created December 6, 2016 12:34 — forked from nickmalcolm/AWSLambdaSimpleVoice.js
AWS Lambda Function to make Voice calls via the Twilio API
// 2016 MIT licence. Nick Malcolm.
// Based on https://gist.github.com/stevebowman/7cff9dd80b227c899728
// Makes a call using Twilio's API.
// Expects the following Lambda environment variables:
// TWILIO_ACCOUNT_SID - your account ID
// TWILIO_AUTH_TOKEN - an auth token generated in the Twilio console e.g. ABCD1234
// TWILIO_FROM_NUMBER - the number you've purchased to make calls from e.g. +14243700000
// We'll call this number
@dva00jnd
dva00jnd / .block
Created October 13, 2016 08:40 — forked from mbostock/.block
Perspective Transformation
license: gpl-3.0
@dva00jnd
dva00jnd / post-receive
Created March 13, 2016 11:15 — forked from lemiorhan/post-receive
Post-receive hook to deploy the code being pushed to production branch to a specific folder
#!/bin/bash
target_branch="production"
working_tree="PATH_TO_DEPLOY"
while read oldrev newrev refname
do
branch=$(git rev-parse --symbolic --abbrev-ref $refname)
if [ -n "$branch" ] && [ "$target_branch" == "$branch" ]; then