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
open Printf | |
open Lwt.Syntax | |
let show_option o = Option.value ~default:"<none>" o | |
let create_random_large_value size = | |
let chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" in | |
let chars_len = String.length chars in | |
let result = Bytes.create size in | |
for i = 0 to size - 1 do |
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
------------------------------------- | |
Translated Report (Full Report Below) | |
------------------------------------- | |
Process: bluetoothd [65829] | |
Path: /usr/sbin/bluetoothd | |
Identifier: bluetoothd | |
Version: ??? | |
Code Type: ARM-64 (Native) | |
Parent Process: launchd [1] |
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
winget install -e --id Armin2208.WindowsAutoNightMode | |
winget install -e --id AutoHotkey.AutoHotkey | |
winget install -e --id Discord.Discord | |
winget install -e --id EpicGames.EpicGamesLauncher | |
winget install -e --id Git.Git | |
winget install -e --id GitHub.cli | |
winget install -e --id GitHub.GitHubDesktop | |
winget install -e --id Google.Chrome | |
winget install -e --id icsharpcode.ILSpy | |
winget install -e --id IPFS.IPFS-Desktop |
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
use AppleScript version "2.4" -- Yosemite (10.10) or later | |
use scripting additions | |
-- BrowserHereHelper.applescript: | |
-- v2, by <https://github.com/@ELLIOTTCABLE> | |
-- Instructions and current version: | |
-- <https://gist.github.com/ELLIOTTCABLE/b25c6fea41f74ab6e38c5ee8dc744411> | |
-- ---- ---- ---- -- |
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 Sunday, October 9, 2022, 3:51:05 PM | |
Loaded mods: | |
Harmony(brrainz.harmony)[mv:1.5.0.0]: 0Harmony(2.2.2), HarmonyMod(1.5.0) | |
BetterLoading(me.samboycoding.betterloading)[mv:3.3.0.0]: 0Harmony(av:2.2.2,fv:2.1.0), BetterLoading(2.3.0), Tomlet(3.1.3) | |
Visual Exceptions(brrainz.visualexceptions)[mv:1.1.1.0]: 0Harmony(av:2.2.2,fv:2.1.1), CrossPromotion(1.0.0), VisualExceptions(1.1.1) | |
Core(Ludeon.RimWorld): (no assemblies) | |
Royalty(Ludeon.RimWorld.Royalty): (no assemblies) | |
Ideology(Ludeon.RimWorld.Ideology): (no assemblies) | |
HugsLib(UnlimitedHugs.HugsLib)[ov:9.0.1]: 0Harmony(av:2.2.2,fv:1.2.0.1), HugsLib(av:1.0.0,fv:9.0.1) | |
Cherry Picker (dev)(Owlchemist.CherryPicker): CherryPicker(av:0.32.4,fv:0.32.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
<?xml version="1.0" encoding="utf-8"?> | |
<ModsConfigData> | |
<version>1.3.3389 rev40</version> | |
<activeMods> | |
<li>brrainz.harmony</li> | |
<li>me.samboycoding.betterloading</li> | |
<li>brrainz.visualexceptions</li> | |
<li>ludeon.rimworld</li> | |
<li>ludeon.rimworld.royalty</li> | |
<li>ludeon.rimworld.ideology</li> |
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
(* Compact *) | |
List.iter (add_event (fun x -> x.read <- true)) in_fds | |
(* Less-compact *) | |
let set_as_read x = x.read <- true in | |
List.iter (add_event set_as_read) in_fds | |
(* Least-compact *) | |
let set_as_read x = x.read <- true in | |
let add_setread_event_for_single_item item = add_event set_as_read item in |
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 | |
APP=$1 | |
# This script is intended to temporarily bypass the "blank screen" bug in Anki on unsupported(?) | |
# GPUs (Dec 2021): <https://forums.ankiweb.net/t/anki-opens-but-all-windows-are-blank/8920/16> | |
# | |
# Adapted from a similar script by @ahihi for an app called "SuperCollider" that also uses qt on | |
# macOS: <https://github.com/supercollider/supercollider/issues/4136#issuecomment-605447703> | |
if [ -z "$APP" ]; then |
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
/* Hide horizontal tabs at the top of the window #1349, #1672, #2147 */ | |
#main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar > .toolbar-items { | |
opacity: 0; | |
pointer-events: none; | |
} | |
#main-window:not([tabsintitlebar="true"]) #TabsToolbar { | |
visibility: collapse !important; | |
} | |
#TabsToolbar .titlebar-spacer { | |
border-inline-end: none !important; |
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
" #### Startify | |
augroup update-startify | augroup | |
function! s:restartify() abort | |
echom 'restartify' | |
call s:startify_dirmode() | |
Startify | |
endfunction | |
function! s:startify_dirmode() abort |
NewerOlder