Skip to content

Instantly share code, notes, and snippets.

num calls time self name
-----------------------------------------------------------------------------------
1) 2 73.78 36.89 19.53% 73.78 36.89 19.53% compaudit
2) 4 62.03 15.51 16.42% 61.69 15.42 16.33% :zinit-tmp-subst-bindkey
3) 1 119.54 119.54 31.63% 45.75 45.75 12.11% compinit
4) 5 190.22 38.04 50.34% 41.58 8.32 11.00% .zinit-load-plugin
5) 3 39.12 13.04 10.35% 37.29 12.43 9.87% .zinit-load-snippet
6) 1 21.41 21.41 5.67% 21.40 21.40 5.66% _zsh_highlight__function_callable_p
7) 1 86.47 86.47 22.88% 15.92 15.92 4.21% enable-fzf-tab
8) 13 13.23 1.02 3.50% 12.39 0.95 3.28% :zinit-tmp-subst-autoload
2024-08-21T14:59:16.315348311Z [migrations] started
2024-08-21T14:59:16.315676392Z [migrations] no migrations found
2024-08-21T14:59:16.331395367Z usermod: no changes
2024-08-21T14:59:16.333282853Z ───────────────────────────────────────
2024-08-21T14:59:16.333307333Z
2024-08-21T14:59:16.333310773Z ██╗ ███████╗██╗ ██████╗
2024-08-21T14:59:16.333313813Z ██║ ██╔════╝██║██╔═══██╗
2024-08-21T14:59:16.333316333Z ██║ ███████╗██║██║ ██║
2024-08-21T14:59:16.333338453Z ██║ ╚════██║██║██║ ██║
2024-08-21T14:59:16.333340773Z ███████╗███████║██║╚██████╔╝
#!/usr/bin/env bash
[[ ${1} = "upgrade" ]] && _SKIP_CONFLICT_CHECK="override"
FILEBOT_BRANCH=beta # ( stable | beta )
if [ "${FILEBOT_BRANCH}" = "stable" ]; then
DOCKERURL=ghcr.io/xd003/filebot:latest
else
DOCKERURL=ghcr.io/xd003/filebot:latest
fi
wmic MemoryChip get MemoryType, Name, Capacity, Configuredclockspeed, DeviceLocator, FormFactor, Manufacturer, Serialnumber, Speed
Traceback (most recent call last):
File "D:\wks\l3.py", line 25, in <module>
correct, keys = WV_Function(pssh, lic_url)
File "D:\wks\l3.py", line 19, in WV_Function
widevine_license = requests.post(url=lic_url, data=wvdecrypt.get_challenge(), headers=headers.headers)
AttributeError: module 'headers' has no attribute 'headers'
var mediaJSON = { "categories" : [ { "name" : "Movies",
"videos" : [
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ],
"subtitle" : "By Blender Foundation",
"thumb" : "images/BigBuckBunny.jpg",
"title" : "Big Buck Bunny"
},
{ "description" : "The first Blender Open Movie from 2006",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ],
@xd003
xd003 / selenium-setup.sh
Last active April 21, 2024 13:33
Bash Script to setup Python + Selenium + chromedriver on a Headless Chrome Browser
#!/usr/bin/env bash
echo "This script will setup webdriver of your choice for selenium and create a template script with appropriate settings"
sleep 2
echo "This Script only supports Linux 64 bit and arm64/aarch64 kernel architecture currently"
sleep 2
uname="$(uname -m)"
case $uname in
arm64|aarch64|x86_64 )