One day, your computer stop working, here are some symptons: Power on , fans , lights working USB keyboard does not light up You are sure that your memory/cpu/graphics card working fine( move it to a working machine and test) No display you clear the cmos, remove battery there is no sign of any components burnt If you have the above symptoms, there is a high chance that your bios is failed or corrupted. If your bios is corrupted, you can reflash it using the some special tools, the tool name CH341a , there are many articles on internet showing you how to use it,Read More →

I’m trying to reflash my motherboard bios using ch341a tool, the utility i use is flashrom . What’s my challenge? the challenge to connect the tool to the bios, the connection needs to do some tweak, i just want to focus on tweaking, i would like my computer to keep running the program while i try to connect, if the program connect successfully, it should stop. I came up with this simple scriptRead More →

Some applications might have some extensive query which might take several seconds to response, some people said a few seconds isn’t a big problem. Now, let say you one heavy query which will take 2s , remember this that 2s is when your server in low load, when your server got few hundred hits to that query, that normal 2s is no longer 2s, it will be added up. If this continue, your server will be dead.First thing people will think about caching, using ngnix (for example), but remember that, ngnix cache is based on the url , this is good for static content. ModernRead More →

If you use Splunk for Infrastructure – this CPU alert can be highly customizable . It’s not like other alert where all the values are static. Each host has different threshold,waiting time. This query can help. You can use a lookup table to customize the threshold and the waiting time.Read More →

Well, your quick answer could be yes, it’s pretty simple. All you need is to a little Selenium experience. We’ll that’s correct when you start with some simple stuff, click on this , fill some text , hit submit , then you are done. But when you are actually working on a project, things are not as simple as your first test. In order to automate a task, you need know how to get the object , either based on css/xpath/id . If you are lucky, these fields are not changed you can use it again, but if these are dynamic you must put moreRead More →

Step1: Login to jump server:     ssh -L 127.0.0.1:8080:127.0.0.1:8080 user@jump_server Step2: On jump server: ssh -D8080 user@remote_server1 Step3: Change browser socks proxy using socks5: 127.0.0.1:8080 All in one command:  ssh -L 127.0.0.1:8080:127.0.0.1:8080 -A -t -l user@jump_server “ssh -D8081 -A -t -l remote_user@remote_server”Read More →