We will be using Python package imagededup to detect duplicate images.
There are multiple options (algorithms) for detecting duplicates.
- Convolutional Neural Network (CNN)
- Perceptual hashing (PHash)
- Difference hashing (DHash)
- Wavelet hashing (WHash)
We will be using Python package imagededup to detect duplicate images.
There are multiple options (algorithms) for detecting duplicates.
Browser allows you to run JavaScript by clicking on a bookmark prefilled with JS code.
Simply Create a new bookmark, give it any name, and input the js code in a special format in the URL input box.
javascript: var v = v = document.querySelector("video"); var t = prompt('Set the playback rate'); v.playbackRate = parseFloat(t);;A simple Nginx Load Balancer implemented with 3 Nginx docker containers.
This repo contains a simple web app demonstrating how GitHub OAuth App work in Web Flow.
The web server is written in Flask.
Make sure flask server is installed.
Device Flow is for apps that cannot access a browser, such as a CLI app.
app.py is an python CLI console app that demonstrates how to do Device Flow OAuth.
To run it, you have to register a GitHub OAuth App.
Install openvpn3 from this website.
If you look at the man page of openvpn3, there are 2 main concepts:
Suppose you have a configuration file called vpn.ovpn that’s connecting to a server in New York.
| package main | |
| import ( | |
| "encoding/hex" | |
| "fmt" | |
| "net" | |
| "strings" | |
| ) | |
| func main() { |
Obtain an SSL certificate, https://zerossl.com/ is an option.
Get the following 3 files