Do you know that Lambdas are made to process files? So, reading and writing, compressing and extracting data from s3 Bucket are the main uses. So, handling files with python lambda is really easy and helpful to handle files in s3
Linux Bash cheat sheets
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 […]
Linux Files Permissions
What is File Permission? Working on file permission is weird when you start using Linux as an operation system. Imagining have a project folder and you want to change permission to be able to execute the run.sh script 🥲 First, when you run ls -al on your project folder 📂, you should see something like […]
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 […]
What is SOAP Api ?
An entreprise that would to connect to other entreprise’s service must know the address of the service and then send a request, the server will take this request and then do a job with data received and then send a response. When a client wants to invoque a service, it’s hard to tell him what […]
Next GNOME will be 40
GNOME Developers are scheduling to release a 40v version of Gnome. It’s a big jump after v3.8 (37 major releases, but why?) after an interne discussion between core team.