Skip to content

Instantly share code, notes, and snippets.

Avatar
🚀
We are hiring at OmbuLabs & FastRuby.io! https://www.ombulabs.com/jobs

Ernesto Tagwerker etagwerker

🚀
We are hiring at OmbuLabs & FastRuby.io! https://www.ombulabs.com/jobs
View GitHub Profile
@etagwerker
etagwerker / list-of-tech-debt-tools.md
Created February 2, 2023 20:40
list-of-tech-debt-tools.md
View list-of-tech-debt-tools.md
  1. Cloc
  2. npm
  3. yarn
  4. RubyCritic
  5. code-complexity
  6. Code Climate
  7. bundler
  8. bundler-audit
  9. bundler-stats
  10. SimpleCov
View gist:d6b8dd17366ac52f883d02d8b03266fd
noahgibbs:
display_name: "Noah Gibbs"
gravatar: 5e8107f48d4471a40de325151d589b6d
twitter: codefolio
github: noahgibbs
bio: "An old programmer who moved from the US to Scotland. Noah writes about Ruby and Rails performance in many places. Also wrote Rebuilding Rails and Mastering Software Technique."
View gist:d4df6bb16449693a91351aa5aa22fde5
---
layout: post
title: "Optimizing Images - Part 1"
date: 2022-11-21 12:00:00
categories: ["performance"]
author: arieljuod
description: "Serving non-optimized images can make our site feel slow. Here are some techniques to speed things up."
image: "optimizing-images-part-1.jpg"
---
View gist:dda1a2af702b07dbb64067caef55d09f
Is your Ruby app slow? @FastRubyIO has partnered with @nateberkopec to help you identify optimization opportunities with their Tune Report: https://go.fastruby.io/vim
#CodeAudit #PerformanceOptimization #RubyOnRails #Ruby
@etagwerker
etagwerker / Gemfile
Created October 18, 2022 13:24
Example of using next_rails just for a Ruby dual boot
View Gemfile
# Gemfile
def next?
File.basename(__FILE__) == Gemfile.next
end
if next?
ruby "3.1.1"
else
ruby "3.0.1"
@etagwerker
etagwerker / rails-new.sh
Created October 8, 2022 19:20
rails-new.sh
View rails-new.sh
rails new librarian -d postgresql --skip-system-test --skip-action-mailbox --skip-action-cable --skip-active-job --skip-active-storage --skip-jbuilder --asset-pipeline=propshaft --css=tailwind
--javascript=esbuild
@etagwerker
etagwerker / transcript.csv
Created September 14, 2022 17:51
transcript.csv
View transcript.csv
Welcome to Legacy. Good rocks the podcast that explores the world of modernizing existing software application on your host. Scott for this show is at the change the way you think about Legacy code. When you hear the phrase Legacy code of images of big mainframes anarchic punch card machines. Well that's true. It only tells a small part of the story anything that someone else has left behind is there Legacy this episode of sponsored by cardi B? Cardi B house companies make their existing custom software systems more stable scalable and secure. And upgrades bug fixes performance enhancements and other maintenance activities designed to help companies generate Revenue lower operating costs. And reduce risk is a senior engineering manager at fast Ruby. IO and he's been developing web application since the days. When the first HTML Pages were painted on Cave walls over the past 25 years. He's worked in various roles from developer product owner to director from many different organizations such as actblu
@etagwerker
etagwerker / asrOutput.json
Created September 14, 2022 17:49
asrOutput.json
View asrOutput.json
This file has been truncated, but you can view the full file.
{
"jobName": "Mike-Toppa-Legacy-Code-Rocks-LCR_Michael_Toppa_Audio_MASTER.mp3",
"accountId": "015078986747",
"results": {
"transcripts": [{
"transcript": "Welcome to Legacy Code rocks the podcast that explores the world of modernizing existing software applications. I'm your host scott ford. This show is about to change the way you think about legacy code, if you like a lot of people, when you hear the phrase legacy code, it conjures up images of big mainframes in our kick punch card machines. Well that's true. It only tells a small part of the story. Anything that someone else has left behind is their legacy. This episode is sponsored by Corgi bites. Cory bites helps companies make their existing custom software systems more stable, scalable and secure. Corey bite specializes in upgrades, bug fixes, performance enhancements and other maintenance activities designed to help tech companies generate revenue, lower operating costs and reduce risk. And today on the podcast we have mike, Topa. Mike is a se
View gist:31f29c3b4c81d8d1c670471e62a8d840
Conference: RailsConf 2022
Status: Rejected
# Title: Escaping The Tar Pit (The Mythical Service Layer)
# Abstract:
Nobody wants to inherit a project that reeks but here we are: Stuck in the tar pit. Fat models? Endless service classes? How can we take control of all the tech debt?
In this talk you will learn how to use a few, great Ruby gems that will guide you out of that sticky tar you are in. On top of that, you will learn a repeatable way to gradually pay off technical debt.
@etagwerker
etagwerker / fly-dot-io-rails-experience-test-with-their-tutorial.md
Created August 24, 2022 13:32
fly-dot-io-rails-experience-test-with-their-tutorial.md
View fly-dot-io-rails-experience-test-with-their-tutorial.md

Error:

Step 23/47 : FROM base as build_deps
 ---> 9d4cdb1a89e5
Step 24/47 : ARG DEV_PACKAGES="git build-essential libpq-dev wget vim curl gzip xz-utils libsqlite3-dev"
 ---> Using cache
 ---> 5d51bfab6c72
Step 25/47 : ENV DEV_PACKAGES ${DEV_PACKAGES}
 ---> Using cache