Skip to content

Instantly share code, notes, and snippets.

View zaksoup's full-sized avatar
🐈
:pika:

Zak Auerbach zaksoup

🐈
:pika:
View GitHub Profile
@zaksoup
zaksoup / howTFDoViewBuildersWork.swift
Created July 1, 2020 04:38
A playground where I try to understand ViewBuilders
import SwiftUI
import PlaygroundSupport
struct ContentView: View {
@State var presses = 0
var body: some View {
VStack {
Text("swiftui!")
.font(.headline)
Zachary Auerbach wanted to be a dinosaur when he grew up. His parents thought that was an unrealistic goal so he settled for his second choice: a programmer, like his father. Zachary decided to join Code for America after spending the last 3 years working on distributed cloud computing at Pivotal Software. Before that, Zachary worked on preventative medicine at the healthcare startup Omada Health. Zachary believes in mission driven software design and loves working on the Safety and Justice team at Code for America.
@zaksoup
zaksoup / zaksoup_club_coc.md
Last active April 11, 2017 07:12
zaksoup.club Code of Conduct.md

zaksoup.club is dedicated to providing a harassment-free experience for everyone. We do not tolerate harassment of participants in any form.

This code of conduct applies to all zaksoup.club spaces, including the zaksoup.club instance AND any other mastodon instance you may be a member of. Anyone who violates this code of conduct may be sanctioned or expelled from these spaces at the discretion of Zak.

Harassment includes:

  • Offensive comments related to gender, gender identity and expression, sexual orientation, disability, mental illness, neuro(a)typicality, physical appearance, body size, age, race, or religion.
  • Unwelcome comments regarding a person’s lifestyle choices and practices, including those related to food, health, parenting, drugs, and employment.
  • Deliberate misgendering or use of ‘dead’ or rejected names.
  • Gratuitous or off-topic sexual images or behaviour in spaces where they’re not appropriate.
@zaksoup
zaksoup / manifest.yml
Last active April 6, 2017 21:11
bosh-vsphere-deployment-manifest
cloud_provider:
mbus: https://mbus:((mbus_bootstrap_password))@((internal_ip)):6868
properties:
agent:
mbus: https://mbus:((mbus_bootstrap_password))@0.0.0.0:6868
blobstore:
path: /var/vcap/micro_bosh/data/cache
provider: local
ntp:
- time1.google.com
@zaksoup
zaksoup / consul_logs_failed.txt
Created August 14, 2015 22:51
failed logs from A1 api_z2/1
2015/08/14 22:11:02 [INFO] serf: EventMemberLeave: consul-z1-0 10.10.16.37
2015/08/14 22:11:02 [INFO] consul: removing server consul-z1-0 (Addr: 10.10.16.37:8300) (DC: dc1)
2015/08/14 22:11:18 [ERR] memberlist: failed to receive: Remote state is encrypted and encryption is not configured
2015/08/14 22:11:42 [ERR] agent: failed to sync remote state: No known Consul servers
2015/08/14 22:11:52 [INFO] serf: EventMemberLeave: uaa-z1-0 10.10.17.6
2015/08/14 22:11:57 [ERR] agent: failed to sync remote state: No known Consul servers
2015/08/14 22:12:05 [ERR] memberlist: failed to receive: Remote state is encrypted and encryption is not configured
2015/08/14 22:12:19 [ERR] agent: failed to sync remote state: No known Consul servers
2015/08/14 22:12:37 [ERR] agent: failed to sync remote state: No known Consul servers
2015/08/14 22:12:40 [INFO] serf: EventMemberLeave: uaa-z2-0 10.10.81.2
"EtcdReleasesBucketPolicy": {
"Type" : "AWS::S3::BucketPolicy",
"Properties" : {
"PolicyDocument" : {
"Id" : "etcd-candidate-releases-bucket-policy",
"Statement" : [ {
"Sid" : "AllowWrite",
"Action" : [
"s3:GetObject",
"s3:PutObject"
@zaksoup
zaksoup / keybase.md
Created October 2, 2014 08:40
Keybase Verification

Keybase proof

I hereby claim:

  • I am zaksoup on github.
  • I am zaksoup (https://keybase.io/zaksoup) on keybase.
  • I have a public key whose fingerprint is 9BB1 CED2 1878 053C F164 FF00 70C7 F516 E769 5ED7

To claim this, I am signing this object:

@zaksoup
zaksoup / api.php
Created June 13, 2011 15:24
Playability stuff!
<?php
session_start();
$dbConnection = new Mongo();
$users = $dbConnection->playability->users;
$unplayed = $dbConnection->playability->unplayed;
$unbeaten = $dbConnection->playability->unbeaten;
$beaten = $dbConnection->playability->beaten;
@zaksoup
zaksoup / clly blocked
Created May 19, 2011 15:32
cllyblocked
http://cl.ly/6tsH/Screen_shot_2011-05-19_at_16.06.01.png