Skip to content

Instantly share code, notes, and snippets.

View briandailey's full-sized avatar

Brian Dailey briandailey

View GitHub Profile
@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.
@atcuno
atcuno / gist:3425484ac5cce5298932
Last active March 25, 2024 13:55
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

@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.

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

@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

@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
@ramsey
ramsey / freenode-channel-setup
Created September 17, 2014 19:22
Base Freenode Channel Setup
Join the channel you want to register. Make sure you're an op (either the first to join, or someone who is an op there sets you to +o).
/join #newchannel
/msg chanserv register #newchannel
/msg chanserv set #newchannel mlock +cnt-s
/msg chanserv set #newchannel guard on
/msg chanserv set #newchannel secure on
/msg chanserv set #newchannel topiclock on
/msg chanserv set #newchannel keeptopic on
/msg chanserv set #newchannel url http://example.org/
@jwass
jwass / geojsonio_embed.ipynb
Created August 18, 2014 18:02
Embed geojson.io in a Jupyter / IPython notebook using geojsonio.py
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@signed8bit
signed8bit / gist:11225629
Created April 23, 2014 17:43
Vagrant provision script for devstack
#!/bin/bash
# Dependencies
apt-get update
apt-get install -y git
# Obtain and configure DevStack
cd /home/vagrant/ && git clone https://github.com/openstack-dev/devstack.git
cat > /home/vagrant/devstack/local.conf << 'EOF'
@signed8bit
signed8bit / gist:11225557
Created April 23, 2014 17:40
Vagrant file for devstack using VMware
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = '2'
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.provider 'vmware_fusion' do |v|
v.vmx['memsize'] = '2048'
v.vmx['numvcpus'] = '2'