Skip to content

Instantly share code, notes, and snippets.

View tomatohammado's full-sized avatar

Hammad Malik tomatohammado

View GitHub Profile
@tomatohammado
tomatohammado / terminal_outbput.bash
Last active June 20, 2019 02:49
fresh MacBook installfest dry run - it all went well until I second-guessed pyenv
Last login: Wed Jun 19 05:56:30 on console
Hammads-MacBook-Air:~ hmd-mba2014$ xcode-select --version
xcode-select version 2354.
Hammads-MacBook-Air:~ hmd-mba2014$ ls -a ~
. .bash_sessions Movies
.. Desktop Music
.CFUserTextEncoding Documents Pictures
.DS_Store Downloads Public
.Trash Library
Hammads-MacBook-Air:~ hmd-mba2014$ touch ~/.bash_profile
@tomatohammado
tomatohammado / .bash_profile
Created June 18, 2019 02:34
local OSX git completion
source /usr/local/etc/bash_completion.d/git-completion.bash
@tomatohammado
tomatohammado / .zshrc
Created June 17, 2019 01:56
My current .zshrc (oh-my-zsh)
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
export PATH=$HOME/bin:/usr/local/bin:/Users/hammad/.local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/Users/hammad/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
@tomatohammado
tomatohammado / installfest_dry_run.bash
Created April 25, 2019 15:57
Went through installfest on a loaner laptop, and this is how it went!
This file has been truncated, but you can view the full file.
Last login: Tue Apr 23 20:57:53 on ttys000
generalassemblydc-C02PH6U3G941:~ generalassemblydc$ ls ~
Applications Documents Library Music Public
Desktop Downloads Movies Pictures
generalassemblydc-C02PH6U3G941:~ generalassemblydc$ la -a ~
-bash: la: command not found
generalassemblydc-C02PH6U3G941:~ generalassemblydc$ ls -a ~
. .bash_sessions Library
.. .zoomus Movies
.CFUserTextEncoding Applications Music
@tomatohammado
tomatohammado / draft_manual_instructions.md
Created April 25, 2019 00:26
went with simpler instructions, might as well save the draft

General Assembly Logo

Installfest

What is Installfest?

Here at General Assembly, we use Installfest to install a group of applications which we consider essential for any software developer to have. We use these applications regularly in our classes, and it's essential for all of our students to have them.

@tomatohammado
tomatohammado / node_12.bash
Created April 23, 2019 19:20
welp, they just released a new version of Node today `*nod nod nod*`
Last login: Tue Apr 23 11:32:33 on ttys005
~
➜ ls ~/.zshrc
/Users/hammad/.zshrc
~
➜ zshconfig
~
@tomatohammado
tomatohammado / installfest_checklist.md
Created April 23, 2019 18:46
SEI Installfest Checklist

Installfest Checklist

  • Update macOS
  • Install Xcode
  • Open Terminal
    • Install iTerm (Optional)
  • Install zsh (Optional)
@tomatohammado
tomatohammado / node-cleanup.bash
Created April 23, 2019 18:17
uhhhh so I ran `tree` without specifying the level depth. that was a mistake
Last login: Mon Apr 22 15:55:15 on ttys003
~
➜ z /Users/hammad/SEI/sei_30/sandbox/python_test
sei_30/sandbox/python_test
➜ code .
sei_30/sandbox/python_test
➜ cd ..
@tomatohammado
tomatohammado / pyenv.bash
Created April 22, 2019 19:56
alright, the _original_ window where I installed pyenv. you can tell because the first is only a few hundred lines, and this is almost ten-thousand
This file has been truncated, but you can view the full file.
Last login: Mon Apr 22 14:22:35 on ttys001
~
➜ pyenv
pyenv 1.2.11
Usage: pyenv <command> [<args>]
Some useful pyenv commands are:
commands List all available pyenv commands
local Set or show the local application-specific Python version
@tomatohammado
tomatohammado / pyenv-success.bash
Created April 22, 2019 19:52
got pyenv to work!
Last login: Mon Apr 22 14:56:35 on ttys001
~
➜ which python
/usr/local/bin/python
~
➜ pyenv
pyenv 1.2.11
Usage: pyenv <command> [<args>]