running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8
| // Call this first | |
| AxisProperties.setProperty("axis.socketSecureFactory", MySocketFactory.class.getCanonicalName()); | |
| // Access your Web Services | |
| WebServiceStub ws = (GSP2_NHICardSoap12Stub) new WebServiceLocator()...; | |
| ... |
running:
bash create-vod-hls.sh beach.mkv
will produce:
beach/
|- playlist.m3u8
|- 360p.m3u8
| -- a quick LUA access script for nginx to check IP addresses against an | |
| -- `ip_blacklist` set in Redis, and if a match is found send a HTTP 403. | |
| -- | |
| -- allows for a common blacklist to be shared between a bunch of nginx | |
| -- web servers using a remote redis instance. lookups are cached for a | |
| -- configurable period of time. | |
| -- | |
| -- block an ip: | |
| -- redis-cli SADD ip_blacklist 10.1.1.1 | |
| -- remove an ip: |
| package com.harshadura.gsm.smsdura; | |
| import java.io.InputStream; | |
| import java.io.PrintStream; | |
| import org.smslib.AGateway; | |
| import org.smslib.IOutboundMessageNotification; | |
| import org.smslib.Library; | |
| import org.smslib.OutboundMessage; | |
| import org.smslib.Service; | |
| import org.smslib.modem.SerialModemGateway; |
| #! /bin/sh | |
| # ================================================================== | |
| # ______ __ _____ | |
| # /_ __/___ ____ ___ _________ _/ /_ /__ / | |
| # / / / __ \/ __ `__ \/ ___/ __ `/ __/ / / | |
| # / / / /_/ / / / / / / /__/ /_/ / /_ / / | |
| #/_/ \____/_/ /_/ /_/\___/\__,_/\__/ /_/ | |
| # Multi-instance Apache Tomcat installation with a focus | |
| # on best-practices as defined by Apache, SpringSource, and MuleSoft |