Posts
- How I improved our CI build time from 24mins to 8mins and reduced costs by 50%If you like fast CI builds, hate having to wait for an eternity for CI to complete a build after you open a PR, and love reducing infra costs, read on.Read this article
- Merging HTML attributes with RailsI am usually annoyed when I have to merge HTML attributes coming from multiple sources (e.g you're writing a partial that can optionally accept some data attributes, but the partial itself defines some data attributes). Here's a simple helper/gem to fix that annoyance.Read this article
- How to use Tabler Icons with RailsTabler Icons includes over 4950+ beautiful icons. Learn how to use any icon from that huge set in a Rails app using a simple gem.Read this article
- Improving performance in development on a big Rails appSlow requests in development are painful. They lead to slower feedback loops and decrease productivity. If you are working on a big Rails app, and you're encountering slow requests, especially after you make a change, there might be a simple way to make things fastRead this article
- Loading Stimulus controllers on demand in Rails with ViteLearn how to automatically load stimulus controllers from your rails app but only if they are required on a page. We'll handle loading them in a way that they're already in the head tag when the page is rendered. Especially useful for huge apps with tons of controllers.Read this article
- Preflex - a Rails engine to manage any kind of user preferences/feature flags/etc.Preflex allows you to manage preferences like user settings/feature flags/etc. with ease. Just install the gem, define preferences and use it. Also has support for reading/writing values from the client-side using JavaScript.Read this article
- How to enforce a quote style on HTML attributes in an ERB file using erb-lintUse a custom linter to enforce a particular single/double quotes on your *.html.erb files (with auto-correction) using erb-lint.Read this article
- Using Treact UI Components with your React AppTreact is a set of free React Components & Templates for building landing/marketing pages. Learn how you can configure your React App to use these components.Read this article
- Treact - Free React & TailwindCSS based UI Kit for building landing pagesA free template starter pack built with React, TailwindCSS using twin.macro and styled-components with 52 component blocks, 7 prebuilt landing pages and 8 inner pages.Read this article
- Detecting Spun or meaningless content using simple n-gram analysisSpun content is content that is computer generated by replacing words of human written articles with their synonyms. This articles describes how to detect and classify content as spun/meaningless using a simple n-gram analysis technique.Read this article