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
| javascript:(function(){var script=document.createElement("SCRIPT");script.src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js';script.type='text/javascript';document.getElementsByTagName("head")[0].appendChild(script);var checkReady=function(callback){if(window.jQuery){callback(jQuery)}else{window.setTimeout(function(){checkReady(callback)},100)}};checkReady(function($){$('primo-explore').find('[parent-ctrl="$ctrl"]').each(function(){$(this).append('<a href="#" title="'+$(this)[0].outerHTML.replace(/</g,'').replace(/>/g,'').replace(/\//g,'').replace(/"/g,'').replace(/parent-ctrl./g,'').replace(/-([a-z])/g,function(m,w){return w.toUpperCase()}).replace(/\$ctrl(.*)/g,'')+'" style="display:block;height:auto;color:black;">Hover for id</a>')})})})(); |
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
| <script> | |
| jQuery.getScript("https://nyu.libcal.com/js/myscheduler.min.js", function() { | |
| jQuery("#mysched_25686").LibCalMySched({iid: 1287, lid: 0, gid: 0, uid: 25686, width: 560, height: 680, title: 'Meet with Vicky', domain: 'https://nyu.libcal.com'}); | |
| }); | |
| </script> | |
| <!-- Place the following link anywhere in your page. Make sure the id "mysched_25686" matches with the above code: jQuery("#mysched_25686") //--> | |
| <button id="mysched_25686" href="#">Schedule Appointment</button> | |
| <!-- Below is optional button styling //--> | |
| <style> |
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
| { | |
| "page": { | |
| "id": "kyyfz4489y7m", | |
| "name": "Public", | |
| "url": "https://nyulibraries.statuspage.io", | |
| "time_zone": "America/New_York", | |
| "updated_at": "2020-07-13T05:49:20.329-04:00" | |
| }, | |
| "components": [ | |
| { |
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
| it('should return true for a response of a matching success status code', () => { | |
| expect(syntheticTest.checkUrl({ url: 'https://library.nyu.edu/', status: 200 })).toBeTruthy(); | |
| }); | |
| it('should return false for a successful response of the wrong status code', () => { | |
| expect(syntheticTest.checkUrl({ url: 'https://library.nyu.edu/', status: 201 })).toBeFalsy(); | |
| }); | |
| it('should return true for a response of a matching error status code', () => { | |
| expect(syntheticTest.checkUrl('https://library.nyu.edu/not/existing/path', 404)).toBeTruthy(); |
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
| --- | |
| permalink: "/.circleci/config.yml" | |
| layout: none | |
| --- | |
| --- | |
| # my config file | |
| version: 2 | |
| jobs: | |
| ... |
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
| I, [2018-04-06T11:37:52.389731 #36640] INFO -- : Could not load resource: LibGuides ID: 11155136; LibGuides URL: https://arch.library.nyu.edu/databases/proxy/NYU01631; LibGuides library review: lib review test | |
| I, [2018-04-06T11:37:52.389800 #36640] INFO -- : Could not load resource: LibGuides ID: 11155164; LibGuides URL: https://arch.library.nyu.edu/databases/proxy/NYU04352; LibGuides library review: | |
| I, [2018-04-06T11:37:52.389812 #36640] INFO -- : Could not load resource: LibGuides ID: 11155306; LibGuides URL: https://arch.library.nyu.edu/databases/proxy/NYU02674; LibGuides library review: | |
| I, [2018-04-06T11:37:52.389821 #36640] INFO -- : Could not load resource: LibGuides ID: 11155471; LibGuides URL: https://arch.library.nyu.edu/databases/proxy/NYU02725; LibGuides library review: | |
| I, [2018-04-06T11:37:52.389829 #36640] INFO -- : Could not load resource: LibGuides ID: 17967593; LibGuides URL: https://arch.library.nyu.edu/databases/proxy/NYU05357; LibGuides library review: | |
| I, [2018-04-06T11:37:52.38983 |
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
| console.log('Loading a web page'); | |
| var page = require('webpage').create(); | |
| var url = 'http://bobcatdev.library.nyu.edu/primo-explore/fulldisplay?docid=nyu_aleph005813930&context=L&vid=NYU-NUI&lang=en_US&search_scope=all&adaptor=Local%20Search%20Engine&tab=all&query=any,contains,monkey&sortby=rank&offset=0'; | |
| page.open(url, function (status) { | |
| console.log("Waiting 10 seconds to load all scripts"); | |
| setTimeout(function(){ | |
| console.log("Checking core modules"); | |
| console.log("centralCustom module:"); |
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
| it { is_expected.to have_tag("figure", with: {class: "content-type"}) } | |
| it { is_expected.to have_tag("figure"){ with_tag("i"); with_tag("figcaption") } } | |
| it { is_expected.to have_tag("figure"){ with_tag "i", with: {class: "icons-nyu-content-type-essay"} } } | |
| it { is_expected.to have_tag("figure"){ with_tag "figcaption", "Essay" } } |
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
| { | |
| "external_id":"776c94748ed5f2cd0769c400deb855411e391225", | |
| "engine_id":"55c5390cd3b687dbc9000012", | |
| "document_type_id":"55c5390cd3b687dbc9000014", | |
| "id":"577e0addc75d070216e6d7da", | |
| "updated_at":"2016-07-15T07:55:49+00:00", | |
| "site_domain":"http://dev.library.nyu.edu", | |
| "url":"http://dev.library.nyu.edu/services/borrowing/nyu/day-shelf/", | |
| "collection":"services", | |
| "card_html":" <div class=\"item item--without-thumb\"> <h2 class=\"item__title\"> <a href=\"/services/borrowing/nyu/day-shelf/\" title=\"View more info on Day Shelf\">Day Shelf</a> </h2> <p class=\"item__meta\"> </p> </div>", |
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
| TBOLT-ETH-EG131:browbeat Eric$ phantomjs --ignore-ssl-errors=yes --debug=true --ssl-protocol=any --cookies-file=/Users/Eric/sites/browbeat/my_cookie test.js | |
| 2016-06-13T15:06:54 [DEBUG] CookieJar - Created and will store cookies in: "/Users/Eric/sites/browbeat/my_cookie" | |
| 2016-06-13T15:06:54 [DEBUG] Set "http" proxy to: "" : 1080 | |
| 2016-06-13T15:06:54 [DEBUG] Phantom - execute: Configuration | |
| 2016-06-13T15:06:54 [DEBUG] 0 objectName : "" | |
| 2016-06-13T15:06:54 [DEBUG] 1 cookiesFile : "/Users/Eric/sites/browbeat/my_cookie" | |
| 2016-06-13T15:06:54 [DEBUG] 2 diskCacheEnabled : "false" | |
| 2016-06-13T15:06:54 [DEBUG] 3 maxDiskCacheSize : "-1" | |
| 2016-06-13T15:06:54 [DEBUG] 4 diskCachePath : "" | |
| 2016-06-13T15:06:54 [DEBUG] 5 ignoreSslErrors : "true" |
NewerOlder