This file contains 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
Name: heroku-toolbelt | |
Version: 3.2.1 | |
Release: 1%{?dist} | |
Summary: Heroku Toolbelt Client | |
Group: Development | |
License: Unknown | |
URL: https://toolbelt.heroku.com/ | |
#Source0: | |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
This file contains 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
import json, boto | |
# Connect to IAM with boto | |
iam = boto.connect_iam(ACCESS_KEY, SECRET_KEY) | |
# Create user | |
user_response = iam.create_user('aws-user') | |
# Create Policy | |
policy = { 'Version' : '2012-10-17'} |
This file contains 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
# RESOURCE | |
- WAIT4(2) | |
http://www.kernel.org/doc/man-pages/online/pages/man2/wait4.2.html | |
- GETRUSAGE(2) | |
http://www.kernel.org/doc/man-pages/online/pages/man2/getrusage.2.html | |
- The Linux Programming Interface | |
§26.1.6 The wait3() and wait4() System Calls | |
- Python Documentation | |
http://docs.python.org/2/library/os.html | |
http://docs.python.org/2/library/resource.html |