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
const channels = "ESL_SC2, OgamingSC2, cretetion, freecodecamp, storbeck, habathcx, RobotCaleb, noobs2ninjas"; | |
const end = `https://api.twitch.tv/kraken/streams/channel=${channels}`; | |
const streams = []; | |
const myHeaders = new Headers(); | |
myHeaders.append("Client-Id", "lfy14565wb4omezslcd2a3unt3zcv9"); | |
const init = { | |
method: 'GET', | |
Headers: myHeaders |
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
#include <cs50.h> | |
#include <string.h> | |
#include "helpers.h" | |
#include <stdio.h> | |
/** | |
* Returns true if value is in array of n values, else false. | |
*/ | |
bool search(int value, int values[], int n) | |
{ |
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
for (var i = 0; i < 11; i++) { | |
start(i); | |
} | |
function start(i) { | |
setTimeout(function(){ | |
console.log("i:" + i); | |
}, 1000); | |
} |
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
<button id="quotes">New Quote</button> | |
<div id ="title"></div> | |
<p id ="content"></p> | |
<!-- JS file is inserted using Codepen --> |
NewerOlder