Check this out on Dev.to
- How to handle SSH keys with ec2-github actions https://zellwk.com/blog/github-actions-deploy/
- SSH_PRIVATE_KEY
- HOST_NAME / IP_ADDRESS
| # Standard Library | |
| import argparse | |
| import json | |
| import logging | |
| import subprocess | |
| import time | |
| from typing import List | |
| # Configure logging | |
| logging.basicConfig( |
Check this out on Dev.to
| /** | |
| * Filename: FACPaymentUtils.js | |
| * Created by: xerosai @ 22/07/2020 11:10 AM | |
| * @author: Simon Neufville <simon@xrscodeworks.com> | |
| */ | |
| const axios = require('axios'); | |
| const CryptoJS = require('crypto-js'); | |
| const xmlJS = require('xml-js'); | |
| const xml2js = require('xml2js'); |
| [ | |
| "Abarth", | |
| "Alfa Romeo", | |
| "Aston Martin", | |
| "Audi", | |
| "Bentley", | |
| "BMW", | |
| "Bugatti", | |
| "Cadillac", | |
| "Chevrolet", |
| var gulp = require('gulp'), | |
| sass = require('gulp-sass'), | |
| browserify = require('gulp-browserify'), | |
| concat = require('gulp-concat'), | |
| embedlr = require('gulp-embedlr'), | |
| refresh = require('gulp-livereload'), | |
| lrserver = require('tiny-lr')(), | |
| express = require('express'), | |
| livereload = require('connect-livereload') | |
| livereloadport = 35729, |
| #!/bin/bash | |
| gunicorn="/usr/local/bin/gunicorn" | |
| prog="dev.maroo.info" | |
| PROJECT_HOME="/home/maroo/sites/$prog" | |
| pid="/var/lock/$prog" | |
| RETVAL=0 | |
| start() { |
| # Doesn't work | |
| <p> | |
| <% case @request.author_hosted %> | |
| <% when "yes" %> | |
| The school <b>has</b> hosted an author before. | |
| <% when "no" %> | |
| The school <b>has not</b> hosted an author before. | |
| <% end %> | |
| </p> |