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
<style> | |
.hidden { display: none; } | |
</style> | |
{block:IndexPage} | |
<div id="index" {block:SearchPage}class="hidden"{/block:SearchPage}> | |
<div class="content {block:TagPage}hidden{/block:TagPage}” role="main" id="introtext"> | |
<article class="post post-type-text"> | |
<div class="container"> |
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
Foursquare chat: | |
Search for Foursquare location | |
Return Foursquare locations | |
Click button to enter chat room for that location | |
Enter username | |
Chat! | |
Coffee process: | |
Get supplies ready | |
Explain what we’re going to do |
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
// 1. What's the max number? | |
var max = 0; | |
for (var i = 0; i < a.length; i++) { | |
if(a[i] > max) { | |
max = a[i]; | |
} | |
} | |
console.log("max number is " + max); |
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 startupX = ['Uber', 'Google', 'Amazon', 'Apple', 'Facebook', 'Twitter']; | |
var startupY = ['Slack', 'Trello', 'Tesla', 'Hyperloop', 'Harvest']; | |
var startupIdea; | |
var favorites = []; | |
var startup = document.querySelector('.startup'); | |
var generate = document.querySelector('.generate'); | |
var save = document.querySelector('.save'); | |
var print = document.querySelector('.print'); | |
var list = document.querySelector('.list'); |
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 grade = prompt("What's the grade?"); | |
switch (grade) { | |
case "A": case "B": case "C": case "D": | |
console.log("Pass"); | |
break; | |
case "F": | |
console.log("Fail"); | |
break; | |
default: | |
console.log("Error"); |
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
### Keybase proof | |
I hereby claim: | |
* I am diklein on github. | |
* I am diklein (https://keybase.io/diklein) on keybase. | |
* I have a public key ASDuxaw8fj91j45zleyXqxCzhsjC08pv6yL2gEpY8z_bdAo | |
To claim this, I am signing this object: |