Setup docs for Hetzner AX41-NVMe dedicated server (AMD Ryzen 5 3600, 64 GiB RAM, 2x 512 GB NVMe).
export HETZNERIP="your ip address"Order: B20260219-3371017-2946215 (19 Feb 2026) Server: AX41-NVMe #2855249, Helsinki (eu-west)
| import React, { useEffect, useState, useRef, useReducer } from "react"; | |
| import { Link } from "react-router-dom"; | |
| export const Test = () => { | |
| const [input, setInput] = useState("world"); | |
| const [data, refetch] = useGrpcRequest(myRequest, { name: "init" }, []); | |
| // useEffect(() => console.clear(), []); | |
| const handleOnClick = () => { |
Ansible has various ways of looking up data from outside sources, including plain text password files, CSV files and INI files. But it doesn't seem to have a lookup for .env files, as used in Laravel projects, also available for PHP, Ruby, Node.js, Python and others.
One option is to launch Ansible with the Ruby dotenv command line script... But that requires Ruby, which seems like overkill to me.
So here is a simpler solution that I use. It consists of:
.env file itself.env file into environment variables - ansible-playbook.sh| translate([0,0,0]) sector(30, 20, 10, 90); | |
| translate([22,0,0]) sector(30, 20, 300, 30); | |
| translate([0,22,0]) sector(30, 20, 30, 300); | |
| translate([22,22,0]) sector(30, 20, 10, 190); | |
| module sector(h, d, a1, a2) { | |
| if (a2 - a1 > 180) { | |
| difference() { | |
| cylinder(h=h, d=d); | |
| translate([0,0,-0.5]) sector(h+1, d+1, a2-360, a1); |
| #!/bin/bash | |
| # This script should be located on each Jenkins slave, and the jenkins user should have permission to run it with sudo | |
| # Attempts to cleanly stop and remove all containers, volumes and images. | |
| docker ps -q | xargs --no-run-if-empty docker stop | |
| docker ps -q -a | xargs --no-run-if-empty docker rm --force --volumes | |
| docker volume ls -q | xargs --no-run-if-empty docker volume rm | |
| docker images -a -q | xargs --no-run-if-empty docker rmi -f | |
| # Stops the docker service, unmounts all docker-related mounts, removes the entire docker directory, and starts docker again. |
| <?php | |
| namespace App\Exceptions; | |
| use Exception; | |
| use Illuminate\Validation\ValidationException; | |
| use Illuminate\Auth\Access\AuthorizationException; | |
| use Illuminate\Database\Eloquent\ModelNotFoundException; | |
| use Symfony\Component\HttpKernel\Exception\HttpException; | |
| use Laravel\Lumen\Exceptions\Handler as ExceptionHandler; |
| # | |
| # INPUT - Logstash listens on port 8514 for these logs. | |
| # | |
| input { | |
| udp { | |
| port => "8514" | |
| type => "syslog-cisco" | |
| } | |
| node { | |
| echo 'Results included as an inline comment exactly how they are returned as of Jenkins 2.121, with $BUILD_NUMBER = 1' | |
| echo 'No quotes, pipeline command in single quotes' | |
| sh 'echo $BUILD_NUMBER' // 1 | |
| echo 'Double quotes are silently dropped' | |
| sh 'echo "$BUILD_NUMBER"' // 1 | |
| echo 'Even escaped with a single backslash they are dropped' | |
| sh 'echo \"$BUILD_NUMBER\"' // 1 | |
| echo 'Using two backslashes, the quotes are preserved' | |
| sh 'echo \\"$BUILD_NUMBER\\"' // "1" |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # | |
| # This program is distributed in the hope that it will be useful, | |
| # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| # GNU General Public License for more details. | |
| # |
| #include "ofMain.h" | |
| #include "ofxTiming.h" | |
| class ofApp : public ofBaseApp { | |
| public: | |
| ofVideoGrabber grabber; | |
| DelayTimer delay; | |
| ofTrueTypeFont font; | |
| string description; | |