The initial source comes from sdcuike/issueBlog#4
https://github.com/PacktPublishing free to download books code by Packet
https://github.com/EbookFoundation/free-programming-books Very immense
| #!/bin/bash | |
| # Set as cronjob | |
| # * * * * * /root/scripts/iptables-ddns.sh >> /root/logs/iptables-ddns.log 2>&1 | |
| log () { | |
| echo "[$(date "+%F +%T")] [$1] $2" >> "$LOGS/changes.log" | |
| } | |
| HOSTS="mydynamichost.ddns.net" |
https://github.com/PacktPublishing free to download books code by Packet
https://github.com/EbookFoundation/free-programming-books Very immense
>>> docker exec -it CONTAINERID /bin/sh
/app # telnet
/bin/sh: telnet: not found
/app # apk update
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz
v3.7.0-243-gf26e75a186 [http://dl-cdn.alpinelinux.org/alpine/v3.7/main]
v3.7.0-229-g087f28e29d [http://dl-cdn.alpinelinux.org/alpine/v3.7/community]
| FROM alpine:3.14 | |
| ENV AWSCLI_VERSION "1.20.7" | |
| RUN apk add --update \ | |
| python3 \ | |
| python3-dev \ | |
| py-pip \ | |
| build-base \ | |
| && pip install awscli==$AWSCLI_VERSION --upgrade --user \ |
| const axios = require('axios') | |
| /* ... */ | |
| const params = new URLSearchParams() | |
| params.append('name', 'Akexorcist') | |
| params.append('age', '28') | |
| params.append('position', 'Android Developer') | |
| params.append('description', 'birthdate=25-12-1989&favourite=coding%20coding%20and%20coding&company=Nextzy%20Technologies&website=http://www.akexorcist.com/') | |
| params.append('awesome', true) |
| # AWS S3 bucket for static hosting | |
| resource "aws_s3_bucket" "website" { | |
| bucket = "${var.website_bucket_name}" | |
| acl = "public-read" | |
| tags { | |
| Name = "Website" | |
| Environment = "production" | |
| } |
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.
(note: replace ORGANIZATION and PROJECT)
git clone git clone [email protected]:ORGANIZATION/PROJECT.git my-repository
Located in alphabetical order (not prefer)
Cab), also designed as a more modern replacement, written in Cgolang)