specs of showroom-live.com HLS m3u8 URL
showroom-live URL
https://www.showroom-live.com/<ROOM_URL_KEY>
#!/usr/bin/env python3 | |
# vim: ft=python ts=4 sw=4 expandtab | |
# | |
# Copyright (c) 2013 Reed Kraft-Murphy <reed@reedmurphy.net> | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is |
$INPUTVIDEO='input.mp4' | |
$OUTPUTVIDEO='output.mp4' | |
ffmpeg -i $INPUTVIDEO -metadata:s:v rotate="-90" -codec copy $OUTPUTVIDEO |
from contextlib import closing | |
import asyncio | |
import aiohttp | |
f = open('path/to/file', 'wb') | |
url = 'http://speedtest.wdc01.softlayer.com/downloads/test100.zip' | |
chunk_size = 5 * 2**20 # MB |
#!/bin/bash | |
# coding: utf-8 | |
# showroomlive.sh by fcicq | |
(jq --version 1>/dev/null 2>&1) || (echo 'install jq first'; exit) | |
(livestreamer --version 1>/dev/null 2>&1) || (echo 'install livestreamer first (run pip/pip3 install livestreamer)'; exit) | |
if [ -n "$1" ]; then | |
id=$(echo "$1" | sed 's|^.*/||g') | |
while true; do | |
while true; do |
#!/bin/sh | |
# Mount an NFS share on Android | |
# Requirements: | |
# - Busybox | |
# - A kernel supporting nfs (either built-in or as a module) | |
# On my Nexus 7 2012 I use the following kernel: | |
# http://forum.xda-developers.com/showthread.php?t=2107224 | |
# Remember: if you have problems of system space, simply delete some of the default stuff. |
#!/bin/bash | |
# this scripts assumes Ubuntu 14.04 LTS | |
# ensure the following sources are in /etc/apt/sources.list | |
# deb http://us.archive.ubuntu.com/ubuntu/ precise multiverse | |
# deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse | |
# deb http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse | |
# deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse |
kill $(ps aux | grep 'process name with regex' | awk '{print $2}') |
#!/usr/bin/env python | |
"""Aliases for argparse positional arguments.""" | |
import argparse | |
class AliasedSubParsersAction(argparse._SubParsersAction): | |
class _AliasedPseudoAction(argparse.Action): | |
def __init__(self, name, aliases, help): |