Skip to content

Instantly share code, notes, and snippets.

{
"firefox": {
"default": "latest",
"versions": {
"latest": {
"image": "selenoid/vnc:firefox_56.0",
"port": "4444",
"path": "/wd/hub",
"tmpfs": {"/tmp":"size=512m"}
}
#!/usr/bin/env bash
if [ -z "$1" ]
then
echo "Please supply a subdomain to create a certificate for";
echo "e.g. mysite.localhost"
exit;
fi
# Create a new private key if one doesnt exist, or use the xeisting one if it does
@skripal
skripal / worker nginx conf
Created September 7, 2020 14:11 — forked from fqrouter/worker nginx conf
Youtube Reverse Proxy
resolver 8.8.8.8;
location /video/ {
if ($request_uri ~ "^/video/(.+?)/.+") {
set $upstream_host $1.googlevideo.com;
add_header Content-Disposition "attachment; filename=video.mp4;";
}
rewrite /video/.+?/(.+)$ /$1 break;
proxy_buffering off;
proxy_pass https://$upstream_host;
proxy_set_header Host $upstream_host;
@skripal
skripal / phpstorm trial reset
Created October 4, 2020 16:36 — forked from manidip/phpstorm trial reset
phpstorm trial reset
cd ~/.PhpStorm[version]
rm config/eval/PhpStorm[version].evaluation.key
rm config/options/options.xml
cd ~/.java/.userPrefs/jetbrains
rm -rf phpstorm
@skripal
skripal / LICENSE
Created November 13, 2020 11:48 — forked from curran/LICENSE
Simplemaps: World Cities Database
This license is a legal document designed to protect your rights and the rights of the Pareto Software, LLC, the owner of Simplemaps.com. Please read it carefully. Purchasing or downloading a data product constitutes acceptance of this license.
Description of Product and Parties: This license is a contract between you (hereafter, the Customer) and Pareto Software, LLC (hereafter, the Provider) regarding the use and/or sale of an collection of geographic data (hereafter, the Database).
Ownership of Database: All rights to the Database are owned by the Provider. The Database is a cleaned and curated collection of geographic facts and the Provider retains all rights to the Database afforded by the law. Ownership of any intellectual property generated by the Provider while performing custom modifications to the Database for a Customer (with or without payment) is retained by the Provider.
License: Customers who purchase a license are allowed to use the database for projects that benefit their organization or t