Skip to content

Instantly share code, notes, and snippets.

@eurica
eurica / autobackup.bat
Created February 3, 2011 06:10
My automated backup script
@rem Simple recursive backup script dave@euri.ca 2011
@echo off
rem I strongly recommend backing up to a different drive or machine
set sourcedir=c:\projects
set destdir=g:\autobackups\projects
for /f "tokens=1-3 delims=/ " %%g in ('date /t') do (
set mm=%%g
set dd=%%h
@edwardchanjw
edwardchanjw / AWS
Last active July 18, 2017 06:34
AWS
http://www.slideshare.net/lynnlangit/understand-aws-pricing
http://www.infoq.com/presentations/fog
http://www.youtube.com/watch?v=6B4F563l-E0
http://s3.amazonaws.com/CloudVerticalBlog/CloudVertical-AWS-Cost-Cheat-Sheet.pdf
https://docs.google.com/spreadsheet/ccc?key=0AthwQzSGHFM1dGtKM3ppc2F6UHZrRGdHY1phdV96cWc#gid=0
https://docs.google.com/spreadsheet/m?key=0AoDjeOlMnC0fdGpOUWJsYzlJM3BHV0Znb2JaanpiNEE
https://cloudvertical.com/cloud-costs#cloud_costs/index
http://www.planforcloud.com/
@morhekil
morhekil / nginx.conf
Created August 14, 2014 12:18
Full request/response body logging in nginx
http {
log_format bodylog '$remote_addr - $remote_user [$time_local] '
'"$request" $status $body_bytes_sent '
'"$http_referer" "$http_user_agent" $request_time '
'<"$request_body" >"$resp_body"';
lua_need_request_body on;
set $resp_body "";
body_filter_by_lua '
@LeCoupa
LeCoupa / bash-cheatsheet.sh
Last active July 16, 2024 17:25
Bash CheatSheet for UNIX Systems --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04
@vjm
vjm / README.md
Last active October 1, 2018 11:56
Install DevOps applications as Docker Images and auto-start
  • bash <(curl -s https://gist.githubusercontent.com/vjm/fea77232e2bd6bb49f24/raw/jenkins-setup.sh)
  • bash <(curl -s https://gist.githubusercontent.com/vjm/fea77232e2bd6bb49f24/raw/jenkins-update.sh)
  • bash <(curl -s https://gist.githubusercontent.com/vjm/fea77232e2bd6bb49f24/raw/elk-setup.sh)
  • bash &lt;(curl -s https://gist.githubusercontent.com/vjm/fea77232e2bd6bb49f24/raw/elk-update.sh)

A Beginner's Guide to Scaling to 11 Million+ Users on Amazon's AWS

How do you scale a system from one user to more than 11 million users? Joel Williams, Amazon Web Services Solutions Architect, gives an excellent talk on just that subject: AWS re:Invent 2015 Scaling Up to Your First 10 Million Users.

If you are an advanced AWS user this talk is not for you, but it’s a great way to get started if you are new to AWS, new to the cloud, or if you haven’t kept up with with constant stream of new features Amazon keeps pumping out.

As you might expect since this is a talk by Amazon that Amazon services are always front and center as the solution to any problem. Their platform play is impressive and instructive. It's obvious by how the pieces all fit together Amazon has done a great job of mapping out what users need and then making sure they have a product in that space.

Some of the interesting takeaways:

@rjhintz
rjhintz / aws_sa_pro_exam.md
Last active October 19, 2021 16:52
Passing AWS Certified Solutions Architect - Professional Exam

Opinionated advice on passing the AWS Certified Solutions Architect - Professional Exam

Current as of: August, 2016

Passing SA Pro:

  • get ACloudGuru 5 certification bundle. (Disclaimer: I have no financial interest in ACloudGuru.)
  • work through Associate courses. Take and pass all Associate exams.
  • work through SA Pro course
  • take the SA Pro Sample exam. Note that answers are provided for version from the Japan site. Download the PDF. The answers are at the end of each question.
  • take SA Pro Practice exam. If you get 75% or higher, just take the SA Pro exam.
@lobster1234
lobster1234 / AWS_Certified_Developer_Associate_Sample.md
Last active July 18, 2017 09:04
AWS_Certified_Developer_Associate_Sample.md

My Answers to the Sample Questions provided on the certification site -

You can download the PDF of the questions here

  1. Which of the following statements about SQS is true?
  • A. Messages will be delivered exactly once and messages will be delivered in First in, First out order
  • B. Messages will be delivered exactly once and message delivery order is indeterminate
  • C. Messages will be delivered one or more times and messages will be delivered in First in, First out order
  • D. Messages will be delivered one or more times and message delivery order is indeterminate
@agussman
agussman / AWS-CSA-A-Notes.md
Last active July 10, 2019 02:12
Notes from studying for the AWS Certified Solutions Architect Exam. I felt well-prepared for the exam and passed with a 94%. Please reach out with any corrections or questions.

External Resources