config.json
in"\~/.config/powerline-shell/"
soft-era.py
in"\~/.config/powerline-shell/themes/soft-era.py"
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
/** | |
* search within nested properties of an object, stops searching when hitting a null property | |
* e.g. for this.soundCloudAudio._track.user.avatar_url, | |
* let avatarUrl = getPropValue( ['_track', 'user', 'avatar_url'], this.soundCloudAudio ) // assigned null if property doesn't exist | |
* @param {Array} pathToProp the path to a nested prop we hope to find, each step listed as an array value (string for keys, number for indexes) | |
* @param {Object} objectToScan the object to look through for all available properties based on the path above | |
* @return {varies} returns null, or the value found at the requested property | |
*/ | |
const getPropValue = (pathToProp, objectToScan) => | |
return pathToProp.reduce( |
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
# my personal implementation of @florida's https://gist.github.com/florida/1839b047792b2d58f208a0913d4b2a6e | |
# DEPENDENCIES: | |
# - `lolcat` is the gradienterizer: https://github.com/busyloop/lolcat | |
# SETUP: | |
# this file (greeting.sh) is in ~/bin | |
# my .bash_profile includes this line to make all scripts in ~/bin globally accesscible: | |
# - `export PATH=$PATH:~/bin` | |
# at the end of .bash_profile, it includes the line |
In the screenshot above, i'm using:
- ⧉ iTerm2
- 🎨 Soft Era syntax theme for iTerm 2 (Soft Era is also available for other platforms)
-
install terminal of choice
- iTerm2: https://www.iterm2.com/
- Hyper: https://hyper.is/
-
install git
- download from https://git-scm.com/
-
install homebrew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
#ffffff,#f7f7ff,#ff69bb,#ffffff,#f7f7ff,#414141,#c559ff,#fa745f
soft era — public here
#f9f5f5,#F5EDED,#e4bcbf,#ffffff,#f5eded,#c29ba3,#cfc9f4,#dd698c
i don't know much about dyslexia, but few weeks ago i was in an accessibilty tech demo, and found that options for dyslexia helped me so much! so i'm trying things out!
some things i know:
- comic sans makes it a lot easier for me to read and understand technical documentation
- low contrast is good for me! it seems like that may be a common thing with dyslexia too, because i have seen some dyslexia plugins that text/bg contrast