Does this matter?
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
{ | |
"carUrl": "https://dumbo-v2-cars-encode-public.s3.us-west-2.amazonaws.com/bafyreifxo4u7nuyvjjwhlibvnzjxrb6bxo3ok6xeukze6iybdyc7kvngum%2Fbafyreifxo4u7nuyvjjwhlibvnzjxrb6bxo3ok6xeukze6iybdyc7kvngum.car", | |
"dataset": "encode-public", | |
"parts": [ | |
"mAVUSIG7RzFYiX3JUIBAJzDy/V1dgHlI/3yp8/brAZWkDZZWe", | |
"mAVUSICl6Enz7p+XpsR19HX3rXFbT98sP1GS98L2nm7pwMsI0", | |
"mAVUSIFlxWE0UJw41r+YniU9oieqKfQgolSDLU0apaB5LD5CZ", | |
"mAVUSIMmZlwF2h1G2HkUgK62LxJAhNrD0XfBrRpoeUl1WBm7K", | |
"mAVUSILZYhlK40rJ0Fxfexl5ugh60G9agykgXqyQKYwqpeh+3", | |
"mAVUSIOqqvN4gCRPRqFMgmw2nuNxKgTdKNf2jhblmSPyuzwA0", |
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
#!/bin/bash | |
echo "Finding latest version." | |
VERSION=`curl -s http://nodejs.org/dist/latest/SHASUMS.txt | awk '/node-v/ {print $2}' | head -1 | sed s/node-v// | sed s/-/\ / | awk '{print $1}'` | |
echo "Preparing to install node-v$VERSION" | |
url="http://nodejs.org/dist/v"$VERSION"/node-v"$VERSION".tar.gz" | |
echo "GET" $url | |
curl $url | tar -zxf - |
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 gen = require('ipld-schema-gen') | |
const parse = require('ipld-schema') | |
const schema = ` | |
type DataLayout map | |
advanced DataLayout | |
type Data bytes representation advanced DataLayout | |
` | |
const DataLayout = { | |
testMethod: node => { |
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
- uses: mikeal/bundle-size-action@master | |
- uses: mikeal/publish-to-github-action@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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 NeedsReady { | |
constructor () { | |
this.ready = new Promise(resolve => setTimeout(resolve, 1000)) | |
} | |
async foo () { | |
await this.ready | |
return 'bar' | |
} | |
} |
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 Database { | |
constructor (storage) { | |
this.count = 0 | |
this.storage = storage | |
} | |
async get (cid) { | |
this.count += 1 | |
return this.storage.get(cid.toBaseEncodedString()) | |
} | |
async put (block) { |
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
aws logs describe-log-streams --log-group-name="/aws/lambda/ghmetrics-staging-get-filter" --query 'logStreams[*].l│·········· | |
ogStreamName' --output table | awk '{print $2}' | grep -v ^$ | while read x; do aws logs delete-log-stream --log-stream-name="$x" --log-group-name="/a│·········· | |
ws/lambda/ghmetrics-staging-get-filter"; done |
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
module.exports = { | |
configureWebpack: config => { | |
if (process.env.NODE_ENV === 'production') { | |
config.output.publicPath = `${process.cwd()}/dist/` | |
} | |
} | |
} |
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
npm install -g @vue/cli | |
vue create my-project | |
cd my-project | |
npm install electron |