type: PIN
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
type: PIN
Consumer key: IQKbtAYlXLripLGPWd0HUA
In my use case I HAD to implement an 8 character password for my WiFi network. However, this was not accepted since Ziggo modems require you to have at least 10 characters as a password.
I fixed that :)
In the sourcecode of the WebUI it's easy to spot where the strength validation is happening. By simply disabling the return statements (Therefore just ignoring the errors) we can force the modem to accept the new password even though it does not meet the required limits.
Small mini application for recording BOTH the video and audio stream of a Foscam IP camera.
camera.service
to /etc/systemd/system/camera.servicerecord.sh
to a place you prefer.sudo systemctl daemon-reload
sudo systemctl start camera.service
A small snippet that crops screenshots from social media platforms like Instagram to only contain the picture. This is done by looking for the first row / column on the top / bottom / top / left of the screen (Starting from the center) where all pixels are the same color. This -usually- marks the end of a picture.
This tool is NOT perfect and compression algorithms like JPEG might mess up the working of this tool. It's more of a "Best guess" method.
python -m pip install Pillow
/* ************************************************************************** */ | |
/* */ | |
/* :::::::: */ | |
/* Master.cpp :+: :+: */ | |
/* +:+ */ | |
/* By: JKCTech <admin@jkctech.nl> +#+ */ | |
/* +#+ */ | |
/* Created: 2022/01/27 11:35:30 by JKCTech #+# #+# */ | |
/* Updated: 2022/03/21 10:01:43 by JKCTech ######## odam.nl */ | |
/* */ |
import requests | |
# ========== SETTINGS ========== | |
str_available = "Beschikbaar!" | |
str_unavailable = "Niet beschikbaar!" | |
str_preorder = "Pre-order!" | |
str_unknown = "Onbekend" | |
filename = "links.txt" | |
pushover_enabled = True |
import requests | |
# ========== SETTINGS ========== | |
# Item codes you want to look for. | |
# (https://www.dacoproducts.com/K2Order.php) | |
# Selected on 'Stock N°' column but with all spaces stripped | |
# Example: "DCB003b + DVD PAL" => "DCB003b+DVDPAL" | |
items = ["DCB000", "DCB002"] |
# DETECT | |
execute as @a at @s if entity @s[scores={crouching=1..},nbt={SelectedItem:{id:"minecraft:book",Count:1b}}] if block ~ ~-0.8 ~ minecraft:chest run tag @s add pickup | |
execute as @a at @s if entity @s[scores={crouching=1..},nbt={SelectedItem:{id:"minecraft:book",Count:1b}}] if block ~ ~-0.8 ~ minecraft:barrel run tag @s add pickup | |
# GIVE ITEMS | |
execute as @a[tag=pickup] at @s if entity @e[type=armor_stand,distance=..1.5,sort=nearest,limit=1,tag=ultimate_chest] run item replace entity @s weapon.mainhand with knowledge_book{display:{Name:'{"text":"Ultimate Chest","color":"gold","bold":true,"italic":false}',Lore:['{"text":"Drop on a chest or barrel for a permanent Ultimate Chest","color":"aqua","italic":false}']},chest:1,Enchantments:[{}]} 1 | |
execute as @a[tag=pickup] at @s if entity @e[type=armor_stand,distance=..1.5,sort=nearest,limit=1,tag=village_chest] run item replace entity @s weapon.mainhand with knowledge_book{display:{Name:'{"text":"Village Chest","color":"gold","bold":true,"italic":false}',Lore |
#!/usr/bin/python | |
import subprocess | |
import fcntl | |
import time | |
import os | |
import signal | |
import sys | |
if len(sys.argv) != 2: |