Skip to content

Instantly share code, notes, and snippets.

View Jenspi's full-sized avatar
🐈‍⬛
So many hobbies and so NOT enough time!

Jenny (Jennifer) Spicer Jenspi

🐈‍⬛
So many hobbies and so NOT enough time!
View GitHub Profile
@bbrother92
bbrother92 / grep.md
Last active January 30, 2026 23:01
#bash #regex #cheatsheet #grep

GREP Options

--max-count=number of matches before stopping search
--exclude=*.txt  with -r option

Note: Lookahead and lookbehind are Perl-style regular expression elements, so you'd have to use Perl directly, or GNU grep with the -P option, which then interprets Perl regex.

grep -o pattern file.txt **shows only the matched string** 
grep -bn pattern file.txt **shows row and col**  
grep -v pattern file.txt **inversion**  
@DomPizzie
DomPizzie / README-Template.md
Last active January 14, 2026 15:16
A simple README.md template

Project Title

Simple overview of use/purpose.

Description

An in-depth paragraph about your project and overview of use.

Getting Started

@jagrosh
jagrosh / Github Webhook Tutorial.md
Last active January 26, 2026 19:14
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