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
| { | |
| "version": 8, | |
| "metadata": {"maputnik:renderer": "mbgljs"}, | |
| "sources": { | |
| "ne2_shaded": { | |
| "maxzoom": 6, | |
| "tileSize": 256, | |
| "tiles": [ | |
| "https://tiles.openfreemap.org/natural_earth/ne2sr/{z}/{x}/{y}.png" | |
| ], |
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
| { | |
| "version": 8, | |
| "name": "OSM Liberty", | |
| "metadata": { | |
| "maputnik:license": "https://github.com/maputnik/osm-liberty/blob/gh-pages/LICENSE.md", | |
| "maputnik:renderer": "mbgljs", | |
| "openmaptiles:version": "3.x" | |
| }, | |
| "sources": { | |
| "openmaptiles": { |
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
| // Orchid by uxieq. | |
| // Requires https://github.com/sicista33/waybar-scrolling-mpris. | |
| // Intended to be used in https://github.com/JaKooLit/Hyprland-Dots. | |
| { | |
| "include": [ | |
| "$HOME/.config/waybar/Modules", | |
| "$HOME/.config/waybar/ModulesWorkspaces", | |
| "$HOME/.config/waybar/ModulesCustom", |
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
| interface CharacterMessage { | |
| message: string; | |
| user: string; | |
| } | |
| export default [ | |
| { message: "Pikachu, use Thunderbolt!", user: "ash_k" }, | |
| { message: "I need more potions before the next battle.", user: "brock_b" }, | |
| { message: "Look at all the Magikarp flopping around!", user: "misty_w" }, | |
| { message: "I just caught a rare Gyarados!", user: "ash_k" }, |
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 | |
| # Generate a CMAF streamable HLS/DASH manifest from any audio file. | |
| # You will need FFmpeg and Bento4 in your PATH. | |
| # Get binaries here: https://ffmpeg.org https://www.bento4.com/ | |
| # array of kbps to transcode to opus to mp4 | |
| # use below as a 'magic number' to use FLAC instead of Opus | |
| magic_number=1000 |
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
| import React, { | |
| memo, | |
| useEffect, | |
| useCallback, | |
| useRef, | |
| useState, | |
| CSSProperties, | |
| } from "react"; | |
| export interface AnimatedCounterProps { |
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
| import clsx from "clsx"; | |
| import React, { CSSProperties, useEffect, useRef, useState } from "react"; | |
| interface ScrollingTextProps { | |
| /// Any other class names you need to put inside this component | |
| className?: string; | |
| /// The text (or component) to put inside. It should be inline. | |
| text?: React.ReactNode; | |
| /// Width on either side to fade in px, if the text wraps around | |
| fadeWidth?: number; |
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 | |
| # Variables | |
| BASE_URL="https://johnvansickle.com/ffmpeg/builds" | |
| # 'git' or 'release' | |
| FF_VERSION="git" | |
| # See John's website for supported arches: https://johnvansickle.com/ffmpeg/ | |
| FF_ARCH='amd64' | |
| DOWNLOAD_DIR="$HOME/ffmpeg" | |
| FFMPEG_ARCHIVE="ffmpeg-$FF_VERSION-$FF_ARCH-static.tar.xz" |
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
| $content = Get-Content -Path "$env:APPDATA\sunshineres-resolution.txt"; | |
| $height = ($content | Select-String 'h:').ToString() -replace '\D+', ''; | |
| $width = ($content | Select-String 'w:').ToString() -replace '\D+', ''; | |
| $fps = ($content | Select-String 'f:').ToString() -replace '\D+', ''; | |
| # for debug | |
| echo "qres /x:$width /y:$height /r:$fps" | Out-File -FilePath "$env:APPDATA\sunshineres-latest-rev-dbg.txt"; | |
| qres /x:$width /y:$height /r:$fps |
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
| [0m[1;37m .-/+oossssoo+\-. | |
| `:+ssssssssssssssssss+:` | |
| -+ssssssssssssssssssyyssss+- | |
| .ossssssssssssssssss[0m[1;31mdMMMNy[0m[1;37msssso. | |
| /sssssssssss[0m[1;31mhdmmNNmmyNMMMMh[0m[1;37mssssss\ | |
| +sssssssss[0m[1;31mhm[0m[1;37myd[0m[1;31mMMMMMMMNddddy[0m[1;37mssssssss+ | |
| /ssssssss[0m[1;31mhNMMM[0m[1;37myh[0m[1;31mhyyyyhmNMMMNh[0m[1;37mssssssss\ | |
| .ssssssss[0m[1;31mdMMMNh[0m[1;37mssssssssss[0m[1;31mhNMMMd[0m[1;37mssssssss. | |
| +ssss[0m[1;31mhhhyNMMNy[0m[1;37mssssssssssss[0m[1;31myNMMMy[0m[1;37msssssss+ | |
| oss[0m[1;31myNMMMNyMMh[0m[1;37mssssssssssssss[0m[1;31mhmmmh[0m[1;37mssssssso |
NewerOlder