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
#!/usr/bin/env bash | |
############################################################################### | |
#The MIT License (MIT) | |
#Copyright © 2024 <Börcsök Balázs Róbert, Everbridge EMEA> | |
#Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
#The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. |
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
"LD_* scout runtime" information: | |
{ | |
"can-write-uinput" : true, | |
"steam-installation" : { | |
"path" : "/home/gaming/.var/app/com.valvesoftware.Steam/.local/share/Steam", | |
"data_path" : "/home/gaming/.var/app/com.valvesoftware.Steam/.local/share/Steam", | |
"bin32_path" : "/home/gaming/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32", | |
"steamscript_path" : "/app/lib/steam/bin_steam.sh", | |
"steamscript_version" : "1.0.0.78", | |
"issues" : [ |
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
Computer Information: | |
Manufacturer: ASUSTeK COMPUTER INC. | |
Model: ROG STRIX B550-A GAMING | |
Form Factor: Desktop | |
No Touch Input Detected | |
Processor Information: | |
CPU Vendor: AuthenticAMD | |
CPU Brand: AMD Ryzen 9 5950X 16-Core Processor | |
CPU Family: 0x19 |
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
====================== | |
Proton: 1694112709 experimental-8.0-20230907 | |
SteamGameId: 15100 | |
Command: ['/home/gaming/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Assassins Creed/AssassinsCreed_Game.exe'] | |
Options: {'forcelgadd'} | |
depot: 0.20230905.59202 | |
pressure-vessel: 0.20230905.0 scout | |
scripts: 0.20230905.0 | |
sniper: 0.20230905.59202 sniper 0.20230905.59202 | |
Kernel: Linux 6.5.4-zen2-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Thu, 21 Sep 2023 12:54:31 +0000 x86_64 |
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
#!/bin/bash | |
#Written by Balázs Börcsök. | |
#Licensed under GNU GPL v2: https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html | |
find . -type f -iname \*.heic | while read -r file | |
do | |
echo "Converting $file" | |
convert "$file" "${file%.heic}.jpg" | |
echo "Deleting $file" |
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
rem Written by Balázs Börcsök. | |
rem Licensed under GNU GPL v2: https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html | |
echo stopping print spooler | |
echo | |
net stop spooler | |
echo erasing temp junk printer docs | |
echo | |
del /Q /F /S "%systemroot%\System32\Spool\Printers\*.* | |
echo starting print spooler |
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
#Forked by Balázs Börcsök. | |
#Licensed under GNU GPL v2: https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html | |
import cv2 | |
import numpy as np | |
def deskew(im, max_skew=10): | |
height, width = im.shape | |
# Create a grayscale image and denoise it |
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
%Written by Balázs Börcsök, as of 12/10/2020. | |
%Licensed under GNU GPL v2: https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html | |
function generatedArray=logarithmicIntervalN(low,high,N) | |
lowLog=log10(low); | |
highLog=log10(high); | |
step=(highLog-lowLog)/N; | |
exponentArray=lowLog:step:highLog; | |
[~,expArraySize]=size(exponentArray); | |
logarithmicSizedArray=(ones(1,expArraySize).*10).^exponentArray; |