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
function myFunction() { | |
var playlistID = "[PLALIST ID GOES HERE]" | |
var APIKey = "[GET AN API KEY FROM GOOGLE TO GO HERE]" | |
var toEmail = "[E-MAIL OF COMMENTS WILL BE SENT TO THIS ADDRESS]" | |
var channelIds = []; | |
var message = ""; | |
var totalPlaylistViews = 0; | |
var TIME_LENGTH = 60 * 60 * 1000 * 24.5; // Will get all comments from the last 24.5 hours | |
var scriptProperties = PropertiesService.getScriptProperties(); |
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
<img src="https://people.engr.ncsu.edu/efg/210/s99/Notes/LLdefs.gif" alt="" width="600px"/> |
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
play = () => { | |
let g = this.state.gridFull; | |
let g2 = arrayClone(this.state.gridFull); | |
for (let i = 0; i < this.rows; i++) { | |
for (let j = 0; j < this.cols; j++) { | |
let count = 0; | |
if (i > 0) if (g[i - 1][j]) count++; | |
if (i > 0 && j > 0) if (g[i - 1][j - 1]) count++; | |
if (i > 0 && j < this.cols - 1) if (g[i - 1][j + 1]) count++; |
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
class Game { | |
constructor() { | |
this.frames = []; | |
} | |
getFrames() { | |
return this.frames; | |
} | |
score() { |
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
title | minutes | views | |
---|---|---|---|
React State Management (P5D58) - Live Coding with Jesse | 8 | 826 | |
React Infinite Scroll (P5D57) - Live Coding with Jesse | 23 | 1166 | |
Working with React Components Part 2 (P5D56) - Live Coding with Jesse | 19 | 726 | |
Coding for a Swedish Startup - a day in the life of Amber Wilkie | 9 | 2744 | |
Working with React Components (P5D55) - Live Coding with Jesse | 2 | 1162 | |
Basic CSS Styling Part 2 (P5D54) - Live Coding with Jesse | 45 | 1704 | |
Writing Secure JavaScript | 24 | 3265 | |
Learn HTML5 - full course with code samples | 52 | 11540 | |
Basic CSS Styling (P5D53) - Live Coding with Jesse | 39 | 2522 |
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
@import url(https://use.fontawesome.com/releases/v5.0.6/css/all.css); | |
#home { | |
--first-color: #674ea7; | |
--second-color: #f4e767; | |
--light-gray: lightgray; | |
} | |
#next { | |
--first-color: tomato; | |
--second-color: deepskyblue; |
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 fetch = require('node-fetch'); | |
var scimbaList = [ | |
["cJkqwhd", "Import a Default Export"], | |
["cnVnkhZ", "Create an Export Fallback with export default"], | |
["cLDNvhP", "Use * to Import Everything from a File"], | |
["cggGNub", "Use export to Reuse a Code Block"], | |
["cBWq6T9", "Understand the Differences Between import and require"], | |
["cWpbKHb", "Use getters and setters to Control Access to an Object"], | |
["cG7W6T6", "Use class Syntax to Define a Constructor Function"], |
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
#!/usr/bin/python | |
import httplib2 | |
import os | |
import sys | |
import unicodedata | |
import threading | |
import time | |
import anki_vector |
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
#!/usr/bin/env python | |
from time import sleep | |
import anki_vector | |
from youtubechat import YoutubeLiveChat, get_live_chat_id_for_stream_now | |
livechat_id = get_live_chat_id_for_stream_now("oauth_creds") | |
chat_obj = YoutubeLiveChat("oauth_creds", [livechat_id]) |
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
import React from 'react'; | |
import "bootstrap/dist/css/bootstrap.min.css"; | |
function App() { | |
return ( | |
<div className="container"> | |
Hello World | |
</div> | |
); | |
} |
OlderNewer