Skip to content

Instantly share code, notes, and snippets.

# clone repos
git clone https://github.com/kiwiirc/kiwiirc.git ~/kiwiirc/kiwiirc
git clone https://github.com/kiwiirc/webircgateway.git ~/kiwiirc/webircgateway
git clone https://github.com/kiwiirc/plugin-fileuploader.git ~/kiwiirc/plugin-fileuploader
# make destination directories
mkdir -p ~/kiwiirc/run/plugins
mkdir -p ~/kiwiirc/run/www
# setup fileupload as plugin
@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
@JamoCA
JamoCA / NordVPN-Server-IP-List.txt
Last active March 27, 2024 16:04
NordVPN Server IP List; 2,590 IPs; 2020-02-04T15:31:55Z
103.120.66.35
103.120.66.51
103.227.255.101
103.60.9.27
103.60.9.75
103.62.49.193
103.62.49.195
103.62.49.198
103.62.49.203
103.62.49.205
@mrbar42
mrbar42 / README.md
Last active June 18, 2024 16:43
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
@KyxRecon
KyxRecon / proxy-scraper.sh
Created December 29, 2016 08:33
Parallel Proxy Scraper & Checker Tool /
#!/bin/bash
# HR Proxy Scraper Script
# Rebuilded By Kyxrec0n
# Demo video : youtube.com/watch?v=iXCeR_XsP6o
# USAGE: ./proxy-scraper.sh <ARGUMENT> <OPTIONS>
# ARGUMENTS:
# Proxy Checker - Single Proxy Check
# -s <IP>:<PORT>
#
# Proxy Checker - List Scan:
@256cats
256cats / gimmeproxy.php
Last active February 20, 2020 03:10
gimmeproxy.com example
<?php
function getProxy() {
$data = json_decode(file_get_contents('http://gimmeproxy.com/api/getProxy'), 1);
if(isset($data['error'])) { // there are no proxies left for this user-id and timeout
echo $data['error']."\n";
}
return isset($data['error']) ? false : $data['curl']; //gimmeproxy returns 'curl' field that is CURLOPT_PROXY-ready string, see curl_setopt($curl, CURLOPT_PROXY, $proxy);
}
/**
@bftanase
bftanase / secure_link.php
Last active May 23, 2024 13:47
generate URL for nginx secure_link
@finalwebsites
finalwebsites / tutorial-code.php
Last active February 9, 2020 22:35
PHP tutorial code for the email verification tutorial on www.tutdepot.com.
<?php
require dirname(__FILE__).'/smtp-validate-email.php';
$from = 'your@emailaddress.com';
if (!$db = new mysqli('localhost', 'username', 'password', 'databasename')) {
die('Can\'t connect to the database.');
} else {
// after I imported all email addresses into the data I select 25 records for validation
$res = $db->query("SELECT ID, email FROM emailaddresses WHERE status = 'valid' ORDER BY RAND() LIMIT 25");
@ceilfors
ceilfors / ssh-copy-id.py
Last active June 3, 2023 01:48
ssh-copy-id for Windows
"""ssh-copy-id for Windows.
Example usage: python ssh-copy-id.py ceilfors@my-remote-machine
This script is dependent on msysgit by default as it requires scp and ssh.
For convenience you can also try that comes http://bliker.github.io/cmder/.
"""
import argparse, os
from subprocess import call
@johntyree
johntyree / getBlockLists.sh
Last active June 4, 2024 12:30
Make one large blocklist from the bluetack lists on iblocklist.com
#!/usr/bin/env sh
# Download lists, unpack and filter, write to stdout
curl -s https://www.iblocklist.com/lists.php \
| sed -n "s/.*value='\(http:.*=bt_.*\)'.*/\1/p" \
| xargs wget -O - \
| gunzip \
| egrep -v '^#'