0x1396062f8b786433f1d40a4b41d46011487754050edb3e3c83372b234b4611f9
View charm.abi.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
// ABI for https://ftmscan.com/address/0xa320ae264278476be187468ff38e4f6b883b3b92#code | |
[ | |
{ | |
inputs: [ | |
{ | |
internalType: "address", | |
name: "_authority", | |
type: "address", | |
}, | |
{ |
View download-all-syntax-episodes.sh
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 | |
# Wget's all episodes of the Syntax.fm podcast hosted by Wes Bos and Scott Tolinkski | |
# Fetch full episode list | |
curl https://syntax.fm/api/shows | | |
jq -c '.[] | {url: .url, number: .number, title: .title, displayDate: .displayDate}' | | |
while read row; do | |
url=$(echo $row | jq -r '.url') | |
number=$(echo $row | jq -r '.number') |
View vscode-insiders-syntax-breaker.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
import Skeleton from 'antd/lib/skeleton'; | |
import * as React from 'react'; | |
import InfiniteScroll from 'react-infinite-scroll-component'; | |
import { defineMessages, FormattedMessage as FM } from 'react-intl'; | |
import { connect } from 'react-redux'; | |
import { bindActionCreators, Dispatch } from 'redux'; | |
import styled from '@emotion/styled'; | |
import { ActivityActions } from '../../actions/activities'; | |
import { ArticleActions } from '../../actions/articles'; | |
import { ProfilesActions } from '../../actions/profiles'; |
View keybase.md
Keybase proof
I hereby claim:
- I am dawsbot on github.
- I am dawsonbotsford (https://keybase.io/dawsonbotsford) on keybase.
- I have a public key ASDJzw6qFpV1UYX6mBcg_nwO09No6c7S9w7MIwcFszV_CQo
To claim this, I am signing this object:
View image-minifier.sh
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 | |
# Minify all jpg and png images in current directory recursively | |
command_exists () { | |
type "$1" &> /dev/null ; | |
} | |
# Learn more about optipng at http://sweetme.at/2013/09/11/how-to-maximize-png-image-compression-with-optipng/ | |
if command_exists optipng ; then | |
optipng -o2 -strip all **/*.png | |
else |
View add-eslint.sh
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 | |
yarn add eslint eslint-config-uber-es2015 | |
echo '{\n "extends": ["eslint-config-uber-es2015"]\n}' > .eslintrc |
View RandomString.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
const tmpDir = path.join(os.tmpdir(), Math.random().toString().slice(8), basename); |
View curl.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
const url = 'https://google.com'; | |
const pify = require('pify'); | |
const fs = pify(require('fs')); | |
const fetch = require('node-fetch'); | |
const tempfile = require('tempfile'); | |
const curl = (package, version) => { | |
fetch(url) | |
.then(res => res.text()) |
View addOwners.sh
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 | |
users=(npmusername1 npmusername2 npmusername3) | |
for user in "${users[@]}" | |
do | |
npm owner add "$user" | |
done | |
NewerOlder