If you want to create a bootable USB stick for Windows (Windows 10/11 installation media) have a look at this guide.
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
const mode = 'testing'; | |
// const mode = 'enforce'; | |
const max_age = 604800; // 1 week | |
addEventListener('fetch', (event) => { | |
event.respondWith(handleRequest(event.request)); | |
}); | |
const handleRequest = async (request) => { | |
const url = new URL(request.url); |
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 | |
# helper variables to make text bold | |
bold_start=$(tput bold) | |
bold_end=$(tput sgr0) | |
while [ $# -gt 0 ]; do | |
case "$1" in | |
-c|--context) | |
CONTEXT="$2" |
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
Website assets: | |
<style> | |
.image-caption { | |
background-color: #000; | |
opacity: 0.7; | |
position: absolute; | |
width: 600px; | |
padding: 8px 10px; | |
left: 50%; |
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> | |
<head> | |
<meta charset="utf-8"> | |
<style type="text/css"> | |
iframe { | |
border: none; | |
/* Scrolling: no */ | |
overflow: hidden; | |
} |
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/bash | |
echo 'deb http://download.opensuse.org/repositories/shells:/fish:/release:/2/Debian_8.0/ /' >> /etc/apt/sources.list.d/fish.list | |
apt-get update | |
wget -qO - http://download.opensuse.org/repositories/shells:fish:release:2/Debian_8.0/Release.key | apt-key add - | |
apt-get update | |
apt-get install -y fish |
Variables in this guide:
<SERVER_HOSTNAME> = servers hostname or IP address
<SERVER_SHORTNAME> = an abbreviation/short name for the server
<SERVER_USERNAME> = the admins username on the server (not root)
<FIRST_NAME> = admins first name
<LAST_NAME> = admins last name
= admins email address
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
/* | |
Keyboard LED control for AutoHotkey_L | |
http://www.autohotkey.com/forum/viewtopic.php?p=468000#468000 | |
KeyboardLED(LEDvalue, "Cmd", Kbd) | |
LEDvalue - ScrollLock=1, NumLock=2, CapsLock=4 | |
Cmd - on/off/switch | |
Kbd - index of keyboard (probably 0 or 2) try 0 to 5 |
##This is a guide to install HabitRPG on an Uberspace.
###Installation
First you have to create a folder which is accessable from the web (e.g. habitrpg.yourdomain.com) and then move to it. In this folder execute
git clone https://github.com/HabitRPG/habitrpg.git .
After that, you have to download some dependencies with:
NewerOlder