Skip to content

Instantly share code, notes, and snippets.

View boddhisattva's full-sized avatar
🌷
Vasudhaiva Kutumbakam 🙂

Mohnish G J boddhisattva

🌷
Vasudhaiva Kutumbakam 🙂
View GitHub Profile
@philandstuff
philandstuff / lead-dev-2018.org
Last active August 23, 2018 08:56
Lead Developer London 2018

Lead dev 2018

Welcome - Meri Williams

  • @TheLeadDev #LeadDevLondon
  • white coat captioning - @whitecoatcapxg
    • wvnts.co/lduk2018

The Container Operator’s Manual - Alice Goldfuss

  • happy pride! it’s like the world cup for people with fashion sense
  • who am I?
@swalkinshaw
swalkinshaw / tutorial.md
Last active November 13, 2023 08:40
Designing a GraphQL API
@zulhfreelancer
zulhfreelancer / delete-postmaster.pid.md
Last active November 8, 2021 15:07
Postgres.app: How to delete postmaster.pid file?
$ cd ~/Library/Application\ Support/Postgres/var-10
$ \rm -f postmaster.pid

OR

$ \rm -f ~/Library/Application\ Support/Postgres/var-10/postmaster.pid
@notthetup
notthetup / publicspeaking.md
Last active October 29, 2017 04:48
Public Speaking Resources

Online Resources on Public Speaking

@cheeaun
cheeaun / rdrc2017.md
Last active October 11, 2017 06:56
RedDotRubyConf 2017 links & resources 😘

⚠️ this is now stupidly out of date

Computers

  • 13" Macbook Pro 3.3 GHz i7 (late 2016)
  • Microsoft Surface Book (2016)

Peripherals

@briankung
briankung / docker-pry-rails.md
Last active December 12, 2023 10:40
Using pry-rails with Docker

First, add pry-rails to your Gemfile:
https://github.com/rweng/pry-rails

gem 'pry-rails', group: :development

Then you'll want to rebuild your Docker container to install the gems

@kipcole9
kipcole9 / Map.Helpers
Last active October 24, 2023 22:13
Helpers for Elixir Maps: underscore, atomise and stringify map keys
defmodule Map.Helpers do
@moduledoc """
Functions to transform maps
"""
@doc """
Convert map string camelCase keys to underscore_keys
"""
def underscore_keys(nil), do: nil
@davydovanton
davydovanton / each_with_object_vs_map.rb
Last active November 11, 2018 13:33
Benchmark: each_with_object vs map!
require 'benchmark/ips'
array = (1..10_000).to_a
Benchmark.ips do |x|
x.report('each_with_object') { array.each_with_object([]) { |i,a| a << (i * 2) } }
x.report('map') { array.map { |i| i * 2 } }
x.report('map!') { array.map! { |i| i * 2 } }
x.report('reduse') { array.reduce([]) { |a,i| a << i * 2 } }
x.compare!