So, I have a log file that is not single line log. It is kind of java stack trace. What I needed to do is read those log files and create some actions depending on them. I could use already built tools. But I thought why not just do this as simply as printing strings.
This is an example of the log format I wanted to play with. It seems too simple to pile up the Filebeats or elastic stack.
Continue reading Multi line Log Parser in Python
I have been using two mouse for my daily work in my laptop. Among them, I have Mi Portable Mouse and another a local made without branding. But recently both of them showing faults on scroll wheel. Which is very annoying. Also Xiaomi does eat a lot of power. So, I though I should get a new wireless mouse. Thus I came to know about A4tech FG35. It seems will fit my need. I have found this mouse in several online stores.
Continue reading Wireless Mouse A4tech FG35 Buying experience in Bangladeshi online stores
Using git is somehow easier when you just stick into normal workflow or working all alone in a project. Also it is easier as there are many GUI available. But there are some possibility on falling into critical situations where GUI may not be the right tool to stick with. I will share some situations here and the right commands which will save you from doing useless commits.
Continue reading Some quick and useful git commands
I enjoy coding and solving problems. But as I go forward, I find myself in a sea of unknowns. Thus I decided to learn as much as possible to be confident. So, I am learning even the simplest it seems.
Continue reading Some coding practice with Json, Itertools and Lambda in Python
The built-in function “eval()” of python is useful in many cases. But I am gonna talk about it’s negative one.
Let, you have a function that take arguments from user. If you do eval() on that input, it might create a havoc.
Continue reading Other side of Python eval() function