tutorial

Setting your remote development environment

Setting your remote development environment

Introduction At first, it works okay when you set your dev environment up and running. You might only need to run react dev server and next dev server. However, you'll see that things become slower when you run storybook dev server. What's worse, more components are added. Plus, you want to run unit/integration/e2e tests locally before making a pull request. Some developers might have a brand-new performant machine to handle all of them. Unfortunately, it wasn't me. To solve this issue, I looked into how to speed up my development environment. Buying a new local machine Most individuals choose this…
Read More
Creating a home server with CasaOS on Debian from that old dusty PC in your closet.

Creating a home server with CasaOS on Debian from that old dusty PC in your closet.

Introduction Setting up a home server can be an exciting project, especially when you aim to centralize backups, file sharing, and possibly even media streaming. Recently, I decided to repurpose my old desktop as a home server using Debian as the base operating system. During the process, I encountered a black screen issue caused by my graphics card, but removing the GPU resolved it since a home server doesn't require a dedicated graphics card. In this guide, I will walk you through the steps to install Debian on an old PC and then install CasaOS on your Debian home server.…
Read More
Build Your Own YouTube Thumbnail Downloader! RoR+SerpApi – Part 1

Build Your Own YouTube Thumbnail Downloader! RoR+SerpApi – Part 1

Part 1 - Basic Working Example (Done) Part 2 - Refactor and Deployment In this short tutorial we'll build a simple YouTube thumbnail downloader in Ruby on Rails with SerpApi for finding video thumbnails. Prerequisites:- Ruby version 3.2.2Ruby on Rails version 7.1.3.4SerpApi access. You can get the api key by singing up here. The versions don't matter. You should have both ruby and rails installed in your system. Let's begin by scaffolding our rails app.$ rails new YT-Thumbnail-Downloader Go to the project directory $ cd YT-Thumbnail-Downloader. Type $ rails s in the terminal and open localhost:3000 in the browser. You…
Read More
IMPLEMENTING AZURE KEY VAULT

IMPLEMENTING AZURE KEY VAULT

Azure Key Vault (AKV) is a cloud-based security service that provides secure storage, management, and deployment of sensitive data, such as: Encryption and Cryptographic keys Certificates (SSL/TLS, Azure, etc.) Secrets (passwords, credentials, etc.) AKV offers: Secure storage in a Hardware Security Module (HSM) Centralised management and organisation Access control and authentication Encryption and decryption services Key rotation and revocation Auditing and logging Integration with Azure services and applications In this tutorial, I will be demonstrating how to access Azure Key Vault and utilising one of its capabilities to add a secret to the vault. PREREQUISITE Working computer Internet connection Microsoft…
Read More
How to Build a MySQL Admin Panel (Fast & Easy)

How to Build a MySQL Admin Panel (Fast & Easy)

How to Build a MySQL Admin Panel (4 Easy Steps) In this guide, we will walk you through the four steps required to build a MySQL admin panel: Creating a New Application with Five: Get started by setting up a new application in the Five environment. Setting Up a MySQL Database: Design and create tables and fields for your MySQL database, defining both data and display types. Developing Forms: Build user-friendly forms to enable CRUD (Create, Read, Update, Delete) operations on your MySQL database. Deploying the Application: Easily launch your admin panel to the cloud. By following these steps, you'll…
Read More
How to Batch Notifications Across Users in a Dedicated Time Window? w/ Example Github Application

How to Batch Notifications Across Users in a Dedicated Time Window? w/ Example Github Application

Batching notifications is a feature widely adopted by major social media platforms and collaborative tools like LinkedIn, MS Teams, and Google Workspace products. This technique consolidates multiple alerts into a concise summary within a single notification, creating a clutter-free user experience and reducing interruptions. For hands-on implementation, please refer to the provided GitHub repository and deployed application links: Benefits of Batching Notifications Frequent alerts can lead to notification fatigue, causing users to disengage. By batching notifications, we can maintain user attention and promote sustained interaction with our platform. Technical Overview: How Batching Works Batching notifications requires sophisticated workflows and significant…
Read More
Building Robust Typescript APIs with the Effect Ecosystem

Building Robust Typescript APIs with the Effect Ecosystem

In this post, we will explore how to create a complete API using the Effect ecosystem. Although the Effect documentation is excellent, there are not many examples of full applications. If you have never heard of Effect, I suggest you take a look at the website: https://effect.website/ Effect is not just another framework but instead acts as the missing standard library for TypeScript. Because of this, I believe Effect is truly the future for TypeScript, especially when considering the challenges associated with writing production-ready applications in "plain" TypeScript. To understand more about these challenges and how Effect addresses them, watch…
Read More
Mengenal Asymmetric Encryption: Keamanan Data Tingkat Tinggi dengan Golang

Mengenal Asymmetric Encryption: Keamanan Data Tingkat Tinggi dengan Golang

Apa Itu Asymmetric Encryption? Asymmetric encryption adalah metode enkripsi yang menggunakan dua kunci berbeda: public key (kunci publik) dan private key (kunci privat). Kunci publik digunakan untuk mengenkripsi data, sementara kunci privat digunakan untuk mendekripsi data. Karena karakteristik ini, asymmetric encryption sangat berguna dalam berbagai situasi yang membutuhkan keamanan tinggi dan otentikasi. Berikut beberapa contoh penggunaan dan penjelasan detail kapan menggunakan asymmetric encryption: Mengamankan Transaksi OnlineDalam transaksi online, seperti pembelian di e-commerce atau perbankan online, asymmetric encryption digunakan untuk memastikan bahwa informasi sensitif, seperti nomor kartu kredit atau informasi pribadi, dikirim dengan aman dari pengguna ke server.Prosesnya yaitu pengguna mengenkripsi…
Read More
Split & Group Text and Perform Distinct on Each Group

Split & Group Text and Perform Distinct on Each Group

Problem description & analysis: Below is an irregularly categorized detail table. Column A and column B are categories and both have duplicate values. Column C contains detailed data consisting of strings separated by "comma+space", and there are duplicates among the string values. Task: Split detail data in each category, group them by category, get unique values of each group, and concatenate them using "comma+space". Solution: Use SPL XLL to enter the following formula: =spl("=E@b(?.group(~1,~2;~.conj(~3.split@ct()).id().concat("","")))",A2:C12) Enter fullscreen mode Exit fullscreen mode As shown in the picture below: Explanation: group()function groups rows and handles data in each group; ~1 represents the first…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.