Skip to content

Instantly share code, notes, and snippets.

Rafael Eyng rafaeleyng

Block or report user

Report or block rafaeleyng

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View oracle-drop-all-objects-in-schema
FOR cur_rec IN (SELECT object_name, object_type
FROM user_objects
WHERE object_type IN
rafaeleyng / Vagrantfile
Last active Jul 19, 2019
Vagrant ssh key provisioning
View Vagrantfile
Vagrant.configure(2) do |config| = "..."
# provisioning
config.vm.provision "file", source: "~/.ssh/", destination: "~/.ssh/"
config.vm.provision "shell", inline: "cat ~vagrant/.ssh/ >> ~vagrant/.ssh/authorized_keys"
View inner.html
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<script src="inner.js"></script>
rafaeleyng /
Last active Sep 20, 2015 — forked from paulirish/
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.


Box metrics
  • elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParent
  • elem.clientLeft, elem.clientTop, elem.clientWidth, elem.clientHeight
  • elem.getClientRects(), elem.getBoundingClientRect()
View ch-functional-programming-data.js
var orders = [
number: 1,
customer: 1,
finished: false,
items: [
product: 143,
value: 9.9,
quantity: 5
You can’t perform that action at this time.