Skip to content

Instantly share code, notes, and snippets.

View daBONDi's full-sized avatar

David Baumann daBONDi

View GitHub Profile
@daBONDi
daBONDi / error.txt
Last active April 14, 2020 13:29
st2 output test
id: 5e95b45d9bdf2a01660647c2
status: failed
parameters: None
result:
error: "u'{"values": [{"test1": "test1", "test2": 1, "datestr": "2020-04-14T13:02:21.824846"}]}' is not of type 'object'
Failed validating 'type' in schema:
{'additionalProperties': False,
'properties': {u'values': {u'items': {u'datestr': {u'type': u'string'},
u'test1': {u'type': u'string'},
156.32.34.1
126.33.4.3
@daBONDi
daBONDi / convert.ps1
Created May 29, 2021 17:51
Awesome Powershell FFMPEG Multithreading Converting Shit Script use it bam pitch
# have fun with this shit code
# Somebody already thit this better
$ffmpeg_executable_path = ".\ffmpeg-4.4-full_build\ffmpeg-4.4-full_build\bin\ffmpeg.exe"
$maximum_parallel_executions = 5
$input_folder = @(
".\input1",
".\input2"
)
$output_folder = ".\output"
@daBONDi
daBONDi / clone-display.ps1
Last active August 8, 2023 13:54
Powershell Script for Login Script on Taskschedule to Force Clone Display Configuration
# clone-display.ps1
#
# Test with CIM if there are Multiple Montiors Connected and
# try for 60 seconds to Switch Display to Clone/Presentation Mode
#
# Set WriteDebugLogEnabled to $true if for some diagnostic logging
# Register Schedule Task
# $Trigger= New-ScheduledTaskTrigger -AtLogon
# $TaskPrincipal = New-ScheduledTaskPrincipal -GroupId $((Get-LocalGroup -SID "S-1-5-32-545").name)