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
a { | |
background-image: linear-gradient(90deg, rgba(251, 89, 74, 1) 0%, rgba(251, 222, 75, 1) 25%, rgba(112, 228, 112, 1) 50%, rgba(51, 183, 255, 1) 75%); | |
-webkit-background-clip: text; | |
-webkit-text-fill-color: rgba(255, 255, 255, 0.46); | |
} |
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
{ | |
"baseUrl": "https://cjb.dev", | |
"private": true, | |
"scripts": { | |
"shorten": "netlify-shortener" | |
}, | |
"author": "Chris Biscardi <chris@christopherbiscardi.com> (http://christopherbiscardi.com/)", | |
"license": "MIT", | |
"devDependencies": { | |
"netlify-shortener": "^1.0.4" |
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
use "collections" | |
use "debug" | |
actor Main | |
let input: List[ILong] | |
let opInput: ILong = 1 | |
var opModes: Array[USize] = [] | |
var position: USize = 0 | |
var parameter: USize = 0 | |
var opcode: ILong = 0 // initial value. invalid opcode |
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
yw() { | |
yarn workspace $(yarn workspaces info --json | jq '.data' -r | jq "[keys][0] []" -r | fzf) $@ | |
} |
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
const groupChildNodesByType = ({ nodeStore, nodes }) => | |
console.log(nodes) || console.log('\n\n') || | |
_(nodes) | |
.flatMap(node => (node.children || []).map(nodeStore.getNode)) | |
.groupBy(node => (node.internal ? node.internal.type : undefined)) | |
.value() |
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
# yw develop | |
yw() { | |
yarn workspace $(yarn workspaces info --json | jq '.data' -r | jq "[keys][0] []" -r | fzf) $@ | |
} |
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
const GatsbyThemeComponentShadowingResolverPlugin = require(`.`); | |
exports.onCreateWebpackConfig = ({ | |
store, | |
stage, | |
getConfig, | |
rules, | |
loaders, | |
actions |
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
const mdx = require("@mdx-js/mdx"); | |
const { MDXProvider, mdx: createElement } = require("@mdx-js/react"); | |
const vm = require("vm"); | |
const { transform } = require("@babel/core"); | |
const React = require("react"); | |
const { renderToStaticMarkup } = require("react-dom/server"); | |
const content = `# some markdown | |
content |
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
fetch("https://graphql-demo.azurewebsites.net?query={devices{id}}").then(v => v.json()).then(v => console.log(v)) |