This is the reference point. All the other options are based off this.
|-- app
| |-- controllers
| | |-- admin
# Dont forget to set the env variable "certdomain", and either fill in your email below or use an env variable for that too. | |
# Also note that this config is using the LetsEncrypt staging server, remove the flag when ready! | |
Resources: | |
sslSecurityGroupIngress: | |
Type: AWS::EC2::SecurityGroupIngress | |
Properties: | |
GroupId: {"Fn::GetAtt" : ["AWSEBSecurityGroup", "GroupId"]} | |
IpProtocol: tcp | |
ToPort: 443 |
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
'use strict'; | |
const app = express(); | |
... | |
app.set('trust proxy', true); | |
if (process.env.ENVIRONMENT == 'development') { | |
app.use(logger('dev')); | |
} else { |
variable "sdd_snapshot_description" { | |
description = "This is the description that will be used to identify the snapshots of our data volume. We will filter against this value." | |
default = "sdd-data-snapshot" | |
} | |
provider "aws" {} | |
// Get the latest version of our /dev/sdd snapshot | |
data "aws_ebs_snapshot" "sdd_snapshot" { | |
most_recent = true |
Type go
in terminal, to verify the installation.
Create GitHub repository in github and save the SSH repository url
Init git on server in code directory
git init
ssh-keygen -t rsa -b 4096 -C [email protected]
.pub
to repo-name.deploy.pem
' https://medium.com/@bhupathy/install-terminator-on-windows-with-wsl-2826591d2156 | |
set shell = CreateObject("Wscript.Shell") | |
xServerProcessName = "vcxsrv.exe" | |
RunXserverProcess( xServerProcessName ) | |
RunTerminator() | |
KillXserverProcess( xServerProcessName ) |
import sys | |
from datetime import timedelta | |
total_time = sys.argv[1].split('.') # 2.35 is 2hr 35min | |
delta = timedelta(hours=int(total_time[0]), minutes=int(total_time[1])) | |
minutes = delta.total_seconds() / 60 | |
total_pomodoros = round(minutes / 25) | |
print(f'🕒{total_pomodoros} Pomodoros') |