Skip to content

Instantly share code, notes, and snippets.

View chancez's full-sized avatar

Chance Zibolski chancez

View GitHub Profile
@chancez
chancez / makeapp.sh
Created May 23, 2018 17:28 — forked from robszumski/makeapp.sh
Create a Fluid-style app launcher for single-window Chrome instances on OSX
#!/bin/sh
echo "What should the Application be called (no spaces allowed e.g. GCal)?"
read inputline
name="$inputline"
echo "What is the url (e.g. https://www.google.com/calendar/render)?"
read inputline
url="$inputline"
@chancez
chancez / README.md
Created November 8, 2017 00:22 — forked from polvi/README.md
HDFS of Kubernetes

Easiest HDFS cluster in the world with kubernetes.

Inspiration from kimoonkim/kubernetes-HDFS

kubectl create -f namenode.yaml
kubectl create -f datanode.yaml

Setup a port-forward to so you can see it is alive:

@chancez
chancez / Hands-On-Intro-to-Kubernetes.html
Last active April 24, 2017 17:47 — forked from ryanj/Hands-On-Intro-to-Kubernetes.html
Kubenetes Zone "Hands-On Intro to Kubernetes" Workshop 4/17 in Austin, TX http://bit.ly/k8s-zone
<section>
<section id="kubernetes-hands-on">
<h1>Kubernetes Zone</h1>
<h1>Hands-On Workshop</h1>
<br/>
<p><a href="https://www.eventbrite.com/e/kubernetes-zone-workshop-andor-reception-tickets-32538282880">Kubernetes Zone - April 17, 2017</a></p>
<p><a href="http://bit.ly/k8s-zone">bit.ly/k8s-zone</a></p>
</section>
<section data-state='blackout' data-background-color="#000000" id='presented-by'>
<p>presented by&hellip;</p>
@chancez
chancez / Jenkinsfile
Created December 16, 2016 22:09 — forked from amaksoft/Jenkinsfile
My example Jenkins Pipeline setup for Android app project
#!/usr/bin/groovy
/*
* Copyright (c) 2016, Andrey Makeev <amaksoft@gmail.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
@chancez
chancez / renice-audio.sh
Last active October 12, 2019 16:09 — forked from redolent/renice-audio.sh
Fix Bluetooth Audio on Mac
#!/bin/bash
list="$(
sudo ps -A \
| grep -iE '(spotify|chrome|blue|coreaudiod)' \
| cut -c 1-90
)"
pids=$( cut -c 1-6 <<< "$list" )
def gcdRecur(a, b):
print a
if b==0:
return a
else:
return gcdRecur(b,a % b)