Skip to content

Instantly share code, notes, and snippets.

View invalidusrname's full-sized avatar
🤷‍♀️

Matt invalidusrname

🤷‍♀️
View GitHub Profile
@DoodlingDev
DoodlingDev / gist:369169afd559484584f88d8a4c3126e9
Last active February 2, 2024 13:04
Hotwire resources: from "Hotwiring my React Brain" Railsconf 2023
[Hotwire on the thoughtbot Blog](https://thoughtbot.com/blog/tags/hotwire)
[thoughtbot Hotwire Examples](https://github.com/thoughtbot/hotwire-example-template)
[Hotrails Turbo Rails Tutorial](https://www.hotrails.dev/turbo-rails)
[30 Days of Hotwire by @ilrock__ on Twitter](https://twitter.com/ilrock__/status/1631315562390519809)
[Code Sample Image Tool](https://www.snappify.com)
@qoomon
qoomon / youtube_clean_watch_later_videos.js
Last active April 15, 2024 07:25
Clean YouTube Watch Later Videos
// Version 2.0.1
// This script will remove all videos from watch later list
//
// Usage
//
// #1 go to https://www.youtube.com/playlist?list=WL
// #2 run following script in your browser console
(async function() {
const playlistName = document.querySelector('.metadata-wrapper #container #text')?.textContent || document.querySelector('#text')?.textContent
@keithrbennett
keithrbennett / ruby-lambda-presentation.txt
Last active March 5, 2020 21:03
Text and code for Functional Programming in Ruby presentation.
Source Code for Ruby Lambdas Presentation
# This is the source code included in the Ruby Lambdas presentation
# given at Ruby Tuesday, Penang, Malaysia, 9 April 2019.
# This file is available at:
# https://gist.github.com/keithrbennett/927c989cc301c63d35a8ceec9f3f9404
# and the presentation slides PDF is at:
# https://speakerdeck.com/keithrbennett/ruby-lambdas
@xpepper
xpepper / Why It Doesn't Have to Be Crazy at Work.md
Created March 30, 2019 21:46
Why It Doesn't Have to Be Crazy at Work

David Heinemeier Hansson is the co-founder and CTO of Basecamp, a project management and team communication software designed to help teams work together calmly and productively.

David Heinemeier Hansson is the co-founder and CTO of Basecamp. He's the creator of the web application framework Ruby on Rails and has co-authored several books about remote work and the future of work, including REMOTE: Office Not Required and It Doesn't Have to Be Crazy at Work. In this interview, he speaks with Owl Labs about the future of work, why remote work will evolve to become the way business is done, and why ambition can be a weakness for some entrepreneurs, instead of a strength.

Owl Labs (OL): For those of our readers who aren't already familiar with your career, you created the web application framework Ruby on Rails, you're co-founder and CTO of Basecamp, and you've published several best-selling books, the most recent of which was It Doesn't Have to be Crazy at Work. My first question is, do you sleep? My second,

@xpepper
xpepper / LondonVsChicago.md
Last active November 4, 2023 22:57
London vs Chicago, Comparative Case Study - Sandro Mancuso and Uncle Bob

My notes on the video series "London vs Chicago TDD styles" by Uncle Bob And Sandro Mancuso

The git repo of the kata is here: https://github.com/sandromancuso/cleancoders_openchat/

The "starting-point" branch is where both implementations began: https://github.com/sandromancuso/cleancoders_openchat/tree/starting-point

  • The 🇬🇧 "openchat-outside-in" branch captures the tomato by tomato history of the London approach.
  • The 🇺🇸 "openchat-unclebob" branch captures the tomato by tomato history of the Chicago approach.

What I like about Sandro's style 👍

@stevenringo
stevenringo / reinvent-2017-youtube.md
Created December 3, 2017 23:01
Links to YouTube recordings of AWS re:Invent 2017 sessions

| Title | Description

@troyfontaine
troyfontaine / 1-setup.md
Last active May 3, 2024 10:52
Signing your Git Commits on MacOS

Methods of Signing Git Commits on MacOS

Last updated March 13, 2024

This Gist explains how to sign commits using gpg in a step-by-step fashion. Previously, krypt.co was heavily mentioned, but I've only recently learned they were acquired by Akamai and no longer update their previous free products. Those mentions have been removed.

Additionally, 1Password now supports signing Git commits with SSH keys and makes it pretty easy-plus you can easily configure Git Tower to use it for both signing and ssh.

For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing your commits with GPG.

variable repositories {
default = {
"0" = "fakedata"
"1" = "deloominator"
}
}
resource "github_issue_label" "gardening-label" {
count = "${length(var.repositories)}"
repository = "${lookup(var.repositories, count.index)}"
# Cleans up branches like:
# if Shopify.rails_next?
# # Rails 5 login
# else
# # Rails 4 login
# end
module RuboCop
module Cop
module ShopifyRails
class RailsNextUnless < Cop