With starting of serverless services like netlify vercel render and upcoming cloudflare pages, personally i loved them for many reasons like not worrying about vps/server downtimes in-built CDN, so site will be faster for visitors no need to push changes manually, with every push changes are live no need to use deployment scripts for each […]
Author: seenu
match everything between two tags in vscode using regex
Ealier i wrote an article on how to match everything between two strings or tags or text in sublime using regular expressions but now i am vscode, i need a way to do this in vscode aswell. and luckily it is damn simple some like which selects everything between that section tag, which you can […]
mysql binlog taking too much of space
Recently i have installed mysql 8.0.22 on ubuntu 20 and with in 30days, i see that server is using 90GB of space and i know for sure, we didn’t upload that much of data into server at all. so i have checked for logs and storage usage. when i do du -hs /* i see […]
I’m a free bird now
After 13 years of stint as a CEO, manager, proprietor, team leader, developer, solo developer, marketer, SEO guy and managing many other roles, i finally shut down my office. I don’t have any baggage now (like paying rent, taking care of bills etc) Earlier i used to think, Lorvent is my identity and without it, […]
why WSL is not good idea for development
Honestly i tried to use WSL (Windows Subsystem for Linux) many times and gave up because of time or other constraints, finally now i decided to use because in my windows pc, i am using old nodejs and a project required latest nodejs everything went fine but then, i want to do a quick npm […]
Improving code quality
I have come across a good article which explains how to improve code quality Poorly written code can be a real disaster. When the mess in your code increases, so does the time that it takes to maintain it. In the worst-case scenario, the code can no longer be maintained and the project will slowly […]
my initial impression of publii
preface:i am more and more interested towards using SSGs as they don’t use database and no security issue and they are super fast and another thing is, i can configure them through gitlab CI for which i am a big fan and i love tinkering with gitlab ci all the time. i am spending lot […]
Upload files and get them using wget
Now a days, i am mosting working on vps where there is no filemanger like in a cpanel site, so it has become a problem for me to upload files to server. sometimes i upload them to another server then i do wget then delete file from first server, which is a PITA. another option […]
change default php version in cyber panel
When laravel 6 is available, it needs php 7.2 where as my staging server has 7.1 and i don’t want to change its version as i am afraid it may break existing projects so i decided to create a new vps and for flexibility decided to go with cyber panel where we can change php […]
babun/cygwin yarn stdin is not tty fix
If you are using windows and using babun or cygwin, if you come across “stdin is not tty” when you try to run yarn then there is a simple fix available 🙂 in your ~/.zshrc add an alias like alias yarn=”yarn.cmd” and then you should be able to use yarn command as usual 🙂