| Code | Title | Duration | Link |
|---|---|---|---|
| Keynote | Andy Jassy Keynote Announcement Recap | 0:01 | https://www.youtube.com/watch?v=TZCxKAM2GtQ |
| Keynote | AWS re:Invent 2016 Keynote: Andy Jassy | 2:22 | https://www.youtube.com/watch?v=8RrbUyw9uSg |
| Keynote | AWS re:Invent 2016 Keynote: Werner Vogels | 2:16 | https://www.youtube.com/watch?v=ZDScBNahsL4 |
| Keynote | [Tuesday Night Live with Jame |
| import boto3 | |
| ec2 = boto3.resource('ec2') | |
| def lambda_handler(event, context): | |
| # create filter for instances in running state | |
| filters = [ | |
| { | |
| 'Name': 'instance-state-name', | |
| 'Values': ['running'] |
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.
- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
| library(quantstrat) | |
| library(magrittr) | |
| Xt = getSymbols('2498.TW', auto.assign = F) | |
| # 1st Step: Attach MA indicators onto symbol | |
| Xt$MA5 = Xt %>% Cl %>% SMA(5) | |
| Xt$MA60 = Xt %>% Cl %>% SMA(60) | |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
- Follow standard conventions.
- Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
- Boy scout rule. Leave the campground cleaner than you found it.
- Always find root cause. Always look for the root cause of a problem.
| #!/bin/bash | |
| # === INFO === | |
| # altnetworking.sh | |
| # Description: Run the specified application in a custom networking environment. | |
| # Uses cgroups to run process(es) in a network environment of your own choosing (within limits!) | |
| VERSION="0.1.0" | |
| # Author: John Clark | |
| # Requirements: Debian 8 Jessie (plus iptables 1.6 from unstable) | |
| # |
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.
| #!/bin/bash | |
| ## cf from http://programster.blogspot.com/2014/05/ubuntu-14-desktop-install-fira-sans-and.html | |
| cd /tmp | |
| # install unzip just in case the user doesn't already have it. | |
| if [[ `uname` = Linux ]]; then | |
| sudo apt-get install unzip -y | |
| wget "http://www.carrois.com/downloads/fira_4_1/FiraFonts4106.zip" |
| { | |
| "AWSEBDockerrunVersion": "1", | |
| "Image": { | |
| "Name": "<AWS_ACCOUNT_ID>.dkr.ecr.us-east-1.amazonaws.com/<NAME>:<TAG>", | |
| "Update": "true" | |
| }, | |
| "Ports": [ | |
| { | |
| "ContainerPort": "443" | |
| } |
