Skip to content

Instantly share code, notes, and snippets.

View cjwilburn's full-sized avatar
👩‍🚀
planet earth is blue/and there's nothing i can do

Courtney Wilburn cjwilburn

👩‍🚀
planet earth is blue/and there's nothing i can do
View GitHub Profile
@cjwilburn
cjwilburn / cjwilburn-speaker-rider.md
Last active August 2, 2019 19:47 — forked from tatianamac/tatiana-mac-speaker-rider.md
CJ Wilburn's Speaker Rider

Speaker Rider

by Courtney Wilburn

forked from Tatiana Mac

Before I'll agree to a speaking event, I try to do as much research I can around the event to ensure it aligns with my ethos. I want to share this in case it's helpful to any other speakers.

👐 Speaking comes with immense privilege. I am grateful to all the conference organisers who have brilliantly hosted me. I would love to continue to exercise this privilege to speak at conferences, and use this privilege to make the landscape more accessible and beneficial to tech's most marginalised and suppressed communities.

😫 I wish I didn't have to, but this is long because I provide a lot of explanations for those of you who never had to consider these things. And I will be honest, most thoughtful conferences I've attended check most of these boxes intrinsically, particularly when conference runners are experienced speakers. They get it.

@cjwilburn
cjwilburn / mongodb-s3-backup.sh
Created August 22, 2018 14:20 — forked from eladnava/mongodb-s3-backup.sh
Automatically backup a MongoDB database to S3 using mongodump, tar, and awscli (Ubuntu 14.04 LTS)
#!/bin/sh
# Make sure to:
# 1) Name this file `backup.sh` and place it in /home/ubuntu
# 2) Run sudo apt-get install awscli to install the AWSCLI
# 3) Run aws configure (enter s3-authorized IAM user and specify region)
# 4) Fill in DB host + name
# 5) Create S3 bucket for the backups and fill it in below (set a lifecycle rule to expire files older than X days in the bucket)
# 6) Run chmod +x backup.sh
# 7) Test it out via ./backup.sh
FROM ubuntu:latest
RUN apt-get update
RUN apt-get install -y ruby2.2.1 git
RUN apt-get clean
RUN gem install bundler
RUN locale-gen en_US en_US.UTF-8
EXPOSE 8080
RUN git clone https://github.com/cwruacm/acm.case.edu /opt/acm/
RUN cd /opt/acm && bundle install
FROM ubuntu:14.04
MAINTAINER Yaodong Zhao
RUN apt-get install -y build-essential libssl-dev git nginx postgresql postgresql-contrib
RUN git clone https://github.com/sstephenson/rbenv.git .rbenv
RUN git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
ENV PATH ~/.rbenv/bin:~/.rbenv/bin:$PATH
@cjwilburn
cjwilburn / compat_l5.php
Created April 8, 2016 13:24 — forked from vluzrmos/compat_l5.php
Lumen L5 compatibility helpers. That file should be added on root path of your project... and added to your composer.json
<?php
if(!function_exists('config_path'))
{
/**
* Return the path to config files
* @param null $path
* @return string
*/
function config_path($path=null)
@cjwilburn
cjwilburn / config.yaml
Created March 19, 2016 12:31 — forked from coilysiren/config.yaml
Unfollows: (a) people who dont follow you back (b) people you haven't talked to publically (c) people who haven't posted in 3 months
---
# start working from % of your most recent follows
# ex: for 1000 follows, 5 = ignore the last 50 accounts you followed
offset: 5
# what you use at https://twitter.com/login
# DONT LET THIS GET POSTED PUBLICLY
username: "XXXXXXXXX"
password: "XXXXXXXXX"
@cjwilburn
cjwilburn / responsive-screens.js
Last active August 29, 2015 14:26 — forked from ryanmark/responsive-screens.js
Easy responsive screenshots with Phantom.js
/*
* Take a set of full height screenshots for a range of screensizes.
* phantomjs responsive-screens.js http://www.cnn.com/ png
*
* This will create a directory tree in your current directory which
* mirrors the URL. All files will be named with the current time.
* You can run this on a cron to build an archive of screenshots.
**/
var page = new WebPage(),