One of the things that had always bothered me when creating terminal profiles is hardcoding secrets like in export GITHUB_TOKEN=<SECRET> . This is even more annoying when you have more than one computer and need to synchronize secrets between them. I finally decided to handle this issue with 1password-cli , a command-line utility that can interact with 1Password . For the sake of this article,…
If you’re watching the crypto space, you probably know about Stellar. Stellar is an open network for storing and moving money. You can easily create, send and trade digital representations of all forms of money by using a feature called assets . Assets are, essentially, custom tokens. Any person can create an asset in just a few steps, and in this article we’ll create one called ACME .…
I frequently see people struggling to set up HTTPS in development. If you’re a long time developer, you may have done this in the past with self-signed certificates, buying your own certificates and tweaking your hosts file, or using tools like puma-dev . While these approaches work to an extent, Let’s Encrypt changed the game, at least for me. With Let’s Encrypt and a DNS…
Welcome to 2019, the year that the technology went dark mode. Both Android 10 and iOS 13 were released last month, and the most acclaimed feature was dark mode. Native apps can now implement specific themes for each mode (i.e. dark, light), but can you do it on the web? This article outlines how you can take advantage of this new trend and make everyone happy. Are there any benefits on using dark…
React Native is the go-to platform if you’re versed in React and need to develop mobile applications. Instead of using a hybrid approach like several projects out there, React Native aims to develop native applications with the tooling we already use in web development. For the most part, this approach works perfectly, specially if you’re part of small team and lack the resources to…
JavaScript is all new. Until recently, we had no new features. The last significant update was back in 2009, with ES5 ‘s release. And you couldn’t use all features due to browser incompatibility. To increase the compatibility level, we had to use things like es5-shim , which conditionally checked if a feature was available, adding a polyfill if the browser didn’t implement it.…
Pingdom recently increased the price of the starting plan from $10 to $14. Since they didn’t keep the price for older customers, I decided to create something to replace it, because the new pricing is just too much for my personal sites. This article shows how you can set up your own uptime checker and run it on Heroku for $7/month. About uptime_checker I created uptime_checker , which has…
Working with dates can be hard. You need to consider time zones, understand how to store dates in your database, parse strings into dates or even format dates and display them to the user. And there’s the daylight saving time. In this article we’ll see how to use the utilities provided by Rails, so that your system can handle dates correctly. How Ruby works Ruby has basically two…
This article has been updated. Read Using ES2015 with Asset Pipeline on Ruby on Rails instead. JavaScript is all new. Until recently, we had no new features. The last significant update was back in 2009, with ES5 ‘s release. And you couldn’t use all features due to browser incompatibility. To increase the compatibility level, we had to use things like es5-shim , which conditionally…
Do you know what’s wrong with articles or solutions saying that you should ditch your ORM , abstract everything from the framework , create six layers of abstraction and break you app into dozens of microservices? There’s no silver bullet . The problem is that developers that advocate a more complex architecture assume that everybody has the same deep knowledge about software design.…