We talked about testing
/ debugging
in class today, and I wanted to provide a guide for classmates who are working
on a Javascript stack. There are multiple testing frameworks available in the JS ecosystem, but our group uses:
This file contains hidden or 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
// To send email with AWS Simple Email Service(SES) API in Node.js. | |
/*----------------------Sample codes----------------------*/ | |
// .env | |
// AWS_KEY='AKAMTCsample2FUUQ' | |
// AWS_SECRET='4RsVEfTBJudFA9/pyFnjPvFsampleCbfq69bRV' | |
// AWS_IAM_NAME='IAM_NAME' | |
// AWS_SES_SENDER='[email protected]' |
This file contains hidden or 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
Try to run the following two commands: | |
sudo fuser -k 80/tcp | |
sudo fuser -k 443/tcp | |
NGINX BASIC COMMAND | |
sudo service nginx restart | |
sudo service nginx start | |
sudo service nginx stop |
############################################################################################################ ################## ############################# ################## #############################
This Gist collection contains all localstack related examples
################## ############################# ################## ############################# ############################################################################################################
This file contains hidden or 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 { Global } from 'recharts'; | |
import { htmlSvgToPdfSvg } from '../imageFromSvg'; | |
export const ChartSvg = ({ debug, style, children, width, height }) => { | |
return chartToPdfSvg(children, width, height, debug, style); | |
}; | |
const chartToPdfSvg = (children, width, height, debug, style) => { |