pip install uv
uv pip install ruff
With the announcement of an xy exploit, some links to potential security tools.
From a thread on Rust replacements for common utilities https://twitter.com/MilesCranmer
Linux Kernel https://git.kernel.org/pub/scm/linux/kernel/
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
# Dependabot Cli | |
https://github.com/dependabot/cli | |
```shell | |
go install github.com/dependabot/cli/cmd/dependabot@latest | |
``` |
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
# https://docs.databricks.com/en/optimizations/aqe.html#configuration | |
# disable | |
# spark.databricks.optimizer.adaptive.enabled false | |
# default | |
spark.databricks.optimizer.adaptive.enabled true | |
# default number of partitions to use for shuffling data for joins or aggs | |
# for small files, set a lower shuffle number | |
# default |
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
# Define a window specification that partitions by date and orders by time | |
window_spec = Window.partitionBy("date").orderBy("time") | |
# Define a column that calculates the maximum value in a 30 minute window for each row | |
max_value = F.max("value").over(window_spec.rangeBetween(-1800, 0)) | |
# Define a column that calculates the maximum value for each month | |
month_max = F.max("value").over(window_spec.rowsBetween(Window.unboundedPreceding, Window.unboundedFollowing)) |
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
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2 | |
# winget configure -f <C:/Users/<username>/winget-configs/config-file-name.dsc.yaml> | |
properties: | |
# assertions: | |
# - resource: Microsoft.Windows.Developer/OsVersion | |
# directives: | |
# description: Verify min OS version requirement | |
# allowPrerelease: true | |
# settings: | |
# MinVersion: '10.0.22000' |
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
@echo off | |
REM spleeter to convert to wav with 4 stems, convert to mp3 with minimal loss. | |
spleeter separate -p spleeter:4stems -o output %1 | |
SET _file=%1 | |
SET _folder=%_file:.mp3=% | |
SET _folder=%_folder:"=% | |
ECHO %_folder% | |
ffmpeg -vn -ar 44100 -ac 2 -b:a 192k "output\%_folder%\vocals.mp3" -i "output\%_folder%\vocals.wav" | |
ffmpeg -vn -ar 44100 -ac 2 -b:a 192k "output\%_folder%\bass.mp3" -i "output\%_folder%\bass.wav" | |
ffmpeg -vn -ar 44100 -ac 2 -b:a 192k "output\%_folder%\drums.mp3" -i "output\%_folder%\drums.wav" |
NewerOlder