Skip to content

Instantly share code, notes, and snippets.

View grebenyuksv-preply's full-sized avatar

Sergii Grebeniuk grebenyuksv-preply

  • Preply
  • Kyiv, Ukraine
View GitHub Profile
@chinskiy
chinskiy / ranges.txt
Created March 15, 2022 17:24
List of ASN and IP ranges that belongs to the main providers of Luhansk People's Republic(LPR) and Donetsk People's Republic(DPR)
# List of ASN and IP ranges that belongs to the main providers of so-called Luhansk People's Republic(LPR) and Donetsk People's Republic(DPR)
# Data taken from wiki articles
# https://ru.wikipedia.org/wiki/%D0%98%D0%BD%D1%82%D0%B5%D1%80%D0%BD%D0%B5%D1%82_%D0%B2_%D0%9B%D1%83%D0%B3%D0%B0%D0%BD%D1%81%D0%BA%D0%BE%D0%B9_%D0%9D%D0%B0%D1%80%D0%BE%D0%B4%D0%BD%D0%BE%D0%B9_%D0%A0%D0%B5%D1%81%D0%BF%D1%83%D0%B1%D0%BB%D0%B8%D0%BA%D0%B5
# https://ru.wikipedia.org/wiki/%D0%98%D0%BD%D1%82%D0%B5%D1%80%D0%BD%D0%B5%D1%82_%D0%B2_%D0%94%D0%BE%D0%BD%D0%B5%D1%86%D0%BA%D0%BE%D0%B9_%D0%9D%D0%B0%D1%80%D0%BE%D0%B4%D0%BD%D0%BE%D0%B9_%D0%A0%D0%B5%D1%81%D0%BF%D1%83%D0%B1%D0%BB%D0%B8%D0%BA%D0%B5
ASN list:
AS43201 https://lugacom.com/
AS208890 https://rck.su/
AS39728 https://luganet.ru/
AS204108 http://phoenix-dnr.ru/
@bencentra
bencentra / server.js
Created February 13, 2017 15:08
An HTTPS server for static content (Node.js)
/*
This module creates an HTTPS web server and serves static content
from a specified directory on a specified port.
To generate a new cert:
openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365
To remove the passphrase requirement: