Skip to content

Instantly share code, notes, and snippets.

View jbreindel's full-sized avatar

Jake Breindel jbreindel

View GitHub Profile
@jbreindel
jbreindel / resume.json
Last active July 15, 2019 13:00
resume.json
{
"basics": {
"name": "Jacob Breindel",
"label": "Software Engineer",
"picture": "",
"email": "jacobbre@buffalo.edu",
"website": "",
"summary": "Motivated, experienced developer with a proven track record of success. Excellent problem solving skills paired with an ability to bring abstract solutions into a real world environment.",
"location": {
"city": "Buffalo",
init([]) ->
% Start the scheduled GC job every minute. Naive!
erlang:send_after(60 * 1000, self(), {gc}),
{ok, no_state}.
handle_info({gc}, State) ->
case erlang:memory(binary) of
% We use more than 500 MB of binary space
Binary when Binary > 500000000 ->
erlang:garbage_collect(self())
init([]) ->
% Start the scheduled GC job every minute. Naive!
erlang:send_after(60 * 1000, self(), {gc}),
{ok, no_state}.
handle_info({gc}, State) ->
erlang:garbage_collect(self()),
erlang:send_after(60 * 1000, self(), {gc}),
{noreply, State}.
@jbreindel
jbreindel / build-erlang-17.0.sh
Created November 28, 2015 17:04 — forked from bryanhunter/build-erlang-17.0.sh
Build Erlang 17.0 on a fresh Ubuntu box (tested on 12.04 and 14.04)
#!/bin/bash
# Pull this file down, make it executable and run it with sudo
# wget https://gist.githubusercontent.com/bryanhunter/10380945/raw/build-erlang-17.0.sh
# chmod u+x build-erlang-17.0.sh
# sudo ./build-erlang-17.0.sh
if [ $(id -u) != "0" ]; then
echo "You must be the superuser to run this script" >&2
exit 1
fi
7891e21480e29e1e7db45e713ba1bb927bbe7468
@jbreindel
jbreindel / DualBootConfig
Created March 4, 2015 20:45
Dual Boot Windows 8.1, Ubuntu Configuration Lenovo Yoga 3
Dual Boot Windows 8.1, Ubuntu Configuration
This is a UEFI configuration for Windows 8.1 and Ubuntu that uses the Windows 8.1
operating system boot menu (I don't really like GRUB).
1. Create Bootable Ubuntu usb:
http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-windows
2. Boot into Ubuntu
3. Select Try Ubuntu (helpful so you can get to terminal, settings)