Skip to content

Instantly share code, notes, and snippets.

⛵️
Sailing the kubernetes seas.

Dakota Chambers dcchambers

⛵️
Sailing the kubernetes seas.
Block or report user

Report or block dcchambers

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@dcchambers
dcchambers / useful-tricks.md
Last active Aug 13, 2019
Useful shortcuts and tricks (mostly mac specific)
View useful-tricks.md

Useful Tricks and Shortcuts (Mostly Mac Specific)

Chrome

Reopen all tabs in a window (useful if you accidentally close it). Command ⌘ + Shift + T.

View work-mac-config.md

My work macbook configuration w/ apps and software I might use in my day-to-day job.

Details

                    'c.          
                 ,xNMM.          ------------------------- 
               .OMMMMo           OS: macOS Mojave 10.14.6 18G87 x86_64 
               OMMM0,            Host: MacBookPro15,2 
     .;loddo:' loolloddol;.      Kernel: 18.7.0 
   cKMMMMMMMMMMNWMMMMMMMMMM0:    Uptime: 1 hour, 47 mins 
View bash_prompt.txt
export PS1="\[\033[0;31m\]⤹ \[\033[0m\]\[\033[0;35m\]\t\[\033[0m\]\[\033[0;36m\] \w\[\033[0m\]\[\033[0;31m\]\n⮑ \[\033[0m\]"
@dcchambers
dcchambers / md2pdf.md
Last active Aug 7, 2019
Generate a PDF from Markdown files with Pandoc
View md2pdf.md

Generate a PDF from a Markdown file with Pandoc

Easy Steps For Mac OS

  1. Have Homebrew installed and a markdown file you want to render to PDF.
  2. Install Pandoc brew install pandoc
  3. Install basictex brew cask install basictex - needed for the pdflatex tool.
  4. Symlink the pdflatex to your /usr/local/bin so pandoc can easily find it. ln -s /Library/TeX/Root/bin/x86_64-darwin/pdflatex /usr/local/bin/pdflatex
  5. Use Pandoc to generate a PDF from a Markdown file. pandoc input.md -o output.pdf
    • By default the margins are pretty large. To optionally change the margins: pandoc input.md -o output.pdf -V geometry:margin=1in
@dcchambers
dcchambers / personal-mbp-config.md
Last active Aug 7, 2019
A place for me to track my (personal) Macbook Pro Configuration
View personal-mbp-config.md

Personal MBP

Hardware

  • 2015 Macbook Pro
    • 13" Retina Display
    • Force Touch Trackpad
    • Intel Core i5
    • 16GB RAM
    • 256GB NVME SSD
    • MacOS Mojave
@dcchambers
dcchambers / work-mbp-config.md
Last active Aug 12, 2019
(Archived) A place for me to track my (work) Macbook Pro Configuration
View work-mbp-config.md

ARCHIVED

  • I am no longer updating this document.

Work MBP

                    'c.          dakota@Dakotas-MBP 
                 ,xNMM.          ------------------ 
               .OMMMMo           OS: macOS Mojave 10.14.4 18E226 x86_64 
               OMMM0,            Host: MacBookPro15,1 
@dcchambers
dcchambers / docker-nuke-safely
Last active Jul 15, 2019 — forked from n3r0-ch/docker-nuke
Clean up your Docker environment in a (sort of) safe way!
View docker-nuke-safely
#!/bin/bash
#Check if user is root
if [ $UID != 0 ]; then
echo "You need to be root to use this script."
exit 1
fi
echo "docker-nuke exists to do one thing; clean up your Docker environment. It's not called docker-carefully-and-nicely-spritz-up. Be carefully!"
echo
View mac-dev-tools.md
@dcchambers
dcchambers / devtools.md
Last active Mar 21, 2019
Developer Tools
View devtools.md

Dev Tools

Graphical Applications

Text Editors and IDEs

Name 💵
Atom Free
VSCode Free
Sublime Text $80 (Try for free)
You can’t perform that action at this time.