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:
#!/bin/bash | |
users=(npmusername1 npmusername2 npmusername3) | |
for user in "${users[@]}" | |
do | |
npm owner add "$user" | |
done | |
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()) |
const tmpDir = path.join(os.tmpdir(), Math.random().toString().slice(8), basename); |
#!/bin/bash | |
yarn add eslint eslint-config-uber-es2015 | |
echo '{\n "extends": ["eslint-config-uber-es2015"]\n}' > .eslintrc |
#!/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 |
I hereby claim:
To claim this, I am signing this object:
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'; |
#!/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') |