Assumes you already have a sphinx project installed and a project created
make html
By default this command will build documentation to
_build/html
#!/bin/bash | |
set -e | |
# specify your MFA_DEVICE_ARN | |
MFA_DEVICE_ARN=YOUR_MFA_ARN | |
if [ MFA_DEVICE_ARN=YOUR_MFA_ARN ]; then | |
echo "Please specify the MFA_DEVICE_ARN" | |
exit 1 | |
fi |
#!/usr/bin/env bash | |
INI_FILE=~/.aws/credentials | |
while IFS=' = ' read key value | |
do | |
if [[ $key == \[*] ]]; then | |
section=$key | |
elif [[ $value ]] && [[ $section == '[default]' ]]; then | |
if [[ $key == 'aws_access_key_id' ]]; then |
Assumes you already have a sphinx project installed and a project created
make html
By default this command will build documentation to
_build/html
aws s3api put-bucket-versioning \
--bucket bucket \
--versioning-configuration '{"MFADelete":"Enabled","Status":"Enabled"}' \
--mfa 'arn:aws:iam::aws_account_id:mfa/root-account-mfa-device passcode'
aws s3api get-bucket-versioning --bucket bucket
During GSoC 2017 I worked on implementation of server-to-server part of XEP-0198 protocol. This extension improve reliability of server-to-server communication and make the whole XMPP network more robust.
I implemented mod_stream_mgmt_s2s
module for ejabberd. This module adds support for server-to-server stream management.
To view commit history follow link:
https://github.com/Amuhar/ejabberd/commits/xep_0198_s2s?author=amuhar
#!/usr/bin/env python | |
import boto3 | |
import argparse | |
def lookup_by_id(sgid): | |
sg = ec2.get_all_security_groups(group_ids=sgid) | |
return sg[0].name | |
The steps below can be followed to create a new AMI for use with Amazon EC2 instances that includes the latest versions of R, RStudio, and RStudio Server. The idea is inspired by the work of Louis Aslett, who creates and hosts his own public AMIs for RStudio. My own goal was to create an AMI with RStudio v1.0.0 or higher, such that I could use the recent R Notebooks feature. However, the instructions should generally apply for whenever you might be impatient accessing the latest version of R-related software on AWS (via an interactive browser interface...).
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.
$ uname -r