This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ----------------- | |
// Slider to switch between local/remote addresses. | |
// Allows you to change the domains of the href targets to the current domain (e.g. when using a VPN). | |
// ----------------- | |
// these domain (href) will be changed to the current browser domain | |
// prevents changing links to other services/servers which should not be changed | |
const host = "pi-server.local"; // TODO: change this | |
const updateLocation = () => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Script to check the hash of a file | |
and compare it to the reference hash. | |
Only works with SHA algorithms. | |
usage: python shacheck.py [-h] [--abs] algorithm filename ref_hash | |
positional arguments: | |
algorithm the SHA algorithm used for the hash generation (e.g. 256) | |
filename relative path of the file to check the ref_hash with |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<!-- Required meta tags --> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<!-- fonts --> | |
<link href="https://fonts.googleapis.com/css?family=Montserrat:100,200,300,700" rel="stylesheet"> | |
<link href="https://fonts.googleapis.com/css?family=Fira+Code" rel="stylesheet"> |