Skip to content

Instantly share code, notes, and snippets.

View IPlayZed's full-sized avatar
:octocat:
Dₒᵢₙg ₛₒₘₑₜₕᵢₙg ₍ₚᵣₒbₐbₗy₎.

Börcsök Balázs Róbert IPlayZed

:octocat:
Dₒᵢₙg ₛₒₘₑₜₕᵢₙg ₍ₚᵣₒbₐbₗy₎.
View GitHub Profile
#!/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.
@IPlayZed
IPlayZed / runtimeinfo.txt
Created September 24, 2023 18:05
Assassin's Creed: Director's Cut crashes upon launch steam runtime information
"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" : [
@IPlayZed
IPlayZed / gist:cfdf14891016b917aaea750746ca7f56
Created September 24, 2023 18:01
Assassin's Creed: Director's Cut crashes upon launch system information
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
@IPlayZed
IPlayZed / steam-15100.log
Created September 24, 2023 18:00
Assassin's Creed: Director's Cut crashes upon launch log
======================
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
@IPlayZed
IPlayZed / heic-to-jpg.sh
Created January 28, 2023 18:42
Script to convert HEIC images to JPG images. It also deletes the original HEIC images.
#!/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"
@IPlayZed
IPlayZed / clrprintspooler.bat
Last active January 28, 2023 16:26
Clear Window's print spooler
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
@IPlayZed
IPlayZed / deskew.py
Last active January 28, 2023 18:43 — forked from russss/deskew.py
Automatic scanned image rotation/deskew with OpenCV
#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
@IPlayZed
IPlayZed / logarithmicIntervalN.m
Created October 16, 2020 18:06
MATLAB function for creating logarithmically spaced row vector, with given length, between given numbers.
%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;