npm i raw-loader @nuxtjs/svg-sprite
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
# Atomic Deployment with Laravel Forge | |
# Native .env handling via Laravel Forge GUI | |
# Support for nodejs via nvm. | |
# Persistent Folders! | |
# No need for Envoyer! | |
# Installation | |
# * Update CONF_GIT_REPOSITORY to match your Git Repository. | |
# * Update persistent folders as needed. |
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
#!/bin/sh | |
# Install Hetzner Cloud Floating IP on Ubuntu 20.4 or Ubuntu 22.04 machine. | |
# https://docs.hetzner.com/de/cloud/floating-ips/persistent-configuration/ | |
# Check if the script is being run as root or with sudo privileges | |
if [ "$(id -u)" -ne 0 ]; then | |
echo "This script requires root or sudo privileges to run." | |
exit 1 | |
fi |
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
#!/usr/bin/env bash | |
set -e | |
function checkFolder() { | |
if ! [ -d "$1" ]; then | |
echo "" | |
echo "Folder not found." | |
exit 1 | |
fi |
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
<?php | |
// by Frederic Köberl - https://frederickoeberl.com - [email protected] | |
$url = 'http://wahltube.orf.at/bpw16stichwahl/hochrechnung.json'; | |
$document = @file_get_contents($url); | |
$document = json_decode($document); | |
$hofer = $document->hochrechnungen[0]->parteien[0]->stimmen; | |
$vdb = $document->hochrechnungen[0]->parteien[1]->stimmen; |