Skip to content

Instantly share code, notes, and snippets.

View anaganisk's full-sized avatar

SKA anaganisk

View GitHub Profile
@anaganisk
anaganisk / README.md
Created September 11, 2018 06:39 — forked from mosquito/README.md
Add doker-compose as a systemd unit

Docker compose as a systemd unit

Create file /etc/systemd/system/docker-compose@.service

[Unit]
Description=%i service with docker compose
Requires=docker.service
After=docker.service
@anaganisk
anaganisk / html5-video-streamer.js
Created December 15, 2016 06:47 — forked from paolorossi/html5-video-streamer.js
Node.js HTML5 video streamer
/*
* Inspired by: http://stackoverflow.com/questions/4360060/video-streaming-with-html-5-via-node-js
*/
var http = require('http'),
fs = require('fs'),
util = require('util');
http.createServer(function (req, res) {
var path = 'video.mp4';
@anaganisk
anaganisk / 0x00000.bin
Created October 12, 2016 18:53 — forked from ajfisher/0x00000.bin
ESP8266 Transparent bridge to J5