Skip to content

Instantly share code, notes, and snippets.

View melaniehoff's full-sized avatar
💭
organizing https://sfpc.io/code-societies

Melanie Hoff melaniehoff

💭
organizing https://sfpc.io/code-societies
View GitHub Profile

Helpful Codes which may or may not be useful

These lines of code are meant to be run in your terminal by pasting and pressing enter one after the other.

For newer Mac's to switch from zsh to bash

  • chsh -s $(which bash)
    OR
  • chsh -s /bin/bash
  • More info here
@melaniehoff
melaniehoff / helpful-terms.md
Last active August 11, 2021 18:45
Helpful Terms for Folder Poetry
Word Notes
Folder Poetry The practice of using the structure of computer folder organization as a new kind of poetic form like the haiku or iambic pentameter. By naming and nesting folders and files, we can create unfolding narratives, rhythmic prose, and choose-your-own-adventure poetry.
terminal An application to control and make changes to your operating system by typing text commands. In this class we'll use the terminal to cr
#!/bin/bash -
#title :incantation.sh
#description :This script will sequentially print a directory.
#author :Matthew Ragan & Zoe Sandoval
#date :20200702
#==============================================================================
# Bash File to Sequence Printing Files
# For 'each' file ending .txt that is found in the directory
#!/bin/bash -
#title :treepoem.sh
#description :This script will sequentially print a directory, along with the file name and directory name.
#author :Matthew Ragan & Zoe Sandoval
#date :20200702
#==============================================================================
treeFunction(){
The erotic is a measure between the beginnings of our sense of self and the chaos of our strongest feelings. It is an internal sense of satisfaction to which, once we have experienced it, we know we can aspire. For having experienced the fullness of this depth of feeling and recognizing its power, in honor and self-respect we can require no less of ourselves. It is never easy to demand the most from ourselves, from our lives, from our work. To encourage excellence is to go beyond the encouraged mediocrity of our society is to encourage excellence. But giving in to the fear of feeling and working to capacity is a luxury only the unintentional can afford, and the unintentional are those who do not wish to guide their own destinies.
This internal requirement toward excellence which we learn from the erotic must not be misconstrued as demanding the impossible from ourselves nor from others. Such a demand incapacitates everyone in the process.
For the erotic is not a question only of what we do; it is a question

Installing homebrew to use the tree command

To install tree to get those nice screenshots:

  1. go here: https://brew.sh/ and copy and paste that long line of text underneath the heading "Install Homebrew" into your terminal and press return
  2. it will ask you for your admin password, type it in ternminal even thought it's invisible! and press return
  3. it will ask you to press return, press return!
  4. after you see your command prompt again, the install of homebrew is done.
  5. now we install tree. type: brew install tree and press return