I’m personally interesting of the evolution of Deno. Specially, after the announcement in JSConf 2018 by Ryan Dahl “10 thinks I regret About Node.js”, I figure it out that node js will die in five next years. As a fullstack web developer, I tried to create APIs using Deno. But, I was stuck because the […]
How to format strings with Python 3
You want to format strings with Python 3? Do you know that’s the most task that we need? like printing text with variables, formatting string uri for database connection and to return messages and errors. With Python 3, f-strings become the great tool to make more readable and faster codes. But first, lets talk about […]
Files in S3 AWS Python Lambda, how to handle them?
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
If you are writing a python script, and want to add some emoji to add prosperity and happiness 🥰 to the teams when running this import script, you may be shocked by the error message that can break your heart 😞💔 No worry, you can add this simple line in the top of your script, […]
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 easily […]
[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”.