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 apiKey = << API KEY HERE >> | |
const google = require('googleapis'); | |
const serviceAccount = require('./key.json'); | |
const { client_email, private_key } = serviceAccount; | |
const scope = 'https://www.googleapis.com/auth/books' | |
const client = new google.auth.JWT(client_email, null, private_key, scope, null); | |
client.authorize(function (err, tokens) { | |
if (err) { |
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
function recp () { | |
refmt --parse ml --print re "$@" | pbcopy; | |
} |
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
function recp () { | |
if [ $# -ge 1 -a -f "$1" ] | |
then | |
refmt --parse ml --print re "$@" | pbcopy; | |
else | |
pbpaste | refmt --parse ml --print re | pbcopy | |
fi | |
} |
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
043555af2c290df0f5c704d0d782962300204ab85d14f6d70ce45206ea300485859a9956d461e809058de75da937eeb876f92a45900d3f7a3b75dc83912e58e762;mythic-forge-test |