git clone https://github.com/strace/strace
cd strace
./bootstrap
export LDFLAGS='-static -pthread'
./configure
make
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
sed -Ee 's/^([0-9.]+)$/\1.-1/' | sort -t. -n -k1,1 -k2,2 -k3,3 -k4,4 | rev | cut -d. -f2- | rev |
This convenient bookmarklet automatically adjusts an SVG file loaded directly in the browser to be centered in a square viewBox, adds a configurable margin around the content, and initiates a quick download of the modified SVG.
- Open a standalone SVG file directly in your browser.
- Click the bookmarklet.
- When prompted, enter your desired margin in pixels.
- The modified SVG will be downloaded automatically, named after your original file.
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/sh | |
set -e | |
# Function to display usage information | |
usage() { | |
echo "Helm Chart Comparison Tool" | |
echo | |
echo "This script compares two Helm charts from various sources (local, tarball, Git, OCI)." | |
echo |
- Git Bash from https://gitforwindows.org/
- (initialized) miniforge3 from https://conda-forge.org/download/
- Gstreamer MSVC "runtime" and "development" packages from https://gstreamer.freedesktop.org/download/#windows
- Set
C:\gstreamer\1.0\msvc_x86_64
to$GSTREAMER_DIR
- Add
C:\gstreamer\1.0\msvc_x86_64\bin
to$PATH
- Add
C:\gstreamer\1.0\msvc_x86_64\lib
to$PATH
- Set
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
function loadResource(type, sources) { | |
let index = 0; | |
function tryLoad() { | |
if (index >= sources.length) { | |
console.error(`${type.toUpperCase()} load failed.`); | |
return; | |
} | |
let el = type === 'js' ? document.createElement('script') : document.createElement('link'); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
/* Apply custom scrollbar styles */ | |
#content-list::-webkit-scrollbar { | |
width: 6px; /* Width of the scrollbar */ | |
} | |
#content-list::-webkit-scrollbar-thumb { | |
background-color: rgba(255, 255, 255, 0.3); /* Color of the scrollbar thumb */ | |
border-radius: 3px; /* Round edges for the scrollbar */ | |
} |
NewerOlder