Skip to content

Instantly share code, notes, and snippets.

View vvbv's full-sized avatar
🐕‍🦺

J. Daniel Cardona vvbv

🐕‍🦺
  • Linux Kernel
  • 22:33 (UTC -05:00)
View GitHub Profile
@vvbv
vvbv / index.py
Created June 21, 2022 04:00 — forked from fazt/index.py
Python Simple Discord Bot
import discord
from discord.ext import commands
import datetime
from urllib import parse, request
import re
bot = commands.Bot(command_prefix='>', description="This is a Helper Bot")
@bot.command()
@vvbv
vvbv / README.md
Created March 21, 2021 07:36 — forked from mrbar42/README.md
Secured HLS setup with Nginx as media server

Secured HLS setup with Nginx as media server

This example is part of this article.

This is an example for an HLS delivery with basic security. Nginx compiled with nginx-rtmp-module & secure-link is used as media server. Features:

  • Domain filtering
  • Referrer filtering
  • Embed buster
@vvbv
vvbv / PicartoAPI.md
Created February 23, 2021 06:20 — forked from Tschrock/PicartoAPI.md
Documentation for Picarto.tv's API endpoints

The Picarto API

This is unofficial documentation for Picarto.tv's service APIs. I'm not responsible for anything you do with this information; it is provided as is with no guarantees.

==== UPDATE 4/16/2017 ====

It looks like there is an official well-documented api now: https://docs.picarto.tv/api/ Please use that instead!

==========================

@vvbv
vvbv / SimpleHTTPServer6.py
Created October 8, 2020 01:31 — forked from chrisklaiber/SimpleHTTPServer6.py
Python SimpleHTTPServer over IPv6. Run as `python -m SimpleHTTPServer6 [PORT]`
import BaseHTTPServer
import SimpleHTTPServer
import socket
class HTTPServer6(BaseHTTPServer.HTTPServer):
address_family = socket.AF_INET6
if __name__ == '__main__':
login url
<?php echo Mage::getUrl('customer/account/login'); ?>
logout url
<?php echo Mage::getUrl('customer/account/logout'); ?>
My Account url
<?php echo Mage::getUrl('customer/account'); ?>
Register url
@vvbv
vvbv / stream_to_youtube.sh
Created June 14, 2020 02:20 — forked from olasd/stream_to_youtube.sh
Stream video to youtube via ffmpeg
#! /bin/bash
#
# Diffusion youtube avec ffmpeg
# Configurer youtube avec une résolution 720p. La vidéo n'est pas scalée.
VBR="2500k" # Bitrate de la vidéo en sortie
FPS="30" # FPS de la vidéo en sortie
QUAL="medium" # Preset de qualité FFMPEG
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2" # URL de base RTMP youtube