Bash file: Keep running a program until it’s successful
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,...
Selenium: print all span text
A short code to get all span text in your web page: span_list= await (("//span")); for(i=0;i<;i++) (await ())
Reducing your database load by caching your query
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...
Splunk – CPU Alert
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...
Web automation – is it easy?
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,...
Socks proxy through SSH via jump server
Step1: Login to jump server: ssh -L :8080:8080 [email protected]_server Step2: On jump server: ssh -D8080 [email protected]_server1 Step3: Change browser socks proxy using socks5: :8080 All in one command: ...
Fixing: /libcurl.so.4: no version information available
Error: /usr/local/: no version information available (required by php) Fix:
IIS trace the error log
If you application is experiencing some 500 error code , but your log doesn’t show any exceptions – i would suggest we enable “Failed Request Log” in IIS –...
Powershell: Out-file – Filesize is double
I have been struggling with my powershell script , i write a content variable to a file using Out-File $ | Out-File -FilePath $cookie_file What’s wrong with this? i...