create database bank;
create database if not exists bank;
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
#!/usr/bin/env bash | |
# @author: Krupeshgithub | |
# @version: 0.1 | |
commit_msg=$(cat "$1") | |
RED="\e[31m" | |
GREEN="\e[32m" |
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
#!/usr/bin/env bash | |
# @author: Krupeshgithub | |
# @version: 0.1 | |
# You can skip this script with `--no-verify` | |
RED="\e[41m" | |
CYEN="\e[96m" | |
NOCOLOR="\e[0m" |
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
""" | |
Create table and add multiple random users on database with help | |
`https://randomuser.me/api?results=1` api. | |
Big thanks to creat this api: `https://randomuser.me/api?results=1` | |
""" | |
import requests | |
import mysql.connector | |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
name: Deploy file and layers into Lambda | |
on: | |
push: | |
branches: | |
- main # Trigger the workflow on push or pull request to the main branch | |
jobs: | |
deploy-function: | |
runs-on: ubuntu-latest |