Skip to content

Shit Never Works

Because the $#&$'ing thing won't work.

Recent Posts

  • Install PostgreSQL 16 and have it work with zsh
  • Adding gsap.tar.gz to package.json
  • How to make a React useRef() mutable
  • Vite Errors, such as Cannot find type definition file for ‘vite/client’
  • Sync yarn.lock with package.json with SyncYarnLock

Recent Comments

  • Kai on Sublime Text Multiple Selection Secrets

Archives

  • April 2024
  • March 2024
  • February 2024
  • August 2022
  • May 2022
  • July 2021
  • June 2021
  • May 2021
  • January 2020
  • November 2019
  • September 2019
  • May 2019
  • November 2018
  • October 2018
  • September 2018
  • June 2018
  • March 2017
  • February 2017
  • January 2017
  • June 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • October 2015
  • August 2015
  • June 2015
  • May 2015
  • April 2015
  • February 2015
  • January 2015

Categories

  • CSS
  • Git
  • HTML 5
  • Illustrator
  • Javascript
  • Next.JS
  • Node
  • OSX
  • React
  • Sanity CMS
  • SASS
  • SSH
  • SVG
  • Terminal
  • Typescript
  • Uncategorized
  • ZSH

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Category: Javascript

Adding gsap.tar.gz to package.json

The documentation is hard to find, but the solution ain’t so hard in itself.

yarn add ./src/lib/gsap/gsap-bonus.tgz

Voila 💩

Posted on March 27, 2024Categories Javascript, Node, TypescriptLeave a comment on Adding gsap.tar.gz to package.json

Pause Javascript Any Time in Chrome

Incredibly simple and useful (like your mom): Apple + \ pauses script execution (the same as putting a debugger; in your code). Great for freezing at the current state so you can see why your shit never works 😏

https://umaar.com/dev-tips/178-quick-pause-script-execution/

Posted on May 18, 2019Categories JavascriptLeave a comment on Pause Javascript Any Time in Chrome

New Javascript Observers: Observer, Mutation, and more.

https://www.smashingmagazine.com/2018/01/deferring-lazy-loading-intersection-observer-api/

A bit of fluff but a lot of information.

Posted on November 2, 2018Categories JavascriptLeave a comment on New Javascript Observers: Observer, Mutation, and more.

Find an HTML element’s position from document top with vanilla Javascript