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 / 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 / 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 / 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 / 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
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 / 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:

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@beriberikix
beriberikix / index.js
Created January 21, 2019 22:34
webpack tl;dr blog post
import _ from 'lodash';
import printMe from './print.js';
import './style.css';
import Icon from './icon.png';
function component() {
let element = document.createElement('div');
var btn = document.createElement('button');
element.innerHTML = _.join(['Hello', 'webpack'], ' ');
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Main Process",
"type": "node",
"request": "launch",
"cwd": "${workspaceRoot}",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
"windows": {