Skip to content

Instantly share code, notes, and snippets.

View yurited's full-sized avatar

Li Yu yurited

  • Yahoo Inc.
  • San Jose
View GitHub Profile
./Intermediates.noindex/Pods.build/Debug-iphonesimulator/ARSDK.build/Objects-normal/x86_64/ARSDK-Swift.h
./Intermediates.noindex/Pods.build/Debug-iphonesimulator/ARSDK.build/DerivedSources/ARSDK-Swift.h
./Intermediates.noindex/Pods.build/Debug-iphoneos/ARSDK.build/Objects-normal/arm64/ARSDK-Swift.h
./Intermediates.noindex/Pods.build/Debug-iphoneos/ARSDK.build/DerivedSources/ARSDK-Swift.h
./Intermediates.noindex/SwiftMigration/HomeRun/Intermediates.noindex/HomeRun.build/Debug-iphonesimulator/NotificationServiceExtension.build/Objects-normal/x86_64/NewsroomServiceExtension-Swift.h
./Intermediates.noindex/SwiftMigration/HomeRun/Intermediates.noindex/HomeRun.build/Debug-iphonesimulator/NotificationServiceExtension.build/DerivedSources/NewsroomServiceExtension-Swift.h
./Intermediates.noindex/SwiftMigration/HomeRun/Intermediates.noindex/HomeRun.build/Debug-iphonesimulator/HomeRunTodayWidget.build/Objects-normal/x86_64/HomeRunTodayWidget-Swift.h
./Intermediates.noindex/SwiftMigration/HomeRun/Intermediates.noindex/Ho
https://github.com/jmrichardson/vmg
@yurited
yurited / what-forces-layout.md
Created August 9, 2018 17:52 — forked from paulirish/what-forces-layout.md
What forces layout/reflow. The comprehensive list.

What forces layout / reflow

All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.

Element

Box metrics
  • elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParent
  • elem.clientLeft, elem.clientTop, elem.clientWidth, elem.clientHeight
  • elem.getClientRects(), elem.getBoundingClientRect()

Keybase proof

I hereby claim:

  • I am yurited on github.
  • I am yuriandropov (https://keybase.io/yuriandropov) on keybase.
  • I have a public key ASC3RiAW7RSHKRjAE6v3QrHULHa1S104WK6NBCIlZRQ5YQo

To claim this, I am signing this object:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Author</key>
<string></string>
<key>AuthorURL</key>
<string></string>
<key>CanDragToMacroGroup</key>
<true/>
@yurited
yurited / y20breakpoints.json
Created April 27, 2017 21:02
y20 breakpoints
xxs: '@media screen and (max-width: 500px)',
xs: '@media screen and (max-width: 767px)',
sm: '@media screen and (max-width:959px)',
md: '@media screen and (min-width:960px) and (max-width:1247px)',
lg: '@media screen and (min-width:1800px)',
virgominimal: '@media screen and (max-width: 1850px)',
virgooptimal: '@media screen and (min-width: 1851px)',
virgofull: '@media screen and (max-width: 1600px)',
maxh700: '@media(max-height:43.750em) and (min-width:1025px)',
maxh770: '@media(max-height:48.125em) and (min-width:1025px)',