Skip to content

Instantly share code, notes, and snippets.

code --list-extensions | xargs -L 1 -I {} echo "https://marketplace.visualstudio.com/items?itemName={}"
# Show hidden files (or use keyboard shortcut in finder: `CMD SHIFT .`)
defaults write com.apple.finder AppleShowAllFiles YES
# Disable desktop icons
defaults write com.apple.finder CreateDesktop false
# Update default screenshot location
defaults write com.apple.screencapture location <location>
# Disable mouse acceleration
@nickstanish
nickstanish / Dockerfile
Created October 2, 2018 16:41
Docker Compose + Rails + MySQL
FROM ruby:2.5.1
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs
RUN mkdir /project_name
WORKDIR /project_name
COPY Gemfile /project_name/Gemfile
COPY Gemfile.lock /project_name/Gemfile.lock
RUN bundle install
COPY . /project_name
@nickstanish
nickstanish / timidity-setup
Created January 14, 2014 18:22
Setting up timidity for use with unimidi in ruby on a raspberry pi. Please read all of it before you proceed. This is the exact steps I took, but do so at your own risk.
> sudo apt-get install timidity
> sudo apt-get install fluid-soundfont-gm fluid-soundfont-gs
[edit] /etc/timidity/timidity.cfg for these changes
*************************************************************
## If you have a slow CPU, uncomment these:
opt EFresamp=d #disable resampling
opt EFvlpf=d #disable VLPF
opt EFreverb=d #disable reverb