Skip to content

Instantly share code, notes, and snippets.


Timoschenko Viacheslau ch3ll0v3k

View GitHub Profile
ch3ll0v3k /
Created Jul 21, 2020 — forked from mrbar42/
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
ch3ll0v3k / gist:0bb51f8f085255e35b8021831b43ab61
Created Mar 27, 2018 — forked from matthieu/gist:b07c5ba27bc99188a15f
Create and send a Bitcoin transaction using the BlockCypher Transaction API
View gist:0bb51f8f085255e35b8021831b43ab61
# In this example we're sending some test bitcoins from an address we control to a brand new test
# address. We'll be sending the coins using the following address, public and private keys (please
# don't abuse).
# address : mtWg6ccLiZWw2Et7E5UqmHsYgrAi5wqiov
# public : 03bb318b00de944086fad67ab78a832eb1bf26916053ecd3b14a3f48f9fbe0821f
# private : 1af97b1f428ac89b7d35323ea7a68aba8cad178a04eddbbf591f65671bae48a2
# 1. generate a one-shot dummy address we're going to send money to
$ curl -X POST
ch3ll0v3k / sendRawTransaction.js
Created Mar 25, 2018 — forked from raineorshine/sendRawTransaction.js
Sends a raw transaction with web3 v1.0 and Infura
View sendRawTransaction.js
const Web3 = require('web3')
const Tx = require('ethereumjs-tx')
// connect to Infura node
const web3 = new Web3(new Web3.providers.HttpProvider(''))
// the address that will send the test transaction
const addressFrom = '0x1889EF49cDBaad420EB4D6f04066CA4093088Bbd'
const privKey = 'PRIVATE_KEY'
ch3ll0v3k /
Created Oct 19, 2017 — forked from whitingx/
Complete List of HTML Meta Tags

Copied from

Basic HTML Meta Tags

<meta charset='UTF-8'>
<meta name='keywords' content='your, tags'>
<meta name='description' content='150 words'>
<meta name='subject' content='your website's subject'>
<meta name='copyright' content='company name'>
ch3ll0v3k / html-languages.txt
Created Oct 15, 2017 — forked from JamieMason/html-languages.txt
HTML lang attribute / ISO language code reference / Culture names
View html-languages.txt
Invariant Language (Invariant Country)
af af-ZA Afrikaans
af-ZA af-ZA Afrikaans (South Africa)
ar ar-SA Arabic
ar-AE ar-AE Arabic (U.A.E.)
ar-BH ar-BH Arabic (Bahrain)
ar-DZ ar-DZ Arabic (Algeria)
ar-EG ar-EG Arabic (Egypt)
ch3ll0v3k / demo.php
Created Sep 10, 2017 — forked from Swader/demo.php
Mehul Jain's captcha sample
View demo.php
$_SESSION['count'] = time();
<body style="background-color:#ddd; ">
ch3ll0v3k /
Created Aug 20, 2017 — forked from ulymarins/
Java Encryption with AES
import java.math.BigInteger;
import java.nio.charset.Charset;
import java.util.Random;
import javax.crypto.Cipher;
import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.SecretKeySpec;
import org.apache.commons.codec.binary.Base64;
View .gitignore
View server.js
var express = require('express');
var io = require('');
var http = require('http');
var fs = require('fs');
http.createServer(function (request, response) {
console.log('request ' + request.url);
ch3ll0v3k / mail.php
Created Jan 4, 2017 — forked from rantastic/mail.php
PHP: Send email using amazon SES
View mail.php
//class docs:
//get credentials at My Account / Console > Security Credentials
$ses = new SimpleEmailService('ACCESSkeyID', 'SECRETaccessKEY');
$m = new SimpleEmailServiceMessage();