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
#!/usr/bin/env bash | |
set -euo pipefail | |
NAMES=$(curl -n 'https://api.github.com/user/repos?affiliation=owner&per_page=100' | jq -r .[].name) | |
for NAME in $NAMES; do | |
echo $NAME | |
git clone "[email protected]:$GITHUB_USERNAME/$NAME.git" | |
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
#!/usr/bin/env bash | |
set -euo pipefail | |
BRANCHES=$(git branch -r | grep origin | grep greenkeeper) | |
for BRANCH in $BRANCHES; do | |
echo "Deleting $BRANCH" | |
git push origin --delete "${BRANCH//origin\//}" | |
echo "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
#!/usr/bin/env bash | |
echo "It Works!" |
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
#!/usr/bin/env node | |
'use strict'; | |
const {execSync} = require('child_process'); | |
const querystring = require('querystring'); | |
const {debug, format: f} = require('@ianwremmel/debug'); | |
const fetch = require('cross-fetch'); |
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 {logger} from './lib/logger'; | |
class X { | |
get lgr() { | |
return logger; | |
} | |
method() { | |
this.lgr.info('called'); | |
} |
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 React from 'react'; | |
import {Account} from '../../../mocks/account'; | |
import {Table} from '../table/table'; | |
export type AccountListProps = { | |
accounts: Account[]; | |
}; | |
export const AccountList = ({accounts}: AccountListProps) => ( |
OlderNewer