Install Rubocop by adding it to your Gemfile:
gem 'rubocop'
gem 'rubocop-rails'
And running:
bundle install
| # Determine wireless device model (manufacturer 14e4 for Broadcom): | |
| lspci -vvnn | grep 14e4 | |
| # Install Broadcom STA driver for BCM43227: | |
| sudo apt-get update | |
| sudo apt-get install --reinstall linux-headers-generic build-essential dkms bcmwl-kernel-source | |
| sudo modprobe -r b43 ssb wl brcmfmac brcmsmac bcma | |
| sudo modprobe wl | |
| # Connect (press Fn+F3 to enable wifi if necessary first): |
| # Terminal Cheat Sheet | |
| pwd # print working directory | |
| ls # list files in directory | |
| cd # change directory | |
| ~ # home directory | |
| .. # up one directory | |
| - # previous working directory | |
| help # get help | |
| -h # get help |
| #!/usr/bin/env sh | |
| usage() { | |
| cat <<EOF | |
| whatthecommit.sh - an offline commit message generator based on whatthecommit.com | |
| usage: $(basename $0) [-h] | |
| -h print this help | |
| example: |
| . | |
| ├── books | |
| │ ├── handlers.go | |
| │ └── models.go | |
| ├── config | |
| │ └── db.go | |
| └── main.go |
Find the Discord channel in which you would like to send commits and other updates
In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe!
System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go directory by: