Skip to content

Instantly share code, notes, and snippets.

View aavileli's full-sized avatar

Ashley Avileli aavileli

  • Australia
View GitHub Profile
@aavileli
aavileli / IAM Permissions List.md
Created September 12, 2019 00:22 — forked from mechcozmo/IAM Permissions List.md
A list of IAM permissions you can use in policy documents. Collected from the myriad of places Amazon hides them. (incomplete)
@aavileli
aavileli / redis_cheatsheet.bash
Created November 14, 2017 04:19 — forked from LeCoupa/redis_cheatsheet.bash
Redis Cheatsheet - Basic Commands You Must Know --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
# Redis Cheatsheet
# All the commands you need to know
redis-server /path/redis.conf # start redis with the related configuration file
redis-cli # opens a redis prompt
# Strings.
@aavileli
aavileli / sed-cheatsheet.md
Created August 2, 2017 07:30 — forked from sergeyklay/sed-cheatsheet.md
Sed Cheatsheet

Sed Cheat Sheet

Sed command line options

sed [options] sed-command [input-file]
Option Description Example
@aavileli
aavileli / sed-cheatsheet.md
Created August 2, 2017 07:30 — forked from sergeyklay/sed-cheatsheet.md
Sed Cheatsheet

Sed Cheat Sheet

Sed command line options

sed [options] sed-command [input-file]
Option Description Example
// Node.js CheatSheet.
// Download the Node.js source code or a pre-built installer for your platform, and start developing today.
// Download: http://nodejs.org/download/
// More: http://nodejs.org/api/all.html
// 0. Synopsis.
// http://nodejs.org/api/synopsis.html
@aavileli
aavileli / elastic_restore.py
Created June 30, 2016 01:36 — forked from yodlegists/elastic_restore.py
elastic restore script
import elasticsearch # https://www.elastic.co/guide/en/elasticsearch/client/python-api/current/index.html
import curator # http://curator.readthedocs.io/en/v3.4.1/examples.html
import sys
PROD_PREFIX = "prod_"
REPOSITORY = "Your repository here
HOST_LIST = [{"host": "Friendly-hostname-here", "port": 9200}]
def main():
@aavileli
aavileli / inventory.py
Created December 8, 2015 04:28 — forked from duggan/inventory.py
Present Terraform tfstate data as an Ansible inventory
#!/usr/bin/env python
import sys
import os
import json
import argparse
import collections
__description__ = """Ansible Dynamic Inventory for Terraform."""
__epilog__ = """