Skip to content

Instantly share code, notes, and snippets.

View JudahSan's full-sized avatar
🎯
Focusing

Judah JudahSan

🎯
Focusing
View GitHub Profile
@stungeye
stungeye / rubocop.md
Last active April 4, 2024 23:21
Installing and Running Rubocop

Installing Rubocop

Install Rubocop by adding it to your Gemfile:

gem 'rubocop'
gem 'rubocop-rails'

And running:

bundle install

@glombard
glombard / setup-wifi.sh
Created July 22, 2014 18:57
Install wifi drivers for Ubuntu / Lubuntu 14.04 on Acer Aspire 5755G (Broadcom BCM43227 network controller)
# 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):
@cferdinandi
cferdinandi / terminal-cheat-sheet.txt
Last active March 26, 2026 08:25
Terminal Cheat Sheet
# 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
@travis-g
travis-g / whatthecommit.sh
Last active November 26, 2025 23:33
Commit message generator based on whatthecommit.com
#!/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
@jagrosh
jagrosh / Github Webhook Tutorial.md
Last active March 31, 2026 01:20
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. 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! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings
@frfahim
frfahim / install virtualenv ubuntu 16.04.md
Last active July 17, 2025 07:53
How to install virtual environment on ubuntu 16.04

How to install virtualenv:

Install pip first

sudo apt-get install python3-pip

Then install virtualenv using pip3

sudo pip3 install virtualenv 
@nikhita
nikhita / update-golang.md
Last active March 16, 2026 20:53
How to update the Go version

How to update the Go version

System: Debian/Ubuntu/Fedora. Might work for others as well.

1. Uninstall the exisiting version

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:

@cdeskins
cdeskins / Deploy_rails_with_puma_and_apache.md
Last active January 28, 2025 21:31
Deploy Rails App with puma

Add puma to you Gemfile:

gem "puma"

Install Puma Gem

change to project directory
bundle install
@ctrlaltdev
ctrlaltdev / badges.md
Last active October 28, 2023 12:38
Tech Badges
LANGUAGE BADGE MD
ASSEMBLY ASSEMBLY ![ASSEMBLY](https://img.shields.io/badge/_-ASM-6E4C13.svg?style=for-the-badge)
C C ![C](https://img.shields.io/badge/_-C-555555.svg?style=for-the-badge)
C# C# ![C#](https://img.shields.io/badge/_-CS-178600.svg?style=for-the-badge)
C++ C++ ![C++](https://img.shields.io/badge/_-CPP-F34B7D.svg?style=for-the-badge)
CSS CSS ![CSS](https://img.shields.io/badge/_-CSS-563D7C.svg?style=for-the-badge)
DART DART ![DART](https://img.shields.io/badge/_-DART-00B4AB.svg?style=for-the-badge)
DOCKERFILE ![DOCKERFILE](https: