sudo apt-get update
sudo apt-get install -y qemu-user-static
Discover gists
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
# Save this to your ~/.bash_aliases file or ~/.bashrc directly | |
alias add-monitor="xrandr --setmonitor screenshare 1920/1x1080/1+0+1080 none" | |
alias remove-monitor="xrandr --delmonitor screenshare" |
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
using System; | |
namespace _11._02._2025 | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
int[] numbers = new int[10] { 3, 5, 1, 2, 8, 6, 4, 9, 7, 0}; |
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
--- | |
- block: | |
- block: | |
- name: stat check /etc/yum/pluginconf.d/priorities.conf | |
stat: | |
path: /etc/yum/pluginconf.d/priorities.conf | |
register: priorities_conf | |
- debug: | |
msg: "{{ priorities_conf.stat.exists }}" | |
- name: Amazon Linux 2018.03 amzn1 - disable plugin priorities |
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
$% Macrium Reflect Licensed |
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
/** | |
* Clone value deeply, ignore custom classes, symbols and functions | |
* @param value | |
* @return cloneOfValue | |
*/ | |
export function deepClone<T>(value: T): T { | |
if (typeof value !== 'object' || !value) { | |
return value; | |
} |
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
from __future__ import annotations | |
from typing import TypeAlias | |
BaseTy = str | int | float | bool | None | |
GenericJsonTy: TypeAlias = dict[str, GenericJsonTy] | list[GenericJsonTy] | BaseTy | |
simple_value: GenericJsonTy = 123 | |
complex_test: GenericJsonTy = { |
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
Log uploaded on Tuesday, February 11, 2025, 7:28:25 PM | |
Loaded mods: | |
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1) | |
Core(Ludeon.RimWorld): (no assemblies) | |
Level Up!(Krafs.LevelUp): LevelUp(1.0.0) | |
HugsLib(UnlimitedHugs.HugsLib)[ov:11.0.4]: 0Harmony(av:2.3.3,fv:1.2.0.1), HugsLib(av:1.0.0,fv:11.0.4) | |
Damage Indicators [1.5](CaesarV6.DamageIndicators): DamageMotes(1.0.0) | |
CM Color Coded Mood Bar [1.1+](CrashM.ColorCodedMoodBar.11): 0Harmony(av:2.3.3,fv:2.1.1), 1SettingsHelper(av:1.3.0.36972,fv:1.3.0), CMColoredMoodBar(1.5.4062.1) | |
Camera+(brrainz.cameraplus)[mv:3.2.0.0]: CameraPlus(3.2.0), CrossPromotion(1.1.2) | |
Better Pawn Control(VouLT.BetterPawnControl)[ov:2.7.6]: BetterPawnControl(2.7.4) |
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
// dotnet add package Z.Dapper.Plus | |
// dotnet add package Microsoft.Data.SqlClient | |
// dotnet add package CsvHelper | |
using CsvHelper; | |
using Microsoft.Data.SqlClient; | |
using Z.Dapper.Plus; | |
using System.Globalization; | |
using System.Reflection; | |
using System.Reflection.Emit; |
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
// Decompiled with JetBrains decompiler | |
// Type: CameraTech.ANPRInterface | |
// Assembly: CameraTech.net, Version=1.6.2.0, Culture=neutral, PublicKeyToken=null | |
// MVID: 0E43DE49-AB6C-4A45-B57B-72C341AA4463 | |
// Assembly location: C:\Users\AG\Desktop\FIVEM Files\CameraTech\CameraTech.net.dll | |
using CitizenFX.Core; | |
using CitizenFX.Core.UI; | |
using System; | |
using System.Drawing; |