Skip to content

Instantly share code, notes, and snippets.

View mchesterkadwell's full-sized avatar

Mary Chester-Kadwell mchesterkadwell

View GitHub Profile
@sjmf
sjmf / accommodations.md
Last active January 15, 2024 14:57
Disability unconferencing recommendations to 2024 RSECon committee
@ojdo
ojdo / pandas-to-excel.py
Last active August 10, 2025 13:26
From Pandas to Excel using Openpyxl
import pandas as pd
from io import StringIO
from openpyxl.formatting.rule import ColorScaleRule
from openpyxl.styles import Alignment, Font, NamedStyle
from openpyxl.utils import get_column_letter
df = pd.read_csv(StringIO("""\
alpha beta gamma
2000-01-01 -0.173215 0.119209 -1.044236
2000-01-02 -0.861849 -2.104569 -0.494929
@jonlabelle
jonlabelle / windows_to_unix_command_cheat_sheet.md
Last active October 23, 2025 12:50
Windows to UNIX Command Cheat Sheet

Windows to UNIX Command Cheat Sheet

Windows PowerShell has several transition aliases that allow UNIX and CMD users to use familiar command names in Windows PowerShell. The most common aliases are shown in the table below, along with the Windows PowerShell command behind the alias and the standard Windows PowerShell alias if one exists.

CMD Command UNIX Command PowerShell Command PowerShell Alias
dir ls Get-ChildItem gci
@andkon
andkon / Install instructions
Created March 14, 2015 18:12
Installing celery on django and heroku
pip install celery
heroku addons:add cloudamqp
heroku config | grep CLOUDAMQP_URL
^^ that is the URL to put in celeryconfig
@ahankinson
ahankinson / gist:4945722
Created February 13, 2013 16:17
kdu_compress options
Usage:
"kdu_compress ...
-i <file 1>[*<copies>@<size>],... {see also `-fprec' & `-icrop'}
One or more input files. If multiple files are provided, they must be
separated by commas. Any spaces will be treated as part of the file
name. If any filename contains the optional "*<copies>@<size>" suffix,
that file actually contributes <copies> inputs, where the k'th copy
starts (k-1)*<size> bytes into the file; this is most useful for raw
files, allowing a single raw file to contribute multiple image
components.
@pksunkara
pksunkara / config
Last active March 9, 2026 15:00
Sample of git config file (Example .gitconfig) (Place them in $XDG_CONFIG_HOME/git)
# vi: ft=dosini
[user]
name = Pavan Kumar Sunkara
email = pavan.sss1991@gmail.com
username = pksunkara
[core]
editor = nvim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager = delta
[column]