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
{ | |
"version": "0.5.1", | |
"description": "Keep your computer awake", | |
"homepage": "https://github.com/segevfiner/keepawake-rs", | |
"license": "MIT", | |
"architecture": { | |
"64bit": { | |
"url": "https://github.com/segevfiner/keepawake-rs/releases/download/v0.5.1/keepawake-v0.5.1-x86_64-pc-windows-msvc.tar.gz", | |
"hash": "e2aa1dc828643af0022795fe1f5078688e6a29b815e7b50d4051342035d7b31d", | |
"extract_dir": "keepawake-v0.5.1-x86_64-pc-windows-msvc" |
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 | |
set -ex | |
project_id=$(sed -nr 's/project_id[[:space:]]*=[[:space:]]*"([^"]+)"/\1/p' supabase/config.toml) | |
major_version=$(sed -nr 's/major_version[[:space:]]*=[[:space:]]*([[:digit:]]+)/\1/p' supabase/config.toml) | |
docker exec -i supabase_db_$project_id bash <<EOF | |
set -x | |
/usr/share/postgresql-common/pgdg/apt.postgresql.org.sh |
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
#!/usr/bin/env python3 | |
# /// script | |
# requires-python = ">=3.11" | |
# dependencies = [ | |
# "pysdl2", | |
# "pysdl2-dll", | |
# ] | |
# /// | |
""" | |
Old versions of SDL2 used to turn on the Switch Pro Controller home LED, which is often |
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
import type { Plugin } from 'vue'; | |
import { setupDevtoolsPlugin } from '@vue/devtools-api'; | |
import { Editor } from '@tiptap/core'; | |
declare const __VUE_PROD_DEVTOOLS__: boolean | undefined; | |
const STATE_TYPE = 'Tiptap'; | |
interface TiptapVueDevtoolsMarker { | |
__TIPTAP_VUE_DEVTOOLS_REGISTERED__?: boolean; |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers] | |
"C:\\Program Files (x86)\\Steam\\steamapps\\common\\Super Motherload\\supermotherloadGL.exe"="~ HIGHDPIAWARE" | |
"C:\\Program Files (x86)\\Steam\\steamapps\\common\\Super Motherload\\supermotherloadD3D11.exe"="~ HIGHDPIAWARE" | |
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
#!/usr/bin/env python3 | |
""" | |
Dump an .lnk file. | |
""" | |
import sys | |
import argparse | |
from pprint import pprint | |
from win32com.shell import shell, shellcon # type: ignore | |
from win32com.propsys import propsys # type: ignore |
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
<# | |
.SYNOPSIS | |
Refresh the Windows environment variables from the registry. | |
.DESCRIPTION | |
Refresh the Windows environment variables from the registry. | |
.INPUTS | |
None. |
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
<# | |
.SYNOPSIS | |
Refresh the Windows icon cache. | |
.DESCRIPTION | |
Refresh the Windows icon cache. Some versions of Windows had the icon cache become corrupted occasionally, | |
showing the wrong icon for programs. This script will fix it by requesting that it be rebuilt. | |
.INPUTS | |
None. |