This file contains hidden or 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
(function(){ | |
var salaryElementSelector = ".salary, .subheading__salary, .offer-text, .candidate-info--salary, .btn-one-click-offer span", | |
salaryElements = document.querySelectorAll(salaryElementSelector); | |
for (var i = 0; i < salaryElements.length; ++i) { | |
salaryElements[i].style.display = "none"; | |
} | |
})(); |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Video.js | HTML5 Video Player</title> | |
<link href="http://www.flashls.org/videojs/video-js.css" rel="stylesheet" type="text/css"> | |
<script src="http://www.flashls.org/videojs/video.js"></script> | |
<script> | |
videojs.options.flash.swf = "http://tout-development.site.s3.amazonaws.com/tomhallettest/video-js-mangui-dist.swf"; | |
videojs.options.flash.flashVars = { hls_startfromlevel: 0 }; | |
</script> |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Video.js | HTML5 Video Player</title> | |
<link href="http://www.flashls.org/videojs/video-js.css" rel="stylesheet" type="text/css"> | |
<script src="http://www.flashls.org/videojs/video.js"></script> | |
<script> | |
videojs.options.flash.swf = "http://tout-development.site.s3.amazonaws.com/tomhallettest/video-js-mangui-dist.swf"; | |
</script> | |
</head> |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Video.js | HTML5 Video Player</title> | |
<link href="http://www.flashls.org/videojs/video-js.css" rel="stylesheet" type="text/css"> | |
<script src="http://www.flashls.org/videojs/video.js"></script> | |
<script> | |
videojs.options.flash.swf = "http://www.flashls.org/videojs/video-js.swf"; | |
</script> | |
</head> |
This file contains hidden or 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
window.JasmineReact = {}; | |
JasmineReact.renderComponent = function(component, container){ | |
var done = false, | |
callback = function(){ done = true; }, | |
isDone = function(){ return done; }; | |
if(typeof container === "undefined" ){ | |
container = document.getElementById("jasmine_content"); | |
} |
This file contains hidden or 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
# app/views/layouts/application.haml | |
= render "shared/test_iframe_loaded" | |
# app/views/shared/_test_iframe_loaded.haml | |
- if Rails.env.test? | |
:javascript | |
(function(){ | |
if(window.top !== window.self){ | |
$(document).ready(function(){ |
This file contains hidden or 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
# Prereqs | |
# os x (i have lion) | |
# install Xcode from the "App Store" | |
#install soloist gem | |
sudo gem install soloist --no-ri --no-rdoc | |
#create a dir to store your soloist cookbooks | |
mkdir -p ~/projects && cd ~/projects | |
mkdir -p chef/cookbooks/pivotal_workstation && cd chef/cookbooks/pivotal_workstation |
This file contains hidden or 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
#in controller test | |
# response.body.should be_valid_json | |
RSpec::Matchers.define :be_valid_json do | |
match do |actual| | |
JSON.parse(actual) | |
end | |
end |
NewerOlder