Friday, August 26, 2022

Python and MySQL query using Prepared Statement

so i just found out that mysql-connector for python from Oracle have a prepared-statement subclass just like their JAVA counterpart.

and here i am using PyMySQL for years like an idiot

Tuesday, August 9, 2022

animated progress on terminal

i always interested with how some shell script is capable to animate their console output, but never put any effort to learn until lately. this is a simple one

Thursday, August 4, 2022

Secure your god damn web...

open this link:

https://ssl-config.mozilla.org/ 

copy the given example to your web server.. make some adjustment to your configuration.

use this link to test your new configuration.

https://observatory.mozilla.org

Wednesday, August 3, 2022

PYTHON: slice a string by Indices

RASPBERRY PI: Compiling kernel for long BLE advertising timings

just follow this for the compiling process :

https://www.raspberrypi.com/documentation/computers/linux_kernel.html

before compiling the kernel open include/net/bluetooth/hci.h with any text editor and find this line

then replace it with