Skip to content

Instantly share code, notes, and snippets.


Gilbok Lee gilbok

View GitHub Profile
sawant / homebrew old version.txt
Last active Jul 26, 2021
Install older version of Formula in Homebrew
View homebrew old version.txt
[From: - just created a copy to keep it for long term]
Homebrew always wants to install the latest version of the Formula (software). This is by design, because every time there is an update to a formula, it wants to be tested against all the other formulas that it depends on. Mixing new and old versions of software is a recipe for incompatibility disaster.
But sometimes there are situations where you need an older version of software. In my specific case, Yarn was compiled against an older version of icu4c, and I want that older version instead of recompiling Yarn.
$ yarn install
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.61.dylib
Referenced from: /usr/local/bin/node
codemilli /
Last active Feb 23, 2017
style load with javascript

Inline CSS

// function scope for moduling
!function() {
  var style = document.createElement('style');
  style.innerText = '::-webkit-scrollbar { width: 8px; }';