Skip to content

Instantly share code, notes, and snippets.

View nikolasgd's full-sized avatar

Niko nikolasgd

  • Cologne, Germany
View GitHub Profile
@nikolasgd
nikolasgd / rails_upgrade.txt
Last active March 31, 2022 09:47
Rails Upgrade Instructions
# Official Rails Upgrade Instructions
https://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html
# Check Gemfile Compatibility
https://railsbump.org
# Check Ruby - Rails Version Compatibility Chart
https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html
# Use Railsdiff
@nikolasgd
nikolasgd / open
Created January 7, 2021 00:41
Open files from WSL2 with Chrome in Windows 10
#!/bin/bash
/mnt/c/Program\ Files/Google/Chrome/Application/chrome.exe '\\wsl$\Ubuntu-20.04/'"$1"''
# Save this script as /usr/local/bin/open and make it executable. Pass the file name as first argument.
@nikolasgd
nikolasgd / .bashrc
Last active December 8, 2020 01:13
WSL2 (Ubuntu) presets
# [...]
# Some wsl2 presets
alias play='/usr/bin/ansible-playbook'
alias l='ls -lah'
# for opening files from wsl in chrome
alias open='/mnt/c/Program\ Files/Google/Chrome/Application/chrome.exe'
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
@nikolasgd
nikolasgd / mac_os_x_developer_setup.md
Last active September 29, 2020 08:46
Mac OS X Developer Setup