Skip to content

Instantly share code, notes, and snippets.

View artburkart's full-sized avatar
💭
why

Arthur Burkart artburkart

💭
why
  • Coinbase
  • somewhere rainy, probably
View GitHub Profile
@artburkart
artburkart / dock.sh
Created July 5, 2016 17:28
Custom changes for Mac dock
defaults write com.apple.dock static-only -bool TRUE; killall Dock
defaults write com.apple.dock showhidden -bool TRUE; killall Dock
defaults write com.apple.dock autohide-time-modifier -float 1; killall Dock
defaults write com.apple.dock tilesize -int 16; killall Dock
@artburkart
artburkart / codedeploy_agent_install.yml
Last active August 13, 2018 21:33
Ansible scripts to install & run CodeDeploy not as unprivileged user on Ubuntu
---
- name: Update apt cache
apt: update_cache=yes
- name: Install Ruby
apt: pkg=ruby2.0 state=present
- block:
- name: Get CodeDeploy version
set_fact:
@artburkart
artburkart / mongo.md
Last active May 4, 2016 00:03
mongo-bookmark

Mongo Installation

  1. Follow these instructions to install mongo on 14.04.
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
@artburkart
artburkart / README.md
Created April 30, 2016 01:55
Mongo-Connector setup instructions

Mongo-Connector Tutorial

Mongo-Connector

I don't know anything about elasticsearch. All I know is this mongo-connector thing makes life easy. Here are some quick start instructions to follow for setup:

AWS ES

@artburkart
artburkart / sample_calendar.html
Created March 22, 2016 01:36
Sample Google Calendar embedded view
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Some Calendar</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<!-- change your color if you want https://webmastermind.net/knowledgebase.php?action=displayarticle&id=15 -->
<iframe src="https://calendar.google.com/calendar/embed
@artburkart
artburkart / acceptance_automation.md
Last active March 1, 2016 01:57
Resources and Tips for Tackling Acceptance Automation

HTML Lesson

  • Reliable Sources:
  • Books:
  • Style guide
  • Definitions
    • HTML
    • XHTML
    • Tags
  • HTML attributes
@artburkart
artburkart / gulpfile.js
Created September 28, 2015 20:01
gulpfile.js that reads system environment variables
var gulp = require('gulp');
gulp.task('default', function() {
console.log(process.env.HELLO);
});
@artburkart
artburkart / BRANCHPOPPING.md
Last active August 29, 2015 14:27
A walk-through on how to pop a commit out of your history

Branch Popping

  • Set up the branches

git checkout master

git branch MAXT-F

git checkout -b MAXT-B

@artburkart
artburkart / .gitconfig
Last active March 1, 2016 00:33
gitconfig
[user]
email = [email protected]
name = Arthur Burkart
[core]
editor = vim
[color]
ui = true
[color "branch"]
current = yellow reverse
local = yellow
@artburkart
artburkart / add_string_nums.py
Last active August 29, 2015 14:08
add string numbers
def add_string_nums(s1, s2):
if s1 is None or s2 is None:
raise AttributeError()
val = 0
rev_s1 = s1[::-1]
rev_s2 = s2[::-1]
for i in range(len(s1)):
curr = ord(rev_s1[i])
if curr >= 48 and curr <= 57:
val += (curr - 48) * 10 ** i