- Make sure to add files to git that you create
- Make a commit for each task you complete, as atomic as possible
- Make sure you fix eslint errors and warnings
- Make sure all added md docs are linked in README.md
- For larger tasks, create a new branch and make a pull request
- When fixing tasks from docs/tasks.md, make sure to set the task to done in the file
- Make sure to push the branch to the remote repository
- Do not be to generic in your suggestions, be specific
- Make sure you are in the correct branch when you make changes
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>CRT YouTube Player</title> | |
<style> | |
body { | |
display: flex; | |
flex-direction: column; |
ESPN's hidden API endpoints
Latest News: http://site.api.espn.com/apis/site/v2/sports/football/college-football/news
Latest Scores: http://site.api.espn.com/apis/site/v2/sports/football/college-football/scoreboard
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Football Points Simulation</title> | |
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script> | |
</head> | |
<body> | |
<canvas id="resultsChart" width="400" height="200"></canvas> |
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
/* | |
* Usage: | |
* const { alert, confirm, prompt } = useModals() | |
* alert("Hey!") // awaitable too | |
* if (await confirm("Are you sure?")) ... | |
* const result = await prompt("Enter a URL", "http://") | |
*/ | |
import React, { | |
createContext, |
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
export ZSH="$HOME/.oh-my-zsh" | |
ZSH_THEME="nord-extended/nord" | |
HIST_STAMPS="yyyy-mm-dd" | |
source ~/.zplug/init.zsh | |
zplug "plugins/git", from:oh-my-zsh | |
zplug "zsh-users/zsh-completions" | |
zplug 'zsh-users/zsh-syntax-highlighting', defer:2 | |
zplug 'zsh-users/zsh-history-substring-search', defer:3 |
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
rm -rf ~/Library/Caches/CocoaPods Pods ~/Library/Developer/Xcode/DerivedData/* | |
pod deintegrate | |
pod setup | |
pod install |
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
let previousTime = 0.0; | |
let isGameRunning = true; | |
const update = (diff) => { | |
console.log(diff); | |
}; | |
const render = () => { }; | |
const loop = time => { | |
const dt = time - previousTime; |
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
function get_public_keys () { | |
mkdir -m 700 -p ~/.ssh | |
for user in "$@" | |
do | |
curl -s https://github.com/"$user".keys >> ~/.ssh/authorized_keys | |
done | |
chmod 600 ~/.ssh/authorized_keys | |
} |
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
sudo fuser -k 80/tcp | |
sudo fuser -k 443/tcp | |
sudo service nginx restart |
NewerOlder