Workout schedules fitting my routine.
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
# Copy thes to your .zshrc or .bashrc | |
# Rebase main/master onto my current branch | |
bup(){ | |
branch="main" | |
if git show-ref --quiet refs/heads/master; then | |
branch="master" | |
fi | |
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
Changing the gist name with this file |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<title>Array#indexOf vs. Array#includes</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
<script src="./suite.js"></script> | |
</head> | |
<body> | |
<h1>Open the console to view the results</h1> |
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
# Title: Summary, One-sentence headline description of change | |
# Start upper case, don't end with a period | |
# 50 chars max. This line is 50 chars long ###### | |
# (Remember blank line between title and body.) | |
# | |
# Body: Explain *what* and *why* (not *how*). | |
# | |
# Add as many paragraphs as needed | |
# |
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
def isolate_palindromes(words: str) -> str: | |
"""Takes in a string of words and returns the subset of palindromes | |
Args: | |
words (str): string of words, e.g. "bar kaak" | |
Returns: | |
str: any palindromes within the string of words passed, e.g. "kaak" | |
""" |
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
# Requires Hub (not the GitHub API) and JQ | |
ORGANIZATION= # Set this as the organization you want to follow | |
hub api --paginate /orgs/${ORGANIZATION}/members | jq ".[].login" | (xargs -I % hub api -X PUT /user/following/% && sleep 5) |
Frequency allocations to the amateur radio bands in Pakistan according to the Frequency Allocation Board, in the Pakistan Table of Frequency Allocations. For information on primary and secondary allocations, other services, or citations, please see the original document.
DISCLAIMER: This table is a convenient lookup for ham radio enthusiasts, please use the original document as a canonical reference. I will not be liable for any problems that arise from the use of this table. If you find errors, though, please leave a comment and I'll fix them.
Please see the revisions tab for the date of last change.
|Unit |Range start|Range end|ITU – Region 3 |Pakis
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
$! --- The exception information message set by 'raise'. | |
$@ --- Array of backtrace of the last exception thrown. | |
$& --- The string matched by the last successful match. | |
$` --- The string to the left of the last successful match. | |
$' --- The string to the right of the last successful match. | |
$+ --- The highest group matched by the last successful match. | |
$1 --- The Nth group of the last successful match. May be > 1. | |
$~ --- The information about the last match in the current scope. | |
$= --- The flag for case insensitive, nil by default. | |
$/ --- The input record separator, newline by default. |
NewerOlder