Skip to content

Instantly share code, notes, and snippets.

View dd5md's full-sized avatar

Mathias Davidheimann dd5md

View GitHub Profile
@dd5md
dd5md / macOS_GitHub_SSH_GPG_setup.sh
Last active October 5, 2025 05:23 — forked from ChristopherA/macOS_GitHub_SSH_GPG_setup.sh
macOS GitHub, SSH & GPG Setup
#!/usr/bin/env zsh
#===========================================================================
# * INFO
#
# macOS GitHub & GPG Setup - ./macOS_GitHub_SSH_GPG_setup.sh
#
# THIS IS A WORK IN PROGRESS, AND CURRENTLY IS ONLY FOR MACOS MONTEREY
# By Christopher Allen @ChristopherA https://github.com/christophera/
@dd5md
dd5md / PowerlineForTerminal.md
Created October 25, 2021 22:57 — forked from DucNgn/PowerlineForTerminal.md
Powerline style for terminal OSX

Installing and configuring Powerline-style command line tools for developers (OSX)

Intro:

For every developer, terminal is their weapon, so why don't you customize it to become a powerful, and a beautiful weapon?

Powerline style refers to a terminal style that helps developer to keep track of their workflow easily, allows them to have perfect visual on current directories and new changes. It is also git recognizable, and failure detector that will help your development process becomes more interact and much faster.

In this guideline, I will introduce you with 2 smart shells: Zsh and Fishshell. Both are perfect for the development jobs due to its rich of resources, and user-friendly.

Note:

@dd5md
dd5md / gist:13e71250b1ab0bdb4cacb643a3b12c75
Created March 22, 2019 13:00 — forked from saetia/gist:1623487
Clean Install – OS X 10.11 El Capitan

OS X Preferences


most of these require logout/restart to take effect

# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false

# Set a shorter Delay until key repeat
gem install sass
sass-convert -R ./ -F sass -T scss && rm *.sass or
sass-convert -R ./ -F sass -T scss && find . -type f -name '*.sass' -delete
@dd5md
dd5md / sass-to-scss.sh
Created March 15, 2019 15:48 — forked from ryanburnette/sass-to-scss.sh
Convert all .scss to .sass in the current directory, or vice versa.
#!/usr/bin/env bash
for file in *.sass
do
sass-convert -F sass -T scss $file `echo $file | sed s/.sass/.scss/g`;
done
rm *.sass