AWS Lambda: Advanced Coding Session (slides)
Live demos:
- Amazon API Gateway Access Control
- Amazon Kinesis Streams processing
- Amazon Cognito Sync trigger
- AWS CloudFormation Custom Resources
https://hbr.org/2017/09/happiness-traps |
https://www.youtube.com/watch?v=D-tue-ZPThY | |
http://info.bimobject.com/bimobject-apps | |
http://www.graphisoft.com/downloads/ | |
http://www.openbim.org/ |
#!/bin/sh | |
# | |
# a simple way to parse shell script arguments | |
# | |
# please edit and use to your hearts content | |
# | |
ENVIRONMENT="dev" |
# starting simple HTTP server with Python in background | |
screen -d -m python -m SimpleHTTPServer 7777 | |
# killing process running with screen in background | |
kill -9 `top -n 1 | pgrep screen` |
Live demos:
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.
For more about AWS and AWS Certifications and updates to this Gist you should follow me @leonardofed
##### load it in the server ##### | |
#!/bin/bash | |
#mosh-server | |
#sshd | |
moshserver=$(ps -aef | grep mosh-server | wc -l); | |
sshdstate=$(ps -aef | grep sshd | wc -l); | |
[[ $moshserver > 1 ]] && echo "didnt load mosh-server" || mosh-server | |
[[ $sshdstate > 1 ]] && echo "didnt load sshd" || sshd |
Set all files to zero. | |
``` | |
ls | xargs -I {} sh -c '> {}' | |
``` |
#!/usr/bin/ruby | |
require 'pony' #pony gem takes care of email | |
require 'syslog' #syslog logs to /var/log/syslog, the core log file for Ubuntu. | |
def log(msg) | |
# $0 is the current script name | |
Syslog.open($0, Syslog::LOG_PID | Syslog::LOG_CONS) { |s| s.warning msg } | |
end | |
ps=`ps ax` |
dd if=/dev/zero of=CREATE_TEST_FILE bs=1k count=4700000 |