Skip to content

Instantly share code, notes, and snippets.

View lovemecomputer's full-sized avatar
👩‍🍳
feeding the bugs

Audrey Moon lovemecomputer

👩‍🍳
feeding the bugs
View GitHub Profile
@lovemecomputer
lovemecomputer / README.md
Last active August 20, 2020 23:38
dyslexia CSS overrides (comic sans etc)

👩🏼‍💻 dyslexia type adjustments 👓

this gist is to make things readable for myself! happy to share with others and exchange notes.

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

vs code user snippets file

contains shortcut for puttin in console.log()

{
  "Print to console": {
    "scope": "javascript,typescript",
    "prefix": "clog",
 "body": [
@lovemecomputer
lovemecomputer / slack-themes.md
Last active January 21, 2019 20:03
color schemes i use for slack

🎨my slack themes

minimal femme

#ffffff,#f7f7ff,#ff69bb,#ffffff,#f7f7ff,#414141,#c559ff,#fa745f

soft era — public here

#f9f5f5,#F5EDED,#e4bcbf,#ffffff,#f5eded,#c29ba3,#cfc9f4,#dd698c
@lovemecomputer
lovemecomputer / dev command line setup.md
Last active December 26, 2019 07:54
steps to go from fresh macbook to nice command line
@lovemecomputer
lovemecomputer / fish-config-notes.md
Last active May 6, 2021 06:36
fish config notes
@lovemecomputer
lovemecomputer / _powerline-shell-configs.md
Last active April 12, 2024 19:38
my powerline-shell config!

powerline config file locations (mac filepaths)

  • config.json in "\~/.config/powerline-shell/"
  • soft-era.py in "\~/.config/powerline-shell/themes/soft-era.py"
@lovemecomputer
lovemecomputer / greeting.sh
Last active August 12, 2018 21:12
rainbow greeting
# 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
@lovemecomputer
lovemecomputer / getPropValue.js
Last active October 15, 2020 02:13
search within nested properties of an object, stops searching when hitting a null property — taken from: https://medium.com/javascript-inside/safely-accessing-deeply-nested-values-in-javascript-99bf72a0855a
/**
* 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(