No more long history of pipelines, let’s clean it all up 🧹
Failed, passed, canceled, pending, there are a lot of chances that you have a long list of old jobs in your GitLab project.
Hopefully, GitLab provides API endpoints to list them or delete pipelines one by one. You see where I’m going with this, we will call the “list” endpoint. Save the list into an array. Then loop over the array and call the delete endpoint.
As we love automation, we will write a JS script 🤖
Bring biometric auth to your React Native or Expo app. Let your users sign in with it.
Like many applications, your app may have authentication. Your users might sign in with an email/password.
So once they sign in everyone using their phone can access the data inside the app. It can be a problem if your apps keep sensitive data. One solution is to re-ask the password each time the user uses the application. It is a good solution but it affects the user experience.
You may have seen that apps like banking, health, etc.. use biometric to let users…
Need to create recurring tasks? Execute tasks later? Agenda is what you may need.
When building a Node.js application, you may need to execute recurring tasks or run them later. ⏰
You might know CRON jobs on Linux systems. CRON is a time-based job scheduler. It allows us to realize tasks every minute, day, months, etc.
With our Node.js app, we want to run something like CRON. But how? Hopefully it exists multiple solutions to schedule tasks on Node.js:
Husky helps to run tests on your code before committing, pushing…
ESLint helps you to format your code by applying custom rules. But if a developer of your team doesn’t lint his code, you will probably have a “dirty” code in your git repo…
…that’s when husky happens to help you.
“Husky can prevent bad
git push and more 🐶 woof!”. It helps you to create simple git hooks. …
Because getting up early shouldn’t be a problem, here are 5 tips for getting up early.
Did you ever think of waking up earlier to realize more things? Waking up earlier is a good idea to improve productivity as at 5 a.m there is less noise, stress and you can get more concentrated.
But you have to be able to stand up. Waking up at 5 a.m is not easy, if you aren’t used to it. You will find you any excuses or reasons to stay in bed.
I had the same problem when I tried to wake up earlier…
Build iOS .ipa and Android .apk expo app locally by using Turtle CLI
Recently, I had to build an expo app. I tried it by using expo.io servers, but my build was in the queue and I didn’t have time to waste.
So I decided to see if it was possible to build an Expo app locally and I’ve found turtle-cli.
What is Turtle CLI:
Expo allows us to build our apps on their servers. They have built a special CLI to realize it and they Open-Sourced it. So anyone can use and contribute to Turtle CLI.
It allows us…
Turtle-cli needed to access some files over https. One of the solutions was to make a simple HTTPS server to serve the current folder. Usually I would have done it with Node.js, but change doesn’t hurt.
Let’s see how to build our server with Python 3. You will need:
To start your server, you need to go inside the folder you want to serve and run this command:
python -m http.server 8000
Lottie allows us to render After Effect animations natively on mobile and web
Animations help to make your app more dynamic and more user friendly. As you may know, it is possible to create animated videos with Adobe After Effect.
Why not integrate these animations to our App?
That is when Lottie comes to help us 😎.
Lottie is a library that allows us to add animations in iOS, Android, React Native, etc.
A simple guide to authenticating your users with Apple on React Native and Node.js
Recently with a client, we have been rejected on the App Store because we have enabled a 3rd part authentication (Facebook) without adding “Sign in with Apple”.
So, we had to deal with it and implement “Sign in with Apple” in our app. We wanted to have:
“Sign in with Apple” is an authentication method that allows us to:
Recently Deno (An alternative to Node.js) has released. A lot of peoples are talking about it as it is new and sounds to have some cool features. Today, we will make a simple To-Do app with Deno as a REST API.
We will see these different things:
Our application will be very basic but we’re gonna have fun.
As we are new to Deno, we need to install it:
On macOS / Linux:
curl -fsSL https://deno.land/x/install/install.sh | sh
iwr https://deno.land/x/install/install.ps1 -useb | iex
Développeur Full-Stack 👨💻 React Native x Node.js