A long time ago our alarm box died and I thought it was time we diagnose an fix the issue. DO NOT ATTEMPT TO COPY IF YOU DON’T KNOW WHAT YOU ARE DOING. CONTACT AN ELECTRICIAN OR ALARM INSTALLER. We will be opening a delicate box with potentially live mains power and could cause damage to yourself or the panel. As you can see, although our isolation switch is set to ‘ON’ the power light on the alarm box is not illuminated. This may be because, The battery in the alarm has died. A fuse in the alarm box has… Continue reading Fixing an Accenta/Optima Alarm Power Failure Troubleshooting
When rooting or developing apps on your android, you may need access to the bootloader to install custom roms or recovery menus of your HTC, this is relatively simple compared to some phones, HTC comes with it’s bootloader locked, so in order to unlock it, HTC has a special and useful website, HTCDEV.COM to unlock bootloader and give you a key to unlock it. Unfortunately when unlocking bootloader, you also ‘factory’ reset your phone, so make sure to take a backup using an app, or HTC’s own backup service. Before I begin I should note that unlocking bootloader on your HTC, or… Continue reading Unlocking BOOTLOADER on HTC devices
What is hashing? Hashing a password means that users cannot have their passwords compromised when a database engineer is reading cleartext in user databases (to a degree, the passwords could be decoded, but hashing them makes them illegible to someone who is not doing anything extensive). And also prevents hackers from reading passwords in plain text and can be compromised by collision attacks. Additionally when hashing a password a salt may be added to the password, this prevents a database from being attacked by dictionary attacks. Why Hash Passwords? Storing User credentials in Plain Text is generally as bad practice as it allows… Continue reading Using Hashlib to Securely store user passwords and credentials.
I recently installed php, but when I was unable to save files, I was very stuck, and that’s why I’m posting it here, I want to tell anyone who Googles this problem to find this solution. The problem was when I used an fopen and fsave within php, the file would always ‘die’ as in the open or die within php. The solution is below Firstly I looked for the Environment user in phpinfo() in my case it was www-data and then I simply typed this chmod 777 -R www-data /var/www that, in its simplicity is the solution, but I am… Continue reading Raspberry Pi – PHP permission File Problems Solved!