RHEL-09-211045: Red Hat Enterprise Linux 9 Security Technical Implementation Guide :: Version 1, Release: 2 Benchmark Date: 24 Jan 2024
Updated on 2024-04-05
All fix and check commands must be run as root.
// ==UserScript== | |
// @name ItzaGud.net improvements | |
// @name:de ItzaGud.net Verbesserungen | |
// @namespace kurotaku.de | |
// @version 0.6.5 | |
// @description Some improvements for ItzaGud.net, all of them can be disabled in the config (Topbar | Bottom of mobile navbar) | |
// @description:de Einige Verbesserungen für ItzaGud.net, die alle in der Konfiguration deaktiviert werden können (Topbar | Unten in der Mobilen Navigationsleiste) | |
// @author Kurotaku | |
// @license MIT | |
// @match https://itzagud.net/* |
#!/bin/bash | |
# Install docker | |
apt-get update | |
apt-get install -y apt-transport-https ca-certificates curl software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
add-apt-repository \ | |
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \ | |
$(lsb_release -cs) \ | |
stable" | |
apt-get update |
@echo off & setlocal enableextensions | |
title Reset AnyDesk | |
reg query HKEY_USERS\S-1-5-19 >NUL || (echo Please Run as administrator.& pause >NUL&exit) | |
chcp 437 | |
call :stop_any | |
del /f "%ALLUSERSPROFILE%\AnyDesk\service.conf" | |
del /f "%APPDATA%\AnyDesk\service.conf" | |
copy /y "%APPDATA%\AnyDesk\user.conf" "%temp%\" | |
rd /s /q "%temp%\thumbnails" 2>NUL | |
xcopy /c /e /h /r /y /i /k "%APPDATA%\AnyDesk\thumbnails" "%temp%\thumbnails" |
I screwed up using git ("git checkout --" on the wrong file) and managed to delete the code I had just written... but it was still running in a process in a docker container. Here's how I got it back, using https://pypi.python.org/pypi/pyrasite/ and https://pypi.python.org/pypi/uncompyle6
apt-get update && apt-get install gdb
import * as React from "react"; | |
import { useMousePosition } from "~/hooks/useMousePosition"; | |
/** Component to cover the area between the mouse cursor and the sub-menu, to allow moving cursor to lower parts of sub-menu without the sub-menu disappearing. */ | |
export function MouseSafeArea(props: { parentRef: React.RefObject<HTMLDivElement> }) { | |
const { x = 0, y = 0, height: h = 0, width: w = 0 } = props.parentRef.current?.getBoundingClientRect() || {}; | |
const [mouseX, mouseY] = useMousePosition(); | |
const positions = { x, y, h, w, mouseX, mouseY }; | |
return ( | |
<div |
Also see the Modrinth Awesome list, and a (probably somewhat outdated) list of curse modpack downloaders at https://gist.github.com/jikuja/f44533a16ad04624c3eb8e99e7a3e494/
This list is a bit outdated in places, but I'm still adding things here so that I don't forget them.
Name | Type | Number of mods/packs | Popularity (Similarweb rank) | Official launcher | Third-party support | Open Source backend | Author rewards |
---|---|---|---|---|---|---|---|
CurseForge | Public | 31,000 mods; 38,000 modpacks | #1410 | Yes | Many | No | Yes |
Modrinth | Public | 2000 mods | #79,182 | In development | ATLauncher, packwiz, pacmc, modweaver | Yes | Planned |
# settings we’re about to change | |
osascript -e 'tell application "System Preferences" to quit' | |
# Ask for the administrator password upfront | |
sudo -v | |
# Keep-alive: update existing `sudo` time stamp until `.macos` has finished | |
while true; do | |
sudo -n true | |
sleep 60 | |
kill -0 "$$" || exit |