- 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
View skia.tsx
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", |
View apollo-helper-function.js
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; |
View frontend-github-action-example.yml
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 }} |
View backend-github-action-example.yml
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 |
View dev-debate-topics.md
View dev-debate.md
Dev Debate - debating viewers on tech topics
rules
- We agree on a topic
- I debate someone for a max of 30 minutes
- At the end of Twitch chat votes who won
possible topics - suggestions welcome
View fun-code-stream.txt
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 |
View auto-accept-linkedin-conns.js
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() |
View web-deploy.yml
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: |
View [slug].js
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