- Roll a 6 sided die 4 times.
- Remove the lowest dice result.
- Add up the remaining numbers to get an ability score.
- Write down this ability score on note paper.
- Repeat these steps until you have 6 ability scores.
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 Solution: | |
def romanToInt(self, s: str) -> int: | |
numerals = { | |
'I': 1, | |
'V': 5, | |
'X': 10, | |
'L': 50, | |
'C': 100, | |
'D': 500, | |
'M': 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
conversions = { | |
'cup': 1, | |
'ml': 236.588, | |
'tbsp': 16, | |
'tsp': 48 | |
} | |
unitAlias = { | |
'cups': 'cup', | |
'mls': 'ml', |
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
let commenters = document.querySelectorAll('[data-testid="comment_author_link"]') | |
let commenterData = {} | |
commenters.forEach(commenter => commenterData[commenter.text] = commenter.href) | |
console.log(commenterData) |
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
// the origonal gist that this code is based off of: | |
// https://gist.github.com/bcnzer/e6a7265fd368fa22ef960b17b9a76488 | |
// these are refrences for firebase stuff: | |
// https://www.googleapis.com/service_accounts/v1/jwk/securetoken@system.gserviceaccount.com | |
// https://www.googleapis.com/robot/v1/metadata/x509/securetoken@system.gserviceaccount.com | |
export default async function verifyJWT(request) { | |
const encodedToken = getJwt(request) | |
if (encodedToken === 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
#include <DigiMouse.h> | |
#include <oddebug.h> | |
#include <osccal.h> | |
#include <osctune.h> | |
#include <usbconfig-prototype.h> | |
#include <usbconfig.h> | |
#include <usbdrv.h> | |
#include <usbportability.h> | |
void setup() { |
rebase the last 4 commits:
git rebase -i origin/<branch name>~4 development
clone again in a different directory:
git worktree add ../the_project_2 <branch>
intereactive rebase: rebase -i origin/development
create branch:
git branch
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. Use this template to create a new repo named "event-landing-page" | |
https://github.com/gerbriel/Bootstrap-template | |
2. Clone your new repo to your computer | |
3. Create a new branch named daily-challenge | |
git checkout -b daily-challenge | |
4. Recreate the jumbotron and speaker sections according to this wireframe | |
https://geekwiseacademy.github.io/virtual-mobile-friendly-websites/img/event-landing-page-wireframe.jpg |