uses steamcmd
. Yes we know. it sucks. cry me a river.
- you need
jq
andsteamcmd
- you need an api key: https://steamcommunity.com/dev/apikey
To download mods in a collection
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 | |
set -e | |
# list all processes using cuda | |
# output: PID, process name | |
function get_cuda_processes { | |
# run nvisia-smi to get the process id and name | |
# output is a bunch of lines in csv format that looks like: | |
# 1234, process_name |
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
export {}; | |
type RouteConfig = { | |
pathname: string; | |
redirect?: { | |
pathname: string; | |
}; | |
}; | |
type ExtractPathnames<Routes extends Record<string, RouteConfig>> = { |
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
# | |
# ~/Documents/Powershell/Microsoft.PowerShell_profile.ps1 | |
# | |
# get reference to the profile file dir | |
$HEREDIR = Split-Path -Parent $MyInvocation.MyCommand.Path | |
# add this directory/bin | |
$env:PATH += ";${HEREDIR}\bin" |
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
source_url "https://raw.githubusercontent.com/cachix/devenv/d1f7b48e35e6dee421cfd0f51481d17f77586997/direnvrc" "sha256-YBzqskFZxmNb3kYVoKD9ZixoPXJh1C9ZvTLGFRkauZ0=" | |
use devenv |
Regular Markdown here.
![[firstDiagram.png]]
@startuml firstDiagram
Alice -> Bob: Hello
Bob -> Alice: Hi!
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
// ==UserScript== | |
// @name Disable Auto Scroll | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Disable mouse middle button completely. As a result it does not activate browser auto scroll. Open hyperlink in a new tab with middle button click still works. | |
// @match *://*/* | |
// @grant none | |
// ==/UserScript== | |
(function() { |
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
# #!/usr/bin/env python3 | |
# # code: language=python3 insertSpaces=true tabSize=4 | |
# Install: | |
# - put in ~/.local/bin/slack-musi-status | |
# - chmod +x ~/.local/bin/slack-musi-status | |
# - install python 3.10.10 or better | |
# - pip install dbus-python | |
# | |
# Linux: Create a Systemd Unit |