GitHub Actions is a tool that allows developers to automate workflows related to their GitHub repositories. With GitHub Actions, developers can build, test, and deploy their code directly from GitHub. While GitHub Actions can be very useful, they can also be difficult to debug when things go wrong. When an action fails, it can be challenging to figure out what went wrong and how to fix it, since they can only run on Github, and you end up sending mock commits one after another to iterate through bugfixes. Moreover, it can be costly, as Github Actions are billed per minute. In this post, I will talk about a tool called Act, which allows developers to run Github Actions locally on your machine.
read more “Debug Github Actions locally with Act”Category: tutorials
Jetbrains Fleet: using remote workspaces for efficient development
In software development, it is common to use remote and provisioned workers to execute code and run tasks. These workers can be located in remote data centers or cloud environments, and they can be accessed through a local integrated development environment (IDE) that connects to them over the internet. Using remote and provisioned workers can be beneficial because it allows developers to access powerful hardware and infrastructure without having to set it up locally. It can also be useful for teams that are distributed across different locations and need to collaborate on a project. Local IDEs can be used to write, debug, and deploy code to the remote workers, making it easy to work with and manage the codebase from a single interface. In this post, I will talk about setting up Jetbrains’ new IDE, Fleet, to work with a remote Linux machine.
read more “Jetbrains Fleet: using remote workspaces for efficient development”How to use Latex in RMarkdown
When working on a data science project in R, one often needs to write up a good-looking report, including some tables, formulas, and funny formatting. In this article, I will show you how to use Latex in RMarkdown to produce beautiful documents.
read more “How to use Latex in RMarkdown”Use Syncthing to Create a Cloud Without a Cloud
Syncing files across devices is really easy. Just install Google Drive, or iCloud, or Dropbox, or any other cloud storage provider. But this comes at a cost, and the cost is your data. Here I am going to show you how to sync files that matter without anyone in-between.
read more “Use Syncthing to Create a Cloud Without a Cloud”Managing React Native Form State with Redux-Form
Chances are, you have had to implement some kind of a form while developing your mobile apps. It may be a simple login form or a complex reporting system, nevertheless, you will face some challenges. How do you validate the data? Where do you store the form state? How do you control the form’s lifecycle? Answers to these and many other questions are waiting below, where I tell you how to use Redux Form with React Native.
read more “Managing React Native Form State with Redux-Form”Sending HTTP requests in Dart (Flutter)
One of the most important things you should consider when developing a mobile app is how it communicates with external services. Usually, your code sends HTTP requests to do it. In this article, you will learn how to send HTTP requests in Flutter.
read more “Sending HTTP requests in Dart (Flutter)”Developing a TODO app with Flutter – Part 3
In this series of tutorials, I will walk you through the process of creating a TODO app with the Flutter framework. By the end, you will have a cross-platform TODO mobile application, which allows you to add, edit, remove and complete tasks, while persisting the data on Google Firebase. The series spans across 3 parts:
Part 1 – Setting up the development environment and creating the project
Part 2 – Implementing core functionality
Part 3 – Connecting your app to Google Firebase
Developing a TODO app with Flutter – Part 2
In this series of tutorials, I will walk you through the process of creating a TODO app with the Flutter framework. By the end, you will have a cross-platform TODO mobile application, which allows you to add, edit, remove and complete tasks, while persisting the data on Google Firebase. The series spans across 3 parts:
Part 1 – Setting up the development environment and creating the project
Part 2 – Implementing core functionality
Part 3 – Connecting your app to Google Firebase
Developing a TODO app with Flutter – Part 1
In this series of tutorials, I will walk you through the process of creating a TODO app with the Flutter framework. By the end, you will have a cross-platform TODO mobile application, which allows you to add, edit, remove and complete tasks, while persisting the data on Google Firebase. The series spans across 3 parts:
Part 1 – Setting up the development environment and creating the project
Part 2 – Implementing core functionality
Part 3 – Connecting your app to Google Firebase
The basics of Dart programing language
Dart is a multi-paradigm programming language developed by Google. It can be compiled to native ARM/x86 machine code (either Ahead-Of-Time or Just-In-Time) as well as to JavaScript. Its most notable use case is developing cross-platform mobile apps with Flutter. In this tutorial, I will introduce the basics of the language, as well as provide resources for further research. Some basic knowledge of another programming language (JS/C/Python/etc) is expected.
read more “The basics of Dart programing language”