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
def get_page_in_section access_token | |
encoded_access_token = URI::escape(access_token) | |
params = {:params => {:select => 'title,contentUrl,links'}} | |
headers = {:content_type => "application/json", :Authorization => "Bearer #{encoded_access_token}", :params => {:select => 'title,contentUrl,links'}} | |
# debugger | |
response = RestClient.get PAGES_URL, headers | |
JSON.parse(response) | |
end |
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 pointsObj = { N:0, E:90, S:180, W:270 }; | |
var _getDegree = function (orientation) { | |
switch (orientation) { | |
case "N": | |
return 0; | |
case "E": | |
return 90; | |
case "S": | |
return 180; |
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
Seach String: href\=\".*\"\s |
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
<div class="content"> | |
<div class="background-image"> | |
<!-- SVG MARKUP --> | |
</div> | |
</div> |
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
<form id="provcon-form-email" target="_self" onsubmit="" action="javascript:postProvConToGoogleEmail()" style="display:none"> | |
<div class="alert alert-dismissable alert-warning text-center"> | |
Thanks! | |
<br> | |
If you tell us your e-mail address, someone from our team will get back to you very soon to explore how you can start saving! | |
</div> | |
<div class="form-group"> | |
<label for="email" class="h4">Email</label> | |
<input | |
required="required" |
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
.readmore-narrative p { | |
overflow: scroll; | |
max-height: 300px; | |
white-space: normal; // breaks lines as necessary to fill line boxes | |
} |
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
@each $icon-name in email, twitter, linkedin { | |
@each $color in black, white { | |
.icon-#{$icon-name}-#{$color} { | |
background: url('../icons/#{$icon-name}-#{$color}.png'); | |
background-image: url('../icons/#{$icon-name}-#{$color}.svg'), none; | |
} | |
} | |
} |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
NewerOlder