Skip to content

Instantly share code, notes, and snippets.

@vvsvin
vvsvin / self-signed-certificate-with-custom-ca.md
Created September 3, 2023 01:02 — forked from fntlnz/self-signed-certificate-with-custom-ca.md
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096
https://greasyfork.org/en/scripts/by-site/feedly.com | User scripts for feedly.com
https://www.bing.com/images/search?q=csv&qs=n&form=QBIR&sp=-1&pq=csv&sc=8-3&cvid=8632C9AAFA2F40858B468BF74A3DED54&first=1&scenario=ImageHoverTitle | csv - Bing images
https://www.google.com/search?q=csv&tbm=isch | csv - Google Search
https://www.easyicon.net/iconsearch/csv | Csv icons - 21 free vector icons - Easyicon
https://www.flaticon.com/search?word=csv&search-type=icons&license=selection&order_by=4&grid=small | Search results for Csv - Flaticon
https://icons8.com/icons/set/csv | Csv Icons - Free Download, PNG and SVG
https://www.iconfont.cn/search/index?searchType=icon&q=csv | Iconfont-阿里巴巴矢量图标库
https://www.iconshock.com/csv-icons/ | Csv Icons - Iconshock
https://www.easyicon.net/language.en/iconsearch/iconset:ledicons/?s=addtime_DESC | Ledicons icons - 512 free vector icons - Easyicon
https://www.google.com/search?q=ledicons | ledicons - Google Search
@vvsvin
vvsvin / Youtube Download Full Channel
Created July 8, 2023 22:04 — forked from vikaspotluri123/Youtube Download Full Channel
Download all of the videos in a youtube channel as mp3
const API_KEY = "API_KEY_HERE"
const API_URL = "https://www.googleapis.com/youtube/v3/search"
const API_PATH = "/youtube/v3/search"
const https = require("https"); // I'm not sure why nodejs https API uses const but I'll trust them :)
const exec = require("child_process").exec;
var API_PARAMS =
{
"key" : API_KEY,
"channelId" : "CHANNEL ID",
//"channelName" : "Just so you know :)",
@vvsvin
vvsvin / tls_test.php
Created May 17, 2021 21:17 — forked from olivierbellone/tls_test.php
Simple TLS version test for PHP, using howsmyssl.com
<?php
$ch = curl_init('https://www.howsmyssl.com/a/check');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$data = curl_exec($ch);
curl_close($ch);
$json = json_decode($data);
echo "<pre>TLS version: " . $json->tls_version . "</pre>\n";