JSFiddle - React, Tailwind, and code Playground

by pseudonumos

JavaScript

/**
 *    GIT BASH
 *
 *    Go down the list and explain what each part of the command does the best you can:
 *
 *    1. ssh -i ~/.ssh/id -p 22222 go@bears
 *    2. chmod ug+rw a.tmp; chmod 644 a.tmp;
 *    3. ps aux | head -3 | sort -r
 *    4. grep -E "^K[1l][oO0]ud\S*$" log.txt | less
 *    5. tail -f /tmp/cal.log
 *    6. pkill -9 "(python|ruby)"
 *    7. python tmp.py
 *    8. irb
 *
 *    Follow-up:
 *    Explain how git is used.
 *    How do you clone a repository in git?
 *    How would you create your own branch in a git repo.
 *    Let’s say you make some changes in your branch. How would you add these changes to your local
 *    repository?
 *    How would you then send the changes in your branch to the remote repo?
 *    How would you get the latest changes from the remote repo?
 *    If you are on your own branch and the master branch of the remote repo has had new changes, 
 *    how would you obtain these new changes into your local branch?
 *    Let’s say you have committed changes to your branch. How would you add them to the master 
 *    branch?
 *    What does `git status` show you and why is it useful?
 *    What does `git stash` do and why is it useful?
 *    What are untracked files?
 *
 **/


/*
 *
 * https://vinod:[email protected]:1337/services/box?   country=usa&language=english#contact_info