- JavaScript vs. TypeScript
- Coding Interviews are great
- Deno vs. Node
- flutter vs react-native
- is HTML a programming language
- JWT vs Sessions
- Hooks are Bad (React)
- light mode vs dark mode
- React is bad
- React vs Plain HTML/Vanilla Javascript
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
// I'm trying to get paths with clip-rule to work. Example: | |
// <path fill-rule="evenodd" clip-rule="evenodd" d="M148 62.5C148" /> | |
// this works | |
const p = Skia.Path.MakeFromSVGString(`<path fill-rule="evenodd" clip-rule="evenodd" d="M148 62.5C148" />`) | |
const frame0 = { | |
props: { | |
"fillRule": "evenodd", | |
"clipRule": "evenodd", |
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
import { produce } from "immer"; | |
import { ApolloCache } from "@apollo/client"; | |
export const updateQuery = ( | |
store, | |
query, | |
fn, | |
variables | |
) => { | |
let data; |
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
steps: | |
- uses: actions/checkout@v2 | |
- run: yarn install | |
- run: yarn test | |
- run: yarn build | |
# make sure to add netlify-cli in your package.json | |
- name: Send to Netlify | |
env: | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} |
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
steps: | |
- uses: actions/checkout@v2 | |
- run: yarn install | |
- run: yarn test | |
- run: yarn docker:build | |
- run: yarn docker:login |
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. pair programming | |
3. coding an interesting project (doesn't work), but demoing one will | |
5. clash of coding or some kind go coding game | |
6. try to teach __any_famous_twitch_streamer__ to code (problem is getting one of them interested) | |
7. collab with coding train + coding garden | |
Top tier coding streams ATM | |
+2,000 | |
- Michael Reeves |
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
function clickAccept() { | |
document.querySelectorAll('button.artdeco-button--secondary').forEach(b => { | |
if (b.innerText.includes('Accept')) { | |
b.click() | |
} | |
}); | |
} | |
function loadMore() { | |
document.querySelector('button.artdeco-button--icon-right').click() |
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
name: web-deploy | |
on: | |
push: | |
tags: | |
- "web-*" | |
- "both-*" | |
jobs: | |
landing: |
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
import fs from "fs"; | |
import MDX from "@mdx-js/runtime"; | |
import ReactDOM from "react-dom/server"; | |
import path from "path"; | |
const Post = ({ post }) => { | |
return <div dangerouslySetInnerHTML={{ __html: post }} />; | |
}; | |
export async function getStaticPaths() { |
NewerOlder