I hereby claim:
- I am hansott on github.
- I am hansott (https://keybase.io/hansott) on keybase.
- I have a public key ASBaddsO2x5jvRIiL-ZL0phJiTgZq9kLLVljMuEG8Gq4Xwo
To claim this, I am signing this object:
| echo 'export PATH="$HOME/bin:$PATH";' >> ~/.bash_profile | |
| mdkir ~/bin | |
| ln -s ~/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl ~/bin/subl |
| # Hello, and welcome to makefile basics. | |
| # | |
| # You will learn why `make` is so great, and why, despite its "weird" syntax, | |
| # it is actually a highly expressive, efficient, and powerful way to build | |
| # programs. | |
| # | |
| # Once you're done here, go to | |
| # http://www.gnu.org/software/make/manual/make.html | |
| # to learn SOOOO much more. |
I hereby claim:
To claim this, I am signing this object:
| import { logger } from "./logger"; | |
| import React, { useReducer } from "react"; | |
| const reducer = (state, action) => state; | |
| const initialState = {}; | |
| export const Component = () => { | |
| const [state, dispatch] = useReducer(logger(reducer), initialState); | |
| return <div></div>; |
| describe("ForgotPassword", () => { | |
| test("it sends email when reset is requested", async () => { | |
| const users = new UsersInMemory(); | |
| const forgotPassword = new ForgotPassword(users); | |
| // ... | |
| }); | |
| }); |
| export function getUserByEmail(mysql: MySQL, email: string) { | |
| return await mysql.select( | |
| "SELECT id, email, ... FROM users WHERE email = :email", | |
| { email: email } | |
| ); | |
| } |