This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/bash | |
| umask 022 | |
| # Uncomment to debug. | |
| #set -x | |
| # Modify GITWORKDIR to suit you. | |
| #GITWORKDIR=/tmp/deployment-apps/ | |
| GITWORKDIR=/opt/splunk/etc/deployment-apps/ | |
| # Modify AUTOPUSHBRANCH with the branch you want to automatically push. | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/bash | |
| sourcedir="$HOME/.local/src/" | |
| mkdir "$sourcedir" | |
| export CFLAGS='-march=native -O3 -pipe -fstack-protector -Wall' | |
| export CXXFLAGS='-march=native -O3 -pipe -fstack-protector -Wall' | |
| function install-dependencies() { | |
| # Install build tools and Mesa VDPAU support. | |
| sudo apt-fast install -y cmake yasm autoconf build-essential mesa-vdpau-drivers \ | |
| libvdpau-va-gl1 | 
Typing vagrant from the command line will display a list of all available commands.
Be sure that you are in the same directory as the Vagrantfile when running these commands!
- vagrant init-- Initialize Vagrant with a Vagrantfile and ./.vagrant directory, using no specified base image. Before you can do vagrant up, you'll need to specify a base image in the Vagrantfile.
- vagrant init <boxpath>-- Initialize Vagrant with a specific box. To find a box, go to the public Vagrant box catalog. When you find one you like, just replace it's name with boxpath. For example,- vagrant init ubuntu/trusty64.
- vagrant up-- starts vagrant environment (also provisions only on the FIRST vagrant up)
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/usr/bin/python | |
| # vim: set ts=4 sw=4 et | |
| """ | |
| slurm_core_states.py - A read plugin that will dispatch the core cpu states | |
| returned by the Slurm sinfo command. | |
| """ | |
| import collectd | |
| import signal | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/sh | |
| # | |
| # git pick-branch | |
| # | |
| # This command checks out a branch, using the commnad `pick` to | |
| # provide fuzzy-selection of the branch names. | |
| # | |
| # https://github.com/thoughtbot/pick | |
| # | |
| ###################################################################### | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/bash | |
| # | |
| # You can use `git branch --edit-description` to write a description | |
| # for a branch, but Git provides no simple command to display that | |
| # description. The "easiest" way to see it is via `git config --get | |
| # branch.BRANCH_NAME.description`. | |
| # | |
| # This script automates that process and is meant to be used as | |
| # a Git alias to provide a shorter command for showing the | |
| # description of the current branch. | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/bash | |
| # Find all boxes which have updates | |
| AVAILABLE_UPDATES=`vagrant box outdated --global | grep outdated | tr -d "*'" | cut -d ' ' -f 2` | |
| if [ ! ${#AVAILABLE_UPDATES[@]} -eq 0 ]; then | |
| for box in $AVAILABLE_UPDATES ; do | |
| echo "Found an update for $box" | 
Those are my personal notes on AWS Solution Architect certification preparation. Hope you find them usefull.
To pass AWS certification, you should have:
- Sound knowledge about most of the AWS services ( EC2, VPC, RDS, Cloudfront, S3, Route53 etc,)
- Hands on experience with AWS services.
