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
| const Yelp = { | |
| getAccessToken() { | |
| if (accessToken) { | |
| return new Promise(function(resolve) { | |
| resolve(accessToken) | |
| }) | |
| } | |
| return fetch('https://cors-anywhere.herokuapp.com/' + 'https://api.yelp.com/oauth2/token?grant_type=client_credentials&client_id=' + clientId + '&client_secret=' + secret, { method: 'POST'}).then(response => response.json()).then(jsonResponse => accessToken = jsonResponse.access_token) | |
| }, |
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
| const Yelp = { | |
| getAccessToken() { | |
| if (accessToken) { | |
| return new Promise(function(resolve) { | |
| resolve(accessToken) | |
| }) | |
| } | |
| return fetch('https://cors-anywhere.herokuapp.com/' + 'https://api.yelp.com/oauth2/token?grant_type=client_credentials&client_id=' + clientId + '&client_secret=' + secret, { method: 'POST'}).then(response => response.json()).then(jsonResponse => accessToken = jsonResponse.access_token) | |
| }, |
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
| <div class="header"> | |
| <div class="container"> | |
| </div> | |
| </div> | |
| <div class="jumbotron"> | |
| <div class="container"> | |
| <div class="main"> | |
| <h1>We are Broadway</h1> |
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
| <div class="header"> | |
| <div class="container"> | |
| </div> | |
| </div> | |
| <div class="jumbotron"> | |
| <div class="container"> | |
| <div class="main"> | |
| <h1>We are Broadway</h1> |
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
| from time import sleep | |
| from math import * | |
| print "Hello! This project will bring togetherr other projects from Github. You are requested by Mr. Brown to input a list of numbers and the program will calculate the minimum, maximum, absolute value, square root and squares of the numbers you have provided.Remember! You may only enter integers or floats. But you may try to enter something else. But I doubt my code will allow it." | |
| # sleep(2) | |
| print"Go ahead, enter the values" |
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(`My name is ${myName}. I am ${myAgeInDogYears} years old in dog years.`); |
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
| Max Levchin: The management team at PayPal was very frequently | |
| incompatible. Management meetings were not harmonious. Board meetings | |
| were even worse. They were certainly productive meetings. Decisions | |
| were made and things got done. But people got called idiots if they | |
| deserved it. | |
| The next time around, at Slide, we tried to create a nicer | |
| environment. The idea of having meetings where people really liked one | |
| another seemed great. That was folly. The mistake was to conflate | |
| anger with a lack of respect. People who are smart and energetic are |
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 src="js/vendor/angular-leaflet-directive.min.js"></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
| <link href="css/main.css" rel="stylesheet" /> | |
| <link href="css/leaflet.css" /> <----------- edit this line | |
| <script src="js/vendor/angular.min.js"></script> | |
| <script src="js/vendor/leaflet.js"></script> | |
| <script src="js/vendor/angular-leaflet-directive.min.js"></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
| $(document).ready(function() { | |
| $("div.button").hover(function() { | |
| }); | |
| //$(this).toggleClass("button-hover"); | |
| // Start: Title button's functionality | |
| $('#title-form .button').click(function() { |