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
| <cir f="1" ts="0.000005" ic="38.696464541249114" cb="39" pb="50" vr="5" mts="5e-11"> | |
| <g x="160 400 160 416" f="0"/> | |
| <w x="160 352 160 320" f="0"/> | |
| <r x="160 320 160 224" f="0" r="640000"/> | |
| <r x="160 224 288 224" f="0" r="4700"/> | |
| <InvertingSchmitt x="160 320 288 320" f="0" slr="0.5" lt="3.3" ut="5.7" lon="9" loff="0"/> | |
| <w x="288 320 288 224" f="0"/> | |
| <w x="288 224 336 224" f="0"/> | |
| <g x="336 320 336 352" f="0"/> | |
| <pt x="336 320 336 224" f="1" ma="1000" po="0.5693" sl="lfo att"/> |
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
| <meta charset="utf-8" /> | |
| <title>IMAX Atlas — Global Screen Directory</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" /> | |
| <style> | |
| :root { | |
| --bg: #0b0d12; | |
| --panel: #14171f; | |
| --panel-2: #191d27; | |
| --land: #1e2330; |
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 | |
| import asyncio | |
| import argparse | |
| from aioslsk.client import SoulSeekClient | |
| from aioslsk.settings import Settings, CredentialsSettings | |
| from aioslsk.events import SearchRequestReceivedEvent, SearchRequestSentEvent | |
| async def main(): | |
| ap = argparse.ArgumentParser(description="Dump distributed search requests (Soulseek)") | |
| ap.add_argument("-u", "--username", required=True) |
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 bash | |
| set -euo pipefail | |
| shopt -s nullglob | |
| for f in *.wav; do | |
| echo "[*] $f" | |
| sox --clobber "$f" -C 48 -r 8000 -c 1 "${f%.wav}.mp3" \ | |
| highpass 300 lowpass 3400 \ | |
| compand 0.02,0.20 6:-80,-60,-40,-30,-20 -6 -90 0.2 \ | |
| gain -n -1 dither -s |
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 -S uv run -s | |
| # /// script | |
| # requires-python = ">=3.11" | |
| # dependencies = [ | |
| # "aiolimiter", | |
| # "httpx", | |
| # "ipython", | |
| # "tqdm", | |
| # ] | |
| # /// |
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 -S uv run -s | |
| # /// script | |
| # requires-python = ">=3.12" | |
| # dependencies = [ | |
| # "pillow", | |
| # ] | |
| # /// | |
| import argparse | |
| import struct | |
| from pathlib import Path |
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 -S uv run -s | |
| # /// script | |
| # requires-python = ">=3.11" | |
| # dependencies = [] | |
| # /// | |
| import argparse | |
| import os | |
| import subprocess | |
| import shutil |
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 bash | |
| # 1. Search for text in files using Ripgrep | |
| # 2. Interactively narrow down the list using fzf | |
| # 3. Open the file in Vim | |
| rg --color=always --line-number --no-heading --smart-case -t txt "${*:-}" | | |
| fzf --ansi \ | |
| --color "hl:-1:underline,hl+:-1:underline:reverse" \ | |
| --delimiter : \ | |
| --preview 'bat --color=always {1} --highlight-line {2}' \ |
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
| { | |
| "$schema": "https://vega.github.io/schema/vega-lite/v5.json", | |
| "height": "container", | |
| "data": { | |
| "url": "https://fullfatsearch.fly.dev/youtube.csv?sql=select%0D%0A++v.upload_date%2C%0D%0A++SUM%28%0D%0A++++%28LENGTH%28s.text%29+-+LENGTH%28REPLACE%28s.text%2C+%3Asearch%2C+%27%27%29%29%29+%2F+LENGTH%28%3Asearch%29%0D%0A++%29+AS+boludo%2C%0D%0A++s.video_id%2C%0D%0A++s.video_title%2C%0D%0A++v.video_url%0D%0Afrom%0D%0A++subtitles_with_videos+s%0D%0A++join+videos+v+on+s.video_id+%3D+v.video_id%0D%0Awhere%0D%0A++subtitle_id+in+%28%0D%0A++++select%0D%0A++++++rowid%0D%0A++++from%0D%0A++++++subtitles_fts%0D%0A++++where%0D%0A++++++subtitles_fts+match+%3Asearch%0D%0A++%29%0D%0Agroup+by%0D%0A++s.video_id%2C%0D%0A++s.video_title%2C%0D%0A++v.video_url%0D%0Aorder+by%0D%0A++v.upload_date+asc&search=boludo", | |
| "format": { | |
| "type": "csv" | |
| } | |
| }, | |
| "mark": { |
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 | |
| # battery monitor systemd suspend/resume hook | |
| LOGFILE="/var/log/battery.csv" | |
| KERNEL=$(uname -r) | |
| BIOS=$(dmidecode -s bios-version) | |
| log() { | |
| cd /sys/class/power_supply |
NewerOlder