Skip to content

Instantly share code, notes, and snippets.

View jasondewitt's full-sized avatar
:shipit:

Jason DeWitt jasondewitt

:shipit:
View GitHub Profile
@jasondewitt
jasondewitt / volume.sh
Created December 14, 2018 20:50 — forked from sebastiencs/volume.sh
Script to get volume notification with dunst http://imgur.com/a/qWgAw
#!/bin/bash
# You can call this script like this:
# $./volume.sh up
# $./volume.sh down
# $./volume.sh mute
function get_volume {
amixer get Master | grep '%' | head -n 1 | cut -d '[' -f 2 | cut -d '%' -f 1
}
@jasondewitt
jasondewitt / sns-to-slack.py
Created August 9, 2018 17:02 — forked from hayd/sns-to-slack.py
sns to slack aws lambda python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
Follow these steps to configure the webhook in Slack:
1. Navigate to https://<your-team-domain>.slack.com/services/new
2. Search for and select "Incoming WebHooks".
@jasondewitt
jasondewitt / README.md
Created March 24, 2017 14:49 — forked from leonardofed/README.md
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.

For more about AWS and AWS Certifications and updates to this Gist you should follow me @leonardofed


import sys
import locust
import gevent
from gevent.socket import socket
from gevent.queue import Queue
import time
from utils.bootstrap import test_conf as TEST_CONFIG
import insight