Skip to content

Instantly share code, notes, and snippets.

@samermassoud
samermassoud / IAM Policy
Last active November 16, 2022 05:33
Dynamic DNS - AWS Route 53
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"route53:GetHostedZone",
"route53:ChangeResourceRecordSets",
"route53:ListResourceRecordSets"
],
@samermassoud
samermassoud / Caddyfile
Last active November 15, 2022 07:23
wordpress deployment (using docker compose)
#--------------------------------------------------------------
# snippet - logging
#--------------------------------------------------------------
#define logging
(logging) {
log {
level debug
output file /var/log/caddy/{args.0}.log {
roll_size 20mb
roll_keep 30
@samermassoud
samermassoud / private_fork.md
Created January 19, 2022 12:28 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git