Skip to content

Instantly share code, notes, and snippets.

View bonclay7's full-sized avatar

Rodrigue Koffi bonclay7

View GitHub Profile
@stevenringo
stevenringo / reinvent-2017-youtube.md
Created December 3, 2017 23:01
Links to YouTube recordings of AWS re:Invent 2017 sessions

| Title | Description

#!/bin/bash -e
workdir=/tmp/packer
pversion=0.10.1
which packer || {
mkdir -p $workdir
cd $workdir
apt-get -qqy install unzip wget
wget https://releases.hashicorp.com/packer/$pversion/packer_${pversion}_linux_amd64.zip && \
@leonardofed
leonardofed / README.md
Last active August 25, 2026 19:38
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


@bonclay7
bonclay7 / pauseplay_aws_autoscaling.sh
Last active August 10, 2016 12:56
Pause and play autoscaling on AWS
#!/bin/bash -xe
# This script provide a way to pause/resume your autoscaling group
# created with a cloudformation stack
ARGC=$#
PRGNAME=$(basename $0)
ACTION=$1
CFN_STACK_NAME=$2
@bearfrieze
bearfrieze / comprehensions.md
Last active March 13, 2026 03:04
Comprehensions in Python the Jedi way

Comprehensions in Python the Jedi way

by Bjørn Friese

Beautiful is better than ugly. Explicit is better than implicit.

-- The Zen of Python

I frequently deal with collections of things in the programs I write. Collections of droids, jedis, planets, lightsabers, starfighters, etc. When programming in Python, these collections of things are usually represented as lists, sets and dictionaries. Oftentimes, what I want to do with collections is to transform them in various ways. Comprehensions is a powerful syntax for doing just that. I use them extensively, and it's one of the things that keep me coming back to Python. Let me show you a few examples of the incredible usefulness of comprehensions.

@todgru
todgru / aws-ec2-redis-cli.md
Created June 12, 2014 23:01
AWS redis-cli on EC2
@mycodeschool
mycodeschool / DoublyLinkedList.c
Created November 12, 2013 11:38
Doubly Linked List implementation in C
/* Doubly Linked List implementation */
#include<stdio.h>
#include<stdlib.h>
struct Node {
int data;
struct Node* next;
struct Node* prev;
};