Skip to content

Instantly share code, notes, and snippets.

@brablc
brablc / TerminalVim.scpt
Last active December 24, 2016 01:30
Open Vim in Terminal (iTerm) from Finder - copied from http://thepugautomatic.com/2015/02/open-in-iterm-vim-from-finder/ and updated to open in the current terminal
on run {input, parameters}
set cmd to "vim -c startinsert"
if input is not in {} then
set myPath to POSIX path of input
set cmd to "vim " & quote & myPath & quote
end if
tell application "iTerm"
activate
set myTerm to (current terminal)
@cdesch
cdesch / rails_generator_cheat_sheet.md
Last active January 24, 2026 02:45
Rails Generator CheatSheet

Cheat Sheets are greate but they are not a substitute for learning the framework and reading the documentation as we most certainly have not covered every potential example here. Please refer to the Rails Command Line Docs for more information.

Command Line Generator Info

Reference

You can get all of this information on the command line.

rails generate with no generator name will output a list of all available generators and some information about global options. rails generate GENERATOR --help will list the options that can be passed to the specified generator.

@zacky1972
zacky1972 / README.md
Last active September 7, 2022 14:04
Distributed Image Processing by Node

DistributedImageProcessing

Distributed Image Processing by Node.

Installation and Usage

  1. mix new distributed_image_processing
  2. cd distributed_image_processing
  3. edit the following files:
  • mix.exs
@ChristianAlexander
ChristianAlexander / update-deps.md
Created January 29, 2026 14:58
Update Elixir Dependencies Skill

Update Elixir Dependencies

Update all outdated dependencies in this Elixir project, handling both safe updates and breaking changes.

Workflow

1. Identify Outdated Dependencies

Run mix hex.outdated to get a list of all outdated dependencies. Parse the output to identify:

  • Safe updates: Dependencies where only the patch or minor version has changed (no major version bump)