Skip to content

Instantly share code, notes, and snippets.

AK Adapa akaak

Block or report user

Report or block akaak

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View aws-ri-day3.md

shared accounts have scaling limits

each dept has their own account does not always work well

  • issues with reorgs and reassignment of projects

accounts around apps or micro services -->

make sure that the governance mechanisms do not slow you down and not let you move faster

embrace the genius of the AND.

@akaak
akaak / git-multiple-accounts.md
Last active Sep 19, 2017
Use Git with multiple accounts
View git-multiple-accounts.md
View test.json
{
"title": "TOML Example",
"owner": {
"name": "Tom Preston-Werner",
"organization": "GitHub",
"bio": "GitHub Cofounder & CEO\n\tLikes \"tater tots\" and beer and backslashes: \\",
"dob": "1979-05-27T07:32:00.000Z"
},
"database": {
"server": "192.168.1.1",
@akaak
akaak / simple-page.html
Created Dec 4, 2016
Simple HTML page with bootstrap css
View simple-page.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
@akaak
akaak / aws-js-sdk-sample.html
Last active Nov 20, 2016
AWS Javascript SDK Sample
View aws-js-sdk-sample.html
<!---
Sample.html file used with the AWS example located at: https://aws.amazon.com/developers/getting-started/browser/
Working sample with facebook app integration.
--->
<!DOCTYPE html>
<html>
<head>
View pip-scripts.md

if an install using pip is giving errors/exceptions then

$ sudo pip install PACKAGE_NAME --ignore-installed six should work

@akaak
akaak / app.py
Created Feb 11, 2016
Flask application with a Form, Model, Database (SQLAlchemy for ORM). Uses modules structure rather than a package structure.
View app.py
from flask import Flask, url_for
from flask import request, render_template, flash, redirect
from forms import BizForm, AddBiz
from flask.ext.sqlalchemy import SQLAlchemy
from flask.ext.security import Security, utils
from contextlib import closing
from datetime import date
import forms
View mail-test.py
#
# code snippet from python docs: https://docs.python.org/2/library/email-examples.html
#
# Prerequisites
# - install MailCatcher <http://mailcatcher.me>
# - set me and you email addresses
# - create a mail-file.txt with some text content
#
# Import smtplib for the actual sending function
@akaak
akaak / unrar.sh
Created Oct 29, 2015
Go through far files in a directory and unrar them.
View unrar.sh
# Go through all files with extension .rar.
# create a folder with DIR_FileName
# Unrar each rar file and keep them in the respective directory
# install unrar using "brew" on mac
#
for filename in *.rar;
do echo "put ${filename}";
mkdir RAR_${filename}
unrar ${filename} RAR_${filename}
done
View md-gist.md
You can’t perform that action at this time.