Skip to content

Instantly share code, notes, and snippets.

View leroyrosales's full-sized avatar
:octocat:

Leroy Rosales leroyrosales

:octocat:
View GitHub Profile
define([], function() {
return function(update) {
var windowAspectRatio = window.innerWidth/window.innerHeight,
isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry/.test(navigator.userAgent);
// console.log(windowAspectRatio);
var scrollYAtScan = 0,
// screenMeasure = windowAspectRatio < 0.7 && isMobile ? 0.8 : 0.5; // measurement point for page progress - 0.5 = vertical center of the window.
@leroyrosales
leroyrosales / webdev_online_resources.md
Last active February 11, 2023 16:53 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers
@leroyrosales
leroyrosales / dev.environment.md
Last active January 1, 2024 23:06
My dev environment.

The below dev environment is set up for Mac.

My Current OS:

  • macOS Catalina 10.15.7

My Current Hardware:

  • iMac Retina 5k Late 2014
  • MB Air Retina 13-inch 2018