pycache/ *.py[cod] *$py.class *.so .Python build/ develop-eggs/ dist/ downloads/
This file contains hidden or 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
{ | |
"timestamp": { | |
"format": "%Y-%m-%d %H:%M:%S", | |
"position": { | |
"x": "w-tw-10", | |
"y": "h-th-10", | |
"comment": "bottom-right corner" | |
}, | |
"font": { | |
"size": 8, |
This file contains hidden or 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
gs://{bucket-name}/ | |
βββ archived/ | |
βββ {YYYY-MM-DD}/ | |
βββ {domain}/ | |
βββ workspace/ (or webdocs/) | |
βββ {original-folder-structure}/ | |
βββ {files} |
This file contains hidden or 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
pip install pandas numpy matplotlib seaborn openpyxl xlsxwriter ipywidgets nbconvert python-docx markdown plotly jupyter |
This file contains hidden or 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
# Activate your environment first | |
conda activate ad-group-remediation-workflow | |
# Install all pip packages from environment.yml | |
pip install papaparse plotly kaleido nbformat jupyter-contrib-nbextensions python-docx docx2txt markdown python-markdown xlwings | |
# For Windows only (skip on Linux): | |
# pip install pywin32 | |
# Enable jupyter extensions |
This file contains hidden or 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/bash | |
# NVIDIA/Display Comprehensive Diagnostic Script | |
# Output file | |
OUTPUT="nvidia_diagnostic_$(date +%Y%m%d_%H%M%S).log" | |
echo "NVIDIA/Display Diagnostic Report - $(date)" | tee $OUTPUT | |
echo "============================================" | tee -a $OUTPUT | |
# System info |
This file contains hidden or 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/bash | |
# Save as .git/hooks/pre-commit | |
# chmod +x .git/hooks/pre-commit | |
# check dashes | |
echo "Checking formatting..." | |
# get files | |
files=$(git diff --cached --name-only | grep -vE '^(\.git/|node_modules/|__pycache__/|\.cache/|dist/|build/|vendor/)') | |
found=0 | |
for file in $files; do | |
# skip binary |
This file contains hidden or 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
name: Convert Notebooks to Markdown | |
on: | |
push: | |
paths: ['**.ipynb'] | |
jobs: | |
convert: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: |
This file contains hidden or 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/zsh | |
################################################################# | |
# π GITHUB GIST ALIASES & FUNCTIONS | |
# Collection of aliases for managing GitHub Gists via gh CLI | |
# Author: @trauco | |
# Date Added: 2024-01-15 | |
# Dependencies: gh (GitHub CLI), vim | |
################################################################# | |
################################################################# |
NewerOlder