Skip to content

Instantly share code, notes, and snippets.

View briandailey's full-sized avatar

Brian Dailey briandailey

View GitHub Profile
@aastaneh
aastaneh / gist:46ceb03150e5284b8a3a
Last active August 29, 2015 14:07
How to swap out AWS ELB Policies for CVE-2014-3566 using AWS CLI Tools
https://aws.amazon.com/security/security-bulletins/CVE-2014-3566-advisory/
says to go into the web interface and change SSL negotiation settings.
What if you have hundreds of ELBs to change? NO BUENO.
Here's how to do it using the CLI tools:
# List Existing Policies
aws elb describe-load-balancer-policies --load-balancer-name $ELBNAME --output text | grep POLICYDESCRIPTIONS
@briandailey
briandailey / stratasan_developer.md
Last active August 8, 2017 18:38
Stratasan: Web Developer

Lead Front-End Developer

Become a Stratanaut!

Who We Are

Stratasan is a Nashville-based company that provides intelligence on healthcare markets to hospital strategists, physician offices, community care experts, and others. We aggregate healthcare data, curate it, and provide reports and tools that aid healthcare decision-making. As an example, we give guidance to

I've always wanted to be Spock. I wanted to be competent, a scientist, a musician, a leader, good with computers, and most importantly, an officer on a starship. Also super-strong, why not.

And I wanted to be free of emotion. Still do. I have no control over the stupid things and they are nothing but trouble. Spock denies that emotion is necessarily the cornerstone of respect, friendship, kindness, care, even self-sacrifice; in his role as 1960s camp Space Socrates, he insists that the good life can be built on logic alone, indeed must be. And: the scripts bear this out. It's all true. Kirk gets in some one-liners about the value of human emotion, but Spock wins the argument in a landslide. Not by rhetoric. By his life.

Of course... it's all a lie, a lie the Vulcan culture tells itself endlessly in the hope of making it true, to survive and to keep itself sane. But even this on consideration becomes something beautiful, glorious, something to aspire to.

Do I even need to point out the parallel with *Star T

@jabbalaci
jabbalaci / pyvideo_popularity.py
Created April 19, 2015 11:10
pyvideo popularity
#!/usr/bin/env python3
# encoding: utf-8
"""
I saw a similar script on the homepage of Miguel Grinberg (the Flask book guy),
but he was using webscraping. Here I use simple API calls instead.
The script takes the presentations of a Python conference and orders the
presentations in descending order by the number of youtube views. It
is an indicator about the popularity of a video.
@atcuno
atcuno / gist:3425484ac5cce5298932
Last active July 26, 2026 12:51
HowTo: Privacy & Security Conscious Browsing

The purpose of this document is to make recommendations on how to browse in a privacy and security conscious manner. This information is compiled from a number of sources, which are referenced throughout the document, as well as my own experiences with the described technologies.

I welcome contributions and comments on the information contained. Please see the How to Contribute section for information on contributing your own knowledge.

Table of Contents

@vik-y
vik-y / delete_all_tweets.py
Last active September 22, 2023 21:04 — forked from davej/delete_all_tweets.py
This script will delete all of the tweets in a specified account.
# -*- coding: utf-8 -*-
"""
This script is forked originally from Dave Jeffery. The original implementation
was very slow and deleted around 2 tweets per second. Making it multithreaded I
am able to delete 30-50 tweets per second.
@author: vik-y
----------------------------------------------------------------------------
This script will delete all of the tweets in the specified account.