Skip to content

Instantly share code, notes, and snippets.

@g5codyswartz
g5codyswartz / Selenium Cheat Sheet.md
Last active September 3, 2021 21:33 — forked from kenrett/Selenium Cheat Sheet.md
Selenium Cheat Sheet with Table of Contents and Header Fixes - Ruby
@g5codyswartz
g5codyswartz / name_me_a_widget.rb
Last active December 31, 2015 08:30 — forked from Sillson/name_me_a_widget.rb
Output an array of widget names & locations
class OrphanAnnie
def self.perform
lost_souls = mom_is_that_you
write_to_loggers("#{lost_souls}")
end
def self.mom_is_that_you
names = Widget.orphans.select {|i| !i.parent_widget.nil?}
web_pages = names.map {|w|
self.get_infos(w)
@g5codyswartz
g5codyswartz / get-down-with-down-arrows.js
Last active August 29, 2015 14:25 — forked from Sillson/get-down-with-down-arrows.js
Gettin down with down-arrows
/* Fixes overlap issues */
.row .down-arrow {z-index:0;}
.row .down-arrow.home-arrow {z-index:100;}
</style><script>function insertAfter(referenceNode, newNode) {
referenceNode.parentNode.insertBefore(newNode, referenceNode.nextSibling);
console.log(referenceNode.parentNode);
}
var div = document.getElementsByClassName("row-grid");