-
Backup the wiki
$ cp -R /srv/http/my-wiki /srv/http/beta-my-wiki
-
Extract the new MediaWiki over the new site
$ tar xf mediawiki-1.36.2.tar.gz
This file contains hidden or 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
FROM jetbrains/teamcity-agent:2021.2-linux-sudo | |
ARG dockerLinuxComponentVersion='5:20.10.10~3-0~ubuntu' | |
USER root | |
RUN apt-get update && \ | |
apt-get install -y docker-ce=${dockerLinuxComponentVersion}-$(lsb_release -cs) \ | |
docker-ce-cli=${dockerLinuxComponentVersion}-$(lsb_release -cs) |
This file contains hidden or 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
using Godot; | |
public class Player : KinematicBody | |
{ | |
[Export] public float Speed = 7.0f; | |
[Export] public float JumpStrength = 20.0f; | |
[Export] public float Gravity = 50.0f; | |
private Vector3 _velocity = Vector3.Zero; | |
private Vector3 _snapVector = Vector3.Down; |
This file contains hidden or 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 | |
DNS_NAME="" | |
ZONE_ID="" | |
API_TOKEN="" | |
DNS_RECORD_ID="" | |
log-to-file() { | |
TIMESTAMP=$(TZ="America/Boise" date --iso-8601="seconds") | |
echo "[$TIMESTAMP] $1" >> update-dns-ip.log |
This file contains hidden or 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
// See https://aka.ms/new-console-template for more information | |
using System.Collections.Specialized; | |
using System.Net.Http.Headers; | |
using System.Text; | |
using System.Text.RegularExpressions; | |
using System.Web; | |
string homeFolder = "/home/rekyuu"; | |
string genshinPrefix = $"{homeFolder}/wineprefixes/genshin-impact"; |
This file contains hidden or 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
# ~/.zshrc | |
# Exports | |
. ~/.zprofile | |
# Keybinds |
This file contains hidden or 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 | |
function get-sway-window-id() { | |
swaymsg -t get_tree | jq ".. | select(.type?) | select(.pid==$1).id" | |
} | |
function slurp-custom() { | |
slurp -b "#00000075" -c "#FF0000FF" | |
} |
This file contains hidden or 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
{ | |
# https://nixos.wiki/wiki/Rust | |
description = "Tauri test on NixOS"; | |
inputs = { | |
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; | |
flake-utils.url = "github:numtide/flake-utils"; | |
}; | |
outputs = { self, nixpkgs, flake-utils, ... }: |
OlderNewer