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
<?xml version="1.0" encoding="utf-8"?> | |
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<user>S-1-5-21-3145728412-1752322905-909997274-1000</user> | |
<keys> | |
<key installerType="InnoSetup" displayName="Microsoft Visual Studio Code" displayVersion="1.97.1"> | |
<RegistryView>Registry64</RegistryView> | |
<KeyPath>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{EA457B21-F73E-494C-ACAB-524FDE069978}_is1</KeyPath> | |
<DefaultValue /> | |
<InstallLocation><![CDATA[C:\Program Files\Microsoft VS Code\]]></InstallLocation> | |
<UninstallString><![CDATA["C:\Program Files\Microsoft VS Code\unins000.exe" /SILENT]]></UninstallString> |
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 { Context } from "@oak/oak"; | |
import { h } from "preact"; | |
import { render } from "preact-render-to-string"; | |
import { layoutDecorator } from "./layout.tsx"; | |
export type DecoratorFunction = (content: string) => string; | |
export function defaultDecorator(content: string): string { | |
return content; | |
} |
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
//! Dependencies | |
//! | |
//! ```toml | |
//! [dependencies] | |
//! anyhow = "1.0.95" | |
//! bytes = "1.10.0" | |
//! dotenvy = "0.15.7" | |
//! may = "0.3.49" | |
//! may_minihttp = "0.1.11" | |
//! postgres = "0.19.10" |
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 'tailwindcss'; | |
@theme { | |
--breakpoint-sm: 768px; | |
--breakpoint-md: 992px; | |
--breakpoint-lg: 1200px; | |
--breakpoint-xl: 1450px; | |
/** Custom fonts will need to be imported **/ | |
--font-display: "Poppins", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; |
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
/mvnw text eol=lf | |
*.cmd text eol=crlf |
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 shutil | |
from pathlib import Path | |
import logging | |
import re | |
import subprocess | |
skip_patterns = [ | |
r'.*\.pyc$', | |
r'.*__pycache__.*', | |
r'.*assets.*', |
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
[0 mosu@sweet-chili ~/tmp] tracepath -6 accounts.hetzner.com | |
1?: [LOCALHOST] 0.017ms pmtu 1500 | |
1: _gateway 0.205ms | |
1: _gateway 0.053ms | |
2: _gateway 0.058ms pmtu 1492 | |
2: 2003:0:1701:a418::1 9.818ms | |
3: 2003:0:1701:a410::2 10.410ms | |
4: no reply | |
5: 2003:0:f00::a19 16.134ms | |
6: core12.nbg1.hetzner.com 15.641ms |
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 bash | |
# NOTE: FOR PRIVATE USE. DO NOT RE-UPLOAD DOWNLOADED VIDEOS. | |
# 1. Reveal source of video player's `<iframe id="video_iframe" ...>` to load window.dataForPlayer | |
# 2. Execute the following JS code in Developer console in the watching page of purchased video: | |
# const url = new URL(dataForPlayer.clips[0].config); | |
# url.origin + url.pathname.replace('/config', ''); | |
# // => 'https://player.vimeo.com/video/<id>' |
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"?> | |
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<files> | |
<file path="C:\ProgramData\chocolatey\lib\php\php-8.4.4-nts-Win32-vs17-x64.zip.txt" checksum="FF008886026AF809464B4D922B35A32B" /> | |
<file path="C:\ProgramData\chocolatey\lib\php\php.nupkg" checksum="3124AA642CB07120C1A7FFFF15EF7B92" /> | |
<file path="C:\ProgramData\chocolatey\lib\php\php.nuspec" checksum="042A01C92FE891DE05A2987E40FB1DD1" /> | |
<file path="C:\ProgramData\chocolatey\lib\php\legal\LICENSE.txt" checksum="60B87C09985188FD87DDBA0ED163594D" /> | |
<file path="C:\ProgramData\chocolatey\lib\php\legal\VERIFICATION.txt" checksum="A5AF28B2340D417BCE5A25E0F317566E" /> | |
<file path="C:\ProgramData\chocolatey\lib\php\tools\chocolateyInstall.ps1" checksum="6C8BE4E046144B0AADF305E5EB0B9621" /> | |
<file path="C:\ProgramData\chocolatey\lib\php\tools\chocolateyUninstall.ps1" checksum="E9621C74F2B7A5428DB231DE03EBEFD0" /> |
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 | |
# Get the current Wi-Fi interface | |
wifi_interface=$(networksetup -listallhardwareports | awk '/Wi-Fi/{getline; print $2}') | |
# Get the current connected Wi-Fi network details | |
wifi_network=$(networksetup -getairportnetwork $wifi_interface | awk -F": " '{print $2}') | |
# Get the IP address | |
ip_address=$(ipconfig getifaddr $wifi_interface) |