![Danica Swanson cover image](https://tiloid.com/images/cover_default.jpg)
![Danica Swanson](https://tiloid.com/uploads/avatars/n1NXUKV2t6ZZ9dic5nj4prdJK5m9xf72cJZ2ipGK.jpg)
Danica Swanson
@danicaswanson
I'm a self-employed freelance writer and copy editor working in web3. All my clients are in DAOs, so basically I have my "dream job"...except that it's not a dream, and it's not a conventional job!
Portland, OR, US
Joined on
Jan 4, 2023
7
posts
2
followers
4
following
Splitting a string on a delimiter
To split a string on a delimiter in Bash, you can use various approaches and built-in commands to achieve the desired result.
Using IFS (Internal Fiel...
![Splitting a string on a delimiter](https://tiloid.com/uploads/posts/39/980LPdO9ZzNkYg5O99pF4uXzCeDJS0-metaY2FyYm9uKDM3KS5wbmc=-.png)
Programmatically Navigate Using React Router
React Router is a popular library for handling routing in React applications. It allows you to navigate between different components or pages based on...
![Programmatically Navigate Using React Router](https://tiloid.com/uploads/posts/94/JqxR0QbtCby2JcIEhck0ALjBlBowWL-metaY2FyYm9uKDkzKS5wbmc=-.png)
Making a Flat List Out of a List of Lists
To flatten a list of lists into a single, one-dimensional list in Python, you can use list comprehension or the itertools.chain() function.
#1. Using...
![Making a Flat List Out of a List of Lists](https://tiloid.com/uploads/posts/79/LBgReHmlYSibDrjW46Tghci8pvcpWu-metaY2FyYm9uKDc4KS5wbmc=-.png)
Implementing a REST API
A REST API allows your Flutter app to communicate with a server and perform various operations like fetching data, posting data, or updating data.
Set...
![Implementing a REST API](https://tiloid.com/uploads/posts/9/6YheNJm51J42XcOQyh5kPjSZhDyTlE-metaY2FyYm9uKDYpLnBuZw==-.png)
Calling Shell Commands from Ruby
In Ruby, you can execute shell commands and interact with the command-line environment using various methods.
Using backticks (`) or %x
What are backt...
Difference between an Interface and Abstract Class
In object-oriented programming (OOP), both interfaces and abstract classes are used as blueprints for creating classes with common characteristics.
Ab...
![Difference between an Interface and Abstract Class](https://tiloid.com/uploads/posts/67/KuU3trVbxi9Prjqh1F6cMcYgkHqBYv-metaY2FyYm9uKDY2KS5wbmc=-.png)
Summing Array of Numbers in Ruby
In Ruby, you can easily calculate the sum of an array of numbers using built-in methods.
Using the sum Method
What is sum?
The sum method is a conveni...