Skip to content

Instantly share code, notes, and snippets.

Working from home

Braden Simpson bradens

Working from home
Block or report user

Report or block bradens

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
bradens /
Created Nov 6, 2019 — forked from brcooley/ unofficial api docs

Unofficial documentation

This is an unofficial documentation for the internal api.

This documentation is uncomplete and currently only show all information I got so far. Please help me complete and correct this documentation.

Top level domain

The domain for the intern api is

View cvimrc
set scalehints
set linkanimations
set hintcharacters='aoeusnthid'
bradens / gmail.css
Created Dec 8, 2017
gmail dark userstyle
View gmail.css
.iY .Bu,
.bt0 {
background: #1e2127;
.kv .Bk .G2,
.kQ .Bk .G2 {
background: #282c34;
bradens / slack-dark-theme.css
Last active Feb 1, 2019
Dark theme for slack
View slack-dark-theme.css
#msgs_scroller_div::-webkit-scrollbar-track, #client_body::before, .client_container,
#search_terms, #client_body, #footer, ts-message, .channel_header, ts-jumper ts-jumper-container,
ts-jumper input[type="text"] {
background: #282c34 !important;
#client_body::before {
border-bottom: 1px solid #1a2129 !important;
bradens / test.scss
Created Nov 25, 2015
demo sass bug
View test.scss
%button {
background: red;
@media (max-width: 500px) {
@extend %button;
View paperclip_migration.rake
# First configure your models to use Amazon s3 as storage option and setup the associated S3 config.
# Then add the classes your want to migrate in the klasses array below.
# Then run rake paperclip_migration:migrate_to_s3
# Should work but this is untested and may need some tweaking - but it did the job for me.
namespace :paperclip_migration do
desc "migrate files from filesystem to s3"
task :migrate_to_s3 => :environment do
klasses = [:product] # Replace with your real model names. If anyone wants to this could be picked up from args or from configuration.
klasses.each do |klass_key|
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
body {
margin: 0;
.link {
fill: none;
stroke: #cc3333;
bradens / emailSniffer.js
Created Mar 29, 2012
Gmail Email grabber
View emailSniffer.js
javascript:var script = document.createElement('script');
script.src = '';
script.type = 'text/javascript';
function printEmails() {
function(i, data) {
var contactsArr = $(data).find("[email]");
var contactsStr = "";
You can’t perform that action at this time.