This demo was presented at the AWS Summit @ Cape Town on Jul 12th.
You can find the slides here.
- index.js: The node.js code used for AWS Lambda
- sam_template.yaml: The AWS SAM template in YAML format (i.e. CloudFormation)
:: | |
::####################################################################### | |
:: | |
:: Change file associations to protect against common ransomware attacks | |
:: Note that if you legitimately use these extensions, like .bat, you will now need to execute them manually from cmd or powershell | |
:: Alternatively, you can right-click on them and hit 'Run as Administrator' but ensure it's a script you want to run :) | |
:: --------------------- | |
ftype htafile="%SystemRoot%\system32\NOTEPAD.EXE" "%1" | |
ftype WSHFile="%SystemRoot%\system32\NOTEPAD.EXE" "%1" | |
ftype batfile="%SystemRoot%\system32\NOTEPAD.EXE" "%1" |
This demo was presented at the AWS Summit @ Cape Town on Jul 12th.
You can find the slides here.
Get all your apps installed before starting your workday. Otherwise: "I'm going to focus." Opens up project, reaches for headphones, installs spotify, logs in using social media to find friends to get my playlist in order, ends up watching cat videos.
If you have to chop vegetables, you'll eat the cookies instead. Keep healthy snacks, divided into individual servings, prepped and ready to grab.
Invest in comfortable, high quality headphones. It's too easy to get distracted by the tiniest sound when you are working on a slightly less than enthralling task.
:: | |
::####################################################################### | |
:: | |
:: Change file associations to protect against common ransomware attacks | |
:: Note that if you legitimately use these extensions, like .bat, you will now need to execute them manually from cmd or powershell | |
:: Alternatively, you can right-click on them and hit 'Run as Administrator' but ensure it's a script you want to run :) | |
:: --------------------- | |
ftype htafile="%SystemRoot%\system32\NOTEPAD.EXE" "%1" | |
ftype WSHFile="%SystemRoot%\system32\NOTEPAD.EXE" "%1" | |
ftype batfile="%SystemRoot%\system32\NOTEPAD.EXE" "%1" |
Download the appropriate Kali Linux .iso
I used a 64 bit .iso
image, downloaded via HTTP. I downloaded the amd64 weekly version, as the pool
linux headers (needed below for installation of wireless drivers) were ahead of the stable release kernel.
Download the SHA256SUMS
and SHA256SUMS.gpg
files from the same location.
----- Interested Reads------ | |
+ Interesting Read (Serverless Architecture of Acloud guru) | |
https://read.acloud.guru/serverless-the-future-of-software-architecture-d4473ffed864 | |
----- Getting Started------- | |
+ Requirements | |
+ AWS Free Tier Account | |
+ PC with putty and putty keygen/ Mac | |
+ Optional | |
+ IoS/ Android App $20 |
#!/bin/bash | |
readonly DB_FILE="$(pwd)/images.db" | |
readonly IMG_DIR="$(pwd)/images" | |
save-images() { | |
echo "Create ${DB_FILE}" | |
echo "$(docker images|grep -v 'IMAGE ID'|awk '{printf("%s %s %s\n", $1, $2, $3)}'|column -t)" > "${DB_FILE}" | |
echo "Read ${DB_FILE}" |
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.
/* | |
https://www.youtube.com/watch?v=iOGIKG3EptI | |
https://github.com/awslabs/aws-go-wordfreq-sample/blob/master/cmd/uploads3/main.go | |
https://docs.aws.amazon.com/sdk-for-go/api/aws/ | |
- first configure your aws credentials run: aws configure | |
- go get -u github.com/aws/aws-sdk-go/aws | |
- login to UI web aws s3 interface | |
- go to S3 service |
# disable fish greeting message | |
set fish_greeting | |
# configure fish git prompt | |
set __fish_git_prompt_showdirtystate 'true' | |
set __fish_git_prompt_showuntrackedfiles 'true' | |
set __fish_git_prompt_color_branch yellow | |
set __fish_git_prompt_char_dirtystate '✨ ' | |
set __fish_git_prompt_char_untrackedfiles '🆕 ' |