To make case-insensitive, add -i
to all grep
and git log
commands
Search for "Telescope" (case sensitive) in all diffs in a repo
$ git log -STelescope
Result is something like this:
#!/bin/sh | |
# Set a few variables | |
SIZE_M=(750 422) | |
SIZE_T=(1536 864) | |
SIZE_D=(2780 1564) | |
BASE="https://picsum.photos" | |
# Move to the download folder | |
cd ~/Downloads |
Just a quick test! Hopefully comments work. |
#! /bin/bash | |
## Setup note: | |
## Add execution permissions to this file using: | |
## chmod u+x dssh.sh | |
unset options i o | |
opt=( $(docker ps --format '{{.Names}}' | sort | awk '{print v++,$1}') ) | |
# Show the user a list of containers to pick from |
{ | |
"description": "Double left shift to caps_lock", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_shift", | |
"modifiers": { | |
"optional": ["any"] | |
} |
This is a gist to test that Giscus is working as expected. | |
I will comment on this using another GitHub account in about a minute. |
// Only used to create the .shortcut file | |
const fs = require('fs'); | |
const { | |
buildShortcut, | |
} = require('./'); | |
const { | |
comment, | |
createAlarm, | |
} = require('./actions'); |
## Add multi and setmulti | |
!commands add !multi Multi-Stream Link: http://kadgar.net/live/$(channel) | |
!commands add !setmulti -ul=moderator -a=!commands edit !multi Multi-Stream Link: http://kadgar.net/live/$(channel)/$(query) | |
# usage: !setmulti other_stream/another_stream |
# First are the color variables | |
# Second is a function that will test the colors on your machine (tested on bash and zsh on macOS) | |
# Some terminals/OS's have weird inconsistencies with the escape codes, | |
# so google will be your friend if this doesn't work quite right | |
# | |
# You can copy/paste these into your .bashrc or similar file | |
# Don't forget to source the file again or restart your terminal session to apply! | |
# Normal Colors | |
export Black='\033[0;30m' # Black |
# sync a fork using the upstream branch | |
# usage: gfu [branch-name (default: master)] | |
gfu(){ | |
BRANCH="$1" | |
if [ -z "$1" ]; then | |
BRANCH="master" | |
fi | |
echo -n "Fetch and merge upstream for branch $BWhite$BRANCH$NC? [y/N]? " |