This is a list of controls that can be placed into an IAM policy document. All content comes from AWS documentation.
Something wrong? Try looking here.
Table of Contents generated with DocToc
| [ | |
| { | |
| "Name": "Ship Flink runtime to cluster", | |
| "Path": "s3://<your_bucket>/flink/ship_flink_runtime.sh" | |
| }, | |
| { | |
| "Name": "Ship application to cluster", | |
| "Path": "s3://<your_bucket>/flink/ship_app.sh" | |
| } | |
| ] |
| 'use strict'; | |
| module.exports = function CustomError(message, extra) { | |
| Error.captureStackTrace(this, this.constructor); | |
| this.name = this.constructor.name; | |
| this.message = message; | |
| this.extra = extra; | |
| }; | |
| require('util').inherits(module.exports, Error); |
| #!/bin/bash | |
| if [ $# -ne 3 ] | |
| then | |
| echo "Delete keys from Redis matching a pattern using SCAN & DEL" | |
| echo "Usage: $0 <host> <port> <pattern>" | |
| exit 1 | |
| fi | |
| cursor=-1 |
The prep-script.sh will setup the latest Node and install the latest perf version on your Linux box.
When you want to generate the flame graph, run the following (folder locations taken from install script):
sudo sysctl kernel.kptr_restrict=0
# May also have to do the following:
# (additional reading http://unix.stackexchange.com/questions/14227/do-i-need-root-admin-permissions-to-run-userspace-perf-tool-perf-events-ar )
sudo sysctl kernel.perf_event_paranoid=0
| #!/usr/bin/env python | |
| """ Test HTTP Server | |
| This script starts a http server that will respond to HTTP requests | |
| with a predefined response. | |
| Usage: | |
| ./http_server.py --port=8080 --code=404 --content="Page not Found" |
| # First, remove the tags from the origin repository | |
| $ git tag -l | grep -e '-[a-zA-Z][0-9]*$' | awk '{ print ":" $1}' | xargs git push origin | |
| # Then, remove the tags locally | |
| $ git tag -l | grep -e '-[a-zA-Z][0-9]*$' | xargs git tag -d |
| #!/usr/bin/ruby | |
| # Convert a Markdown README to HTML with Github Flavored Markdown | |
| # Github and Pygments styles are included in the output | |
| # | |
| # Requirements: json gem (`gem install json`) | |
| # | |
| # Input: STDIN or filename | |
| # Output: STDOUT | |
| # Arguments: "-c" to copy to clipboard (or "| pbcopy"), or "> filename.html" to output to a file | |
| # cat README.md | flavor > README.html |
| # tunnel - secure tunnel to my vps | |
| description "ssh tunnel" | |
| start on (local-filesystems and network-device-up IFACE!=lo) | |
| stop on runlevel [!12345] | |
| respawn | |
| respawn limit 5 60 # respawn max 5 times in 60 seconds | |
| umask 022 |