grep -ri "string" .
will do a case-insensitive search for "string" inside "."find . -type f -iname '*pattern*
will do a case-insensitive search for file names that match given pattern inside "."
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Any changes to this file should be reflected at: | |
# https://gist.github.com/izzygomez/c4efca57c2237277e3f725b612608b6b | |
# | |
# Quick script to split a file in `git` into two files while preserving blame | |
# history, which is useful for e.g. code blame view on Github.com. | |
# | |
# Inspired by answers [1] & [2] from Stack Overflow. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3.10 | |
""" | |
Script to use with The Juggernaut Method™ weightlifting program to calculate new | |
working maxes. | |
Significant changes done to this script should be reflected on: | |
https://gist.github.com/izzygomez/86be40a6c7e5efcc97e613f1d08b9c5b | |
""" | |
from enum import Enum |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://pypi.org/project/PyNaCl/ | |
import nacl | |
import nacl.signing | |
import secrets | |
seed = secrets.token_bytes(32) | |
# Generate a new random signing key | |
signing_key = nacl.signing.SigningKey(seed) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random as r | |
numbers = [*range(1,34)] | |
r.shuffle(numbers) | |
print(numbers) |
I hereby claim:
- I am izzygomez on github.
- I am izzy (https://keybase.io/izzy) on keybase.
- I have a public key whose fingerprint is 706B D6B6 2427 A95D A826 F0B4 328F BD3D 37A4 5C47
To claim this, I am signing this object: