Архиви на блога

Tasmota rule for Button

Rule 1 on button1#state DO WebSend [192.168.0.22:80] Power TOGGLE endonRule1 1 – turn on rule Rule1 0 – turn off rule setoption73 1

С етикет: , ,
Публикувано в Без категория

windows 10 disable fastboot

Sometimes you need to disable FastBoot on laptop on which you don’t have such option in the BIOS To do it you can modify following registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power HiberbootEnabled DWORD 0 = Turn off fast startup 1 = Turn

С етикет: , , , , , ,
Публикувано в Без категория

Drupal debug

Sometimes is very hard to debug Drupal when you get white screen of death Very often some module is making the mess To check which module is breaking the site Open includes/module.inc and find function module_invoke_all Add bolded line to

С етикет: ,
Публикувано в Без категория

bash rename file

This is simple script which rename files based on some pattern For example rename all files AABBBCCC and replace BBB with DDD ./ren „AAABBBCCC“ „BBB“ „DDD“ #!/bin/bash # renames.sh # basic file renamer criteria=$1 re_match=$2 replace=$3 for i in $(

Публикувано в linux, Без категория

no cache website

<meta http-equiv=“expires“ value=“Thu, 16 Mar 2000 11:00:00 GMT“ /> <meta http-equiv=“pragma“ content=“no-cache“ />

Публикувано в Без категория, интернет