Skip to content

Instantly share code, notes, and snippets.

View Duder-onomy's full-sized avatar
💭
Shred till yer Dead

Greg Larrenaga Duder-onomy

💭
Shred till yer Dead
View GitHub Profile
@Duder-onomy
Duder-onomy / what-forces-layout.md
Created August 2, 2016 21:35 — 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()
@Duder-onomy
Duder-onomy / thoughts-on-grasshopper-plugins-versioning-and-migrations.txt
Last active August 18, 2016 21:02
Grasshopper Plugin Versioning and Migrations (thoughts)
Every GH Plugin has a version based on its package.json version.
When a new version of this plugin is installed
check the existing plugins in the DB to see if this one is allready installed,
if it is allready installed
download the plugin into a temp dir
look at the diff version numbers and prepare a list of migrations that need to be ran
migrations might work like
code looks at the migrations dir and looks for any versions between the version currently installed and the version desired.
http://www.adultswim.com/music/singles-2016/ Basically, take every color in a painting and randomly parallax it, then at some point, it all lines up. Pretty cool idea.
The Abominable Word
We, We gather and gape in Awe.
As the sunshine emerges, in a cascade of mercurial light.
Explode, to the other side and snarl like a beast, that barks across the sky.
Raging, in a blizzard of radioactive green frost.
What Child is this? What Child is this?
Born, or fire.
Iron Dafodil
Blessed be he who never was.
Blessed be he who has dies.
Blessed be the meek the poverty sores in the mouths of their fathers.
Blessed be the sick and tired.
Blessed be the blood born mechanism, our hope technology, the bastard son of smoke and fire.
Blessed be the bombastic dynamo, iron cacaphony, the god heavy pistons of desire.
Men Whithout Chests
How, strange, are these men without chests.
Villages, and religions writing songs. For...
Stomachs and brains, but you'll find me outside.
Contemplating the verities, the verities of the human enigma.
How curios of an age it is.
Gods of science, We await your command.
@Duder-onomy
Duder-onomy / Git push deployment in 7 easy steps.md
Created November 28, 2016 07:04 — forked from thomasfr/Git push deployment in 7 easy steps.md
7 easy steps to automated git push deployments. With small and configurable bash only post-receive hook
@Duder-onomy
Duder-onomy / code.gs
Created July 17, 2018 18:17
Google Apps Script Slack Notifier
// Setup 1: Put your slack api url below
var POST_URL = "https://hooks.slack.com/services/XXXXX/XXXXX/XXXXX";
function onSubmit(e) {
// Setup 2:
// Modify the below to make the message you want.
// See: https://developers.google.com/apps-script/reference/forms/form-response
var d = "_____________________________________ \n";
@Duder-onomy
Duder-onomy / Remove-local-merged-branches
Last active July 24, 2018 22:37
Remove local branches that have been merged
https://www.npmjs.com/package/git-removed-branches
@Duder-onomy
Duder-onomy / gist:a468423fb4c97aee16810fea9e2df18b
Created September 14, 2018 21:05
Grade A Ding Dongs "Ninja Turtles"
https://ytcropper.com/cropped/WS5b9c22523c94f