Writing a Bash script is very hard, I usually write some to automate things, to verify files, directories and run scripts like Ansible or kubectl. As a devops, you need sometimes to compare env variables, find and replace text in different files.. So, I found this cheat in github, it’s helpful. I you are looking […]
Helpful Linux commands
As a sys admin, I usually use commands that help process logs, config files and datas in various reasons. In my today’s post I will introduce to you some of these Linux commands that will help you manage logs, but, let’s first introduce my must to know command that let you understand all linux commands. […]
Adding Emojis to Your Python Script 🎉🐍
Have you ever wanted to sprinkle some joy and personality into your Python script by adding emojis? Whether you’re creating a cheerful import script or just having fun, emojis can bring a smile 🥰 to your team’s face. But if you’ve tried this and faced the dreaded error: Don’t worry! this guide will show you […]
How to hash a file in a bucket S3 using AWS Lambda
Calculating the file hash of an uploaded file in an S3 bucket, it’s a big deal. Especially, when it passes through an API Gateway, this will encode the file to base64. We can get the ETag generated by AWS to check file integrity, but this is not a secure solution, because AWS may change hashing […]
Pro Git commands you should know
Git Cherry-Pick 🍒 Imagine working on a branch and a coworker fix a bug, as usual, you have to wait to merge in develop branch the you should rebase to get that fix in your branch. But, when you rebase, you’ll have all the commits you don’t need.All you need is the commit hash from […]
Clean your machine from node modules folders
As node js developer, I used to clean my old projects by deleting node modules folder, but sometime I forgot to do that and it really take a lot of space about 400Mb for each project. I used to test a lot of libraries like react, webpack, snowpack, express and next js so I can […]
[Ubuntu] Ubuntu 20.04 ‘Focal Fossa’ will be there
This is a special year full of events, certainly, with the CODIV-19 disease epidemic. The Ubuntu community still wondering the new Ubuntu LTS release baptized “Focal Fossa”.
CakePHP 4.0 🍓 Strawberry is out, a new Chapter for PHP dev
What is CakePHP? CakePHP is a free, open-source, rapid development framework for PHP. It’s a foundational structure for programmers to create web applications. Since it’s based on MVC architecture, that makes it structured, rapid and more flexible.
Why is React so popular?
This is not a comparison between Vue, angular and React. This post is according to Indeed.com with over than 60,000 job offers. I’ll talk about why React is the most popular JavaScript library.
Useful .zshrc aliases
I mostly use these commands when I’m working. So for example, to make quickly a new folder, init the git repo and switch to develop branch, monitoring, cleaning, so I made this gist available and I will update it in case of a new helpful commands.