Skip to content

Instantly share code, notes, and snippets.

View jerlich's full-sized avatar

Jeffrey Erlich jerlich

View GitHub Profile
@jerlich
jerlich / lm.jl
Created July 25, 2022 23:03
GLM.jl issue with lrtest
### A Pluto.jl notebook ###
# v0.19.9
using Markdown
using InteractiveUtils
# ╔═╡ caea71e0-0c68-11ed-0f9a-913b221ef108
using DataFrames, CSV, GLM
# ╔═╡ c2a89f5b-8126-4a81-9fcb-0e31efd42b1d
### A Pluto.jl notebook ###
# v0.14.5
using Markdown
using InteractiveUtils
# This Pluto notebook uses @bind for interactivity. When running this notebook outside of Pluto, the following 'mock version' of @bind gives bound variables a default value (instead of an error).
macro bind(def, element)
quote
local el = $(esc(element))
### A Pluto.jl notebook ###
# v0.12.21
using Markdown
using InteractiveUtils
# This Pluto notebook uses @bind for interactivity. When running this notebook outside of Pluto, the following 'mock version' of @bind gives bound variables a default value (instead of an error).
macro bind(def, element)
quote
local el = $(esc(element))
@jerlich
jerlich / brew_install.sh
Last active June 4, 2020 02:54
Applications installed via brew
#!/bin/bash
brew install git
brew install git-annex
brew cask install mactex-no-gui
brew install tmux
brew install mosh
brew install wget
brew install htop
@jerlich
jerlich / setup.md
Last active June 4, 2020 06:09
New Mac setup
  • brew
  • run brew_install.sh
  • iterm 2
  • miniconda
  • vscode
  • wechat
  • skype
  • MS Office
  • whatsapp
  • matlab
@jerlich
jerlich / unsandbox_matlab.sh
Created January 4, 2017 10:24
Failed attempt to unsandbox MATLAB on macOS Sierra
#!/bin/zsh
# Under MacOS Sierra, applications are by default run in a sandbox... i tried to un-sandbox matlab, but it did not work.
# Instead just start matlab from the terminal.
sudo spctl --add --label "user app" /Applications/MATLAB_R2015b.app