This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://gist.github.com/g5codyswartz/3a39448d5919588fb5627ca0344fd4da | |
var authors = {}; | |
var author; | |
$(".author_cell").each(function(i,e) { | |
author = $(e).text().trim(); | |
if (!authors.hasOwnProperty(author)) authors[author] = 0; | |
authors[author]++ | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
===== Custom | |
{{ | |
--- | |
onot | |
placehold | |
lorem | |
Reputation Manger Login | |
istock | |
, | |
https://reputation.g5search.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Must be ran from console and will put the export into your clipboard | |
var gallery = $(".edit_widget"); | |
//var title = $("div:nth-child(2)", gallery); | |
var photos = $(".photo-fields", gallery); | |
var exportData = []; | |
$('.photo-field').each(function(){ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MR Phase 1 Locations | |
var showLocations = [ | |
"Broadmoor Ridge Apartment Homes", | |
"Candlelight Square", | |
"Cherry Creek Apartments", | |
"Cherry Lane Apartment Homes", | |
"Hampton Park Apartment Homes", | |
"Indigo Park", | |
"Lakeside Casitas Apartment Homes", | |
"Lamplight Square at The Park", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var longInputTextLengths = 0; | |
var inputTextFields = $('input[type=text]'); | |
var inputTextFieldsCount = inputTextFields.length; | |
$(inputTextFields).each(function() { | |
if($(this).val().length > 155) { | |
console.log(this); | |
console.log('^ Above element character length: '+$(this).val().length); | |
longInputTextLengths++; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// v1.3.2 | |
// Author: Cody Swartz | |
// Check for stragglers like G+ input that has no place holder yet | |
// Then inject the place holder to bandaide it so we can handle it | |
// Also patch any that have incorrect placeholders | |
$("input[type=text][id^=widget_settings_attributes]").each(function() { | |
$(this).attr('placeholder', getCorrectPlaceholder(this)); | |
}); |