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 nums = [ 9, 8, 6, 6, 6, 5, 4, 2, 0, 0 ]; | |
function findClosest(nums, target) { | |
const options = nums.reduce((acc, val) => { | |
acc[val] ??= 0; | |
acc[val] += 1; | |
return acc; | |
}, {}); | |
let max = 0, digits = null; |
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 python3 | |
import asyncio | |
import iterm2 | |
async def main(connection): | |
async with iterm2.VariableMonitor(connection, iterm2.VariableScopes.APP, "effectiveTheme", None) as mon: | |
while True: | |
# Block until theme changes | |
theme = await mon.async_get() |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Rock Paper Scissors Checker</title> | |
</head> | |
<body> | |
<h1>Step 1: Complete this logic chart</h1> | |
<p> Hint: In the HTML look for #completeLogicOne and #completeLogicTwo to find where you can write the results.</p> | |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Rock Paper Scissors Checker</title> | |
</head> | |
<body> | |
<p> | |
Player1: <input id="player-1"> | |
</p> | |
<p> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Page Title</title> | |
</head> | |
<body> | |
<h1 class="hi">hi</h1> | |
<div id="container"> | |
<div class="hi">hi</div> | |
<div class="hey">hey</div> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Page Title</title> | |
</head> | |
<body> | |
<h1 class="hi">hi</h1> | |
<div id="container"> | |
<p class="hi">hi</p> | |
<p class="hey">hey</p> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Page Title</title> | |
</head> | |
<body> | |
<div id="intro"> | |
<h1>My Favorites</h1> | |
<p>This webapge has some of my <em>most favorite</em> things in the <strong>world</strong>!</p> | |
</div> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Page Title</title> | |
</head> | |
<body> | |
<div id="intro"> | |
<h1>My Favorites</h1> | |
<p>This webapge has some of my <em>most favorite</em> things in the <strong>world</strong>!</p> | |
</div> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Page Title</title> | |
</head> | |
<body> | |
<h1>My Favorites</h1> | |
<p>This webapge has some of my <em>most favorite</em> things in the <strong>world</strong>!</p> | |
<div id="favorites"> | |
<div> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Page Title</title> | |
</head> | |
<body> | |
<h1>About Zozo</h1> | |
<img src="https://raw.githubusercontent.com/xavi-/random/master/zozo.jpg"> | |
<p> | |
Zozo is darling puppy known for sparkling personality and cute face. She loves burrowing under blankets and chewing on stuffed animals. |
NewerOlder