Skip to content

Instantly share code, notes, and snippets.

@dollabi11z
dollabi11z / obs encoder video h264 settings.txt
Created October 30, 2015 04:30
obs encoder video h264 settings
by me, guys u can test have some difference. :D
a <-------------> e
a: need low cpu
e: need high cpu
a
8x8dct=1 aq-mode=2 bframes=1 chroma-qp-offset=1 colormatrix=smpte170m deblock=0:0 direct=auto ipratio=1.41 keyint=240 level=3.1 me=hex merange=16 min-keyint=auto mixed-refs=1 no-mbtree=0 partitions=i4x4,p8x8,b8x8 profile=main psy-rd=0.5:0.0 qcomp=0.6 qpmax=51 qpmin=10 qpstep=4 ratetol=10 rc-lookahead=30 ref=1 scenecut=40 subme=5 threads=0 trellis=2 weightb=1 weightp=2
@dollabi11z
dollabi11z / better_bbcan_viewer.js
Created March 27, 2016 01:57 — forked from swemoney/better_bbcan_viewer.js
Paste this when viewing the Big Brother Canada Live Feeds to get a much better experience... Most credit goes to /u/rfmx49 for his work on the quad view code
var startAllFeeds = "false";
var feedAccts = [6388794,16559084,16559088,16559095,16559099];
var feedEvents = [4789152,4789131,4789946,4798444,4798455];
var baseUrl = "https://new.livestream.com/accounts/";
var endOfUrl = "/player?pre_event_poster=http://i.imgur.com/mfmMPYJ.jpg&amp;post_event_poster=http://i.imgur.com/mfmMPYJ.jpg&amp;width=1280&amp;height=720&amp;autoPlay=true&amp;mute=false";
var camBarString = "<p><center><div style=\"margin:0 auto;\"> <a href='javascript:switchToQuad()'>Quad</a> &nbsp; | &nbsp; <a href='javascript:switchCam(" + feedAccts[0] + "," + feedEvents[0] + ")'>Cam 1</a> &nbsp; | &nbsp; <a href='javascript:switchCam(" + feedAccts[1] + "," + feedEvents[1] + ")'>Cam 2</a> &nbsp; | &nbsp; <a href='javascript:switchCam(" + feedAccts[2] + "," + feedEvents[2] + ")'>Cam 3</a> &nbsp; | &nbsp; <a href='javascript:switchCam(" + feedAccts[3] + "," + feedEvents[3] + ")'>Cam 4</a></div></center></p>";
var hdCamString = function (feedAcct, feedEvent) { return "<center><iframe id='live-feeds-iframe
@dollabi11z
dollabi11z / .htaccess php redirect yoast
Created April 9, 2016 00:30 — forked from jdevalk/.htaccess
These three files together form an affiliate link redirect script.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^index\.php$ - [L]
RewriteRule (.*) ./index.php?id=$1 [L]
</IfModule>
@dollabi11z
dollabi11z / gender.php
Created June 3, 2016 01:28
This is a userListCustomIcons example for lightirc.com
<?php //(c) Kevin Glazenburg 4/6/2012
// This code assumes you have a url like
// http://www.example.com/gender.php?getImage=%nick%&prefix=%prefix% in your userListCustomIcons parameter.
// And that this file has been uploaded to that place.
// And that you have a function called getGender() in your php that returns a 1 when the nicks gender is male
// And 2 when the nicks gender is female. You need to make this function in php yourself.
// But you can find an example here: https://gist.github.com/4412613
if ($_GET['getImage']) {
$nick = strtolower($_GET['getImage']);
@dollabi11z
dollabi11z / config-generator.php
Created June 3, 2016 02:17 — forked from MaleXachi/config-generator.php
This is a method to create a config with lightIRC using PHP. You can use this script for your own website to give you users a method to create a config file with Config Generator. If you like this and you have a github account, please click on star. Feel free to post a comment.
<!DOCTYPE html>
<html>
<head>
<title>lightIRC Config Generator - By MaleXachi</title>
<meta charset='utf-8'>
<?php
header("Expires: Mon, 26 Jul 1990 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
@dollabi11z
dollabi11z / ffmpeg
Last active July 20, 2022 20:56
ffmpeg
This file has been truncated, but you can view the full file.
Easy shortcutz
Check versions aptget
cutz Mumura install macchanger dzinstall fuckerz Test Proxies APTTTTT aptlocks MySQL SSL Certz Cloudflare API yo
goodbax goodtrance yopara aria2conf ytzgood dzcron apttt sshconf sudoersconf newencode Desktopz kdeplasma goodssl dapathztrimmed NEW 7z shit mysqlcreateuser
7z-loop-extract esdwim Vimeo Dual M3U8 Make Shortcut SiteKeys UPLOAD MEGA 7z shit robocopycommands Scannerz
Apt.20.04 Install Powershell Bax Winblows Create Users Install Zimbra Ubuntu Upgrade New SSL Certz rpm2deb Release apt lock Check MX Domain Lists Clean files from text vmware folders
megatools megatoolz Sort Dedupe PMTA Install Proxy Scan! # Proxy Checker
# Nginx psvue config
# Build nginx
DZ pathzx
@dollabi11z
dollabi11z / Movie MIRC Bot
Last active November 29, 2016 17:50
Movie MIRC Bot
VERSION 2
;Before u do anything type !movieclear on irc or /movieclear if ur on the bot
;Commands
;!movielist - Lists movies (local /movielist)
;!movieadd - adds movies only working for the nick devillish2 (local /movieadd)
;!movienext - changes to the next movie only working for mods (local /movienext)
;!movieclear - clears movielist only working for the nick devillish (local /movieclear)
;!nowplaying - current movie (local /nowplaying)
;!nextplaying - next movie (local /nextplaying)
on *:TEXT:*!movielist*:#BigBrother: {
@dollabi11z
dollabi11z / random scraper 1
Created July 20, 2017 01:00
random scraper 1
<head>
<meta name="robots" content="noindex, nofollow">
<meta name="revisit-after" content="3 days">
<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="Tue, 01 Jan 2020 1:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />
</head>
<?php
@dollabi11z
dollabi11z / FFMPEG for Ubuntu 14 -> 2018-02-02
Last active February 3, 2018 00:48
FFMPEG for Ubuntu 14 -> 2018-02-02
Server Setup (dz)
FFMPEG + RCLONE + YOUTUBE-DL + LIVESTREAMER
passwd
nano /root/.ssh/authorized_keys
nano /etc/ssh/sshd_config
################export MAKEFLAGS="-j4"
@dollabi11z
dollabi11z / README.md
Created February 8, 2019 21:47 — 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