I hereby claim:
- I am beeksiwaais on github.
- I am beeksiwaais (https://keybase.io/beeksiwaais) on keybase.
- I have a public key ASDDylL6Xc1esH213ILP9WdRtWqFwZ_qgOWCHWp10LFZdAo
To claim this, I am signing this object:
javascript:(function() { | |
const hide = e => e.style.display = 'none'; | |
const show = e => e.style.display = 'inline-block'; | |
const states = ['initial', 'hide-shorts', 'hide-others']; | |
const isHidden = e => e.style.display === 'none'; | |
const allElements = Array.from(document.querySelectorAll("ytd-grid-video-renderer")); | |
const shorts = allElements.filter(e => e.querySelector("span[aria-label='Shorts']")); | |
const others = allElements.filter(e => !e.querySelector("span[aria-label='Shorts']")); |
I hereby claim:
To claim this, I am signing this object:
# = MONKEY PATCH: Memoize Mysql2 Columns | |
# | |
# Reduces SHOW FIELDS selects in production to essentially 0 calls. | |
# | |
# == Reason: | |
# | |
# * We have some pages that are (with rails 3.0.12) generating nearly 1200 SHOW | |
# FIELDS sql statements. | |
# * These come from ActiveRecord::Associations during complex join semantics. | |
# * Esentially, through some relations, Arel::Table instances don't have |
defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}' | |
killall Dock |