- Ingest url:
rtmp://example.com/live
- Player url: http://example.com/?key=STREAM_KEY
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Creating symbolic/hard link is prohibited by default. | |
# To run this script you need either: | |
# * Have an Administrator permissions | |
# * Enabled Developer Mode | |
# * Configured Create symbolic links policy | |
# Also do not forget that running ps1 scripts is also prohibited by default. | |
# If you're lazy as fuck, just copy-paste everything below into PowerShell console. | |
Set-StrictMode -Version Latest | |
$ErrorActionPreference = "Stop" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Git history | |
on: pull_request | |
jobs: | |
git-history: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 25 | |
- name: "No fixup! commits" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Install deps: | |
# pip install scikit-image PyWavelets | |
# Run: | |
# python iqdb.py a.jpg b.jpg | |
# References: | |
# https://iqdb.org/code/ | |
# https://github.com/ricardocabral/iskdaemon | |
# https://grail.cs.washington.edu/projects/query/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ -z "$DATABASE_URL" ]; then | |
echo "Missing database url" | |
exit 2 | |
fi | |
RETRIES="${RETRIES:-10}" | |
echo -n "Waiting for postgres..." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-moz-document url("chrome://browser/content/browser.xul") { | |
.tabbrowser-tab { | |
-moz-box-flex: 0 !important; | |
min-width: -moz-min-content !important; | |
} | |
.tabbrowser-tab[pending] { | |
opacity: 0.5 !important; | |
} | |
.tab-close-button, .tab-label-container, .tab-loading-burst { | |
display: none !important; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:bionic as build-base | |
ENV PYTHONUNBUFFERED 1 | |
ARG SSH_KEY | |
RUN apt-get update && \ | |
apt-get install -y build-essential \ | |
libprotobuf-dev \ | |
libhiredis-dev \ | |
libxml2-dev \ |
NewerOlder