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 -x | |
APP_NAME=$1 | |
echo "logs for APP ${APP_NAME}" | |
ssh ubuntu@bots.rikai-bots.com "pm2 logs author.${APP_NAME}" |
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
{ | |
"meta": { | |
"theme": "elegant" | |
}, | |
"basics": { | |
"name": "David 'DC' Collier", | |
"label": "Creative Engineer", | |
"picture": "", | |
"email": "dc@rikai.co", |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
export const makeEmbed = async (params: MakeEmbedParams) => { | |
let { agent, imageUrl, imageAlt, encoding: imageFormat } = params; | |
imageFormat = imageFormat || guessImageFormat(imageUrl) | |
imageAlt = imageAlt || 'image' | |
const check = fs.existsSync(imageUrl) | |
if (!check) { | |
const msg = `Unable to find image ${imageUrl}`; | |
console.error(msg); |
OlderNewer