Skip to content

Instantly share code, notes, and snippets.

View spinitron's full-sized avatar
💭

Tom and Eva spinitron

💭
View GitHub Profile
<?php
/*
* Reverse proxy to terminate HTTP and forward a "Now playing" update to an RDS via UDP.
*
* Use this to push metadata to an RDS encoder. Run the script on an HTTPS server that can be
* reached from the Internet, e.g. in your DMZ or on a hardened server, that can itself reach
* the RDS encoder over a secure private LAN, e.g. on a different network interface from the
* web server.
*

(a gist based on the old toolmantim article on setting up remote repos)

To collaborate in a distributed development process you’ll need to push code to remotely accessible repositories.

This is somewhat of a follow-up to the previous article setting up a new rails app with git.

For the impatient

Set up the new bare repo on the server: