Skip to content

Instantly share code, notes, and snippets.

View beriberikix's full-sized avatar
🐶
I have no idea what I'm doing

Jonathan Beri beriberikix

🐶
I have no idea what I'm doing
View GitHub Profile
@beriberikix
beriberikix / keybase.md
Created September 22, 2017 23:28
keybase.md

Keybase proof

I hereby claim:

  • I am beriberikix on github.
  • I am jonathanberi (https://keybase.io/jonathanberi) on keybase.
  • I have a public key ASDLgsLgyVgDQggMeGSdqvDwPkJgL3ojEV0IqXwQ59UR8wo

To claim this, I am signing this object:

export PS1="\h:\W 🚀 $ "
alias git=hub
export PATH="/Users/jberi/bin/gcc-arm/switch-gcc-arm:$PATH"
export PATH="/Users/jberi/bin/gcc-arm/gcc-arm-bin:$PATH"
export PATH="/users/jberi/library/android/sdk/platform-tools"
@beriberikix
beriberikix / osx_bootstrap.sh
Last active August 30, 2017 02:04 — forked from codeinthehole/osx_bootstrap.sh
Script to install stuff I want on a new OSX machine
#!/usr/bin/env bash
#
# Bootstrap script for setting up a new OSX machine
#
# This should be idempotent so it can be run multiple times.
#
# Some apps don't have a cask and so still need to be installed by hand. These
# include:
#
# - simplify3d.com
@beriberikix
beriberikix / obs_switcher.ino
Created August 2, 2017 22:45
Code for atmega32u4-based OBS scene switcher
/**********************************************************************
/* Copyright 2017 Jonathan Beri
/*
/* Licensed under the Apache License, Version 2.0 (the "License");
/* you may not use this file except in compliance with the License.
/* You may obtain a copy of the License at
/*
/* http://www.apache.org/licenses/LICENSE-2.0
/*
/* Unless required by applicable law or agreed to in writing, software
@beriberikix
beriberikix / switch-gcc-arm.sh
Last active September 20, 2020 10:32
shell script to switch between versions of GCC ARM Embedded
#!/bin/bash
# place in folder and add folder to $PATH
# also add $BIN to path
BIN=~/bin/gcc-arm/gcc-arm-bin
OPTIONS="4.9.3 5.4.1 6.2.1"
select opt in $OPTIONS; do
if [ "$opt" = "4.9.3" ]; then
echo 4.9.3 20150529
if [ -L $BIN ]; then
rm $BIN
@beriberikix
beriberikix / devplat_pm_resources.md
Last active April 27, 2016 14:34
Even the most experienced Product people who come to developer products are missing a lot of background and context. Here's a crowdsourced list of books and links that may help those new to Developer-related Product Management.
@beriberikix
beriberikix / Settings.h
Created April 3, 2016 18:53
Convenient way to manage settings in the firebase-arduino examples
#ifndef _SETTINGS_H_
#define _SETTINGS_H_
// Wifi
#define SSID "your-network-name"
#define PASS "your-network-password"
// Firebase
#define FIREBASE_HOST "your-firebase-name.firebaseio.com"
#define FIREBASE_SECRET "###secret###"
@beriberikix
beriberikix / apa102_raindbow_attiny85.ino
Created December 7, 2015 22:21
Demo using Pololu's APA102 library with an ATTiny85 @ 16 MHz.
/* This is a fork of the Raindbow sample from
* https://github.com/pololu/apa102-arduino/blob/master/examples/Rainbow/Rainbow.ino
* to work on an ATTiny85 @ 16MHz. While there is no license in the file, the overall
* library appears to be under MIT:
* https://github.com/pololu/apa102-arduino/blob/master/LICENSE.txt
*/
#include <avr/power.h>
#include <APA102.h>
@beriberikix
beriberikix / Makefile
Created April 13, 2015 12:26
Hacky Makefile for Armstap's blinky sample. Forked from https://github.com/nitsky/stm32-example/blob/master/Makefile.
BUILDDIR = build
GCC_BIN = ../gcc-arm-none-eabi-4_9-2015q1/bin
#DEVICE = source
CORE = includes/CMSIS
PERIPH = includes/STM32F4xx_StdPeriph_Driver
STM = includes/STM32F4xx
#DISCOVERY = stm32/discovery
#SOURCES += $(DISCOVERY)/src/stm32f3_discovery.c