Melissa Longenberger
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    ###### tags: `Tips and Tricks` # System Setup Setting up your computer for use as a Web Developer doesn't take much but can be difficult at the begining. There are slightly different things that you need to do if you are using a PC vs a MAC. ## VS Code The following set ups are universal for Mac and PC's ### Folder Set up 1st thing you will want to do is deside on where you want to save your files too. The learn platform suggests Desktop, personally I like to use my documents. Once you descide on where you want to save them create a new folder and name is Coding Dojo. ### Workspace One of the nice things about VS Code is the ability to create a workspace. What this does is allows you to open up VS Code with the same folders on the left each time. Another benefit of this is you can eaisly open back up other files with out having to have more than one VS Code open or haivng to search them. Here are the steps to do this. 1. Click file and chose add folder to workspace 2. Search for the folder called Coding Dojo and single click it and chose add 3. Repeat this step till all the folders you wish to add to your space are added 4. Then click file and save workspace. I recommend saving this file to the desktop or your documents folder. You can name it anything you want. The following image is what you should see once your workspace is set up. ![](https://i.imgur.com/Y203ANY.png) ### Extensions For right now we only recomend installing 3 extensions in VS Code 1. Bracket Pair Colorizer - this helps to make sure that you have a opening and closing bracket by pairing each to be the same color 2. Code Runner - Gives you the ability to run JS outside of codepen 3. Code Spell Checker - If you are bad speller like I am this comes in handy as it will you what words are misspelled. Here is a picture of the 3: ![](https://i.imgur.com/GJT4sgN.png) ## Terminal Other than VS Code we will be spending a lot of time using the terminal. ### Mac Install HomeBrew To install open the terminal that is on the mac and enter he following command: ``` /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" ``` ### Windows You will need to download git bash from the following url: [Git Bash: ](https://git-scm.com/downloads) Once that is downloaded and installed we will need to locate the version you will want to use on your pc. Here is in most cases where it will be located and what it will look like: ![](https://i.imgur.com/V6z9sI4.png)I would recommend creating a shortcut of this to your desktop. ### Using the terminal The 1st few commands you will need to know for the terminal are the following: 1. pwd - This will tell you the file path of your current location 2. ls - This will list all the files that are in the furrent folder location 3. cd - This is how you will move about through the folders. a. cd .. - Will move you up one folder b. cd documents - will move you to the documents folder as long as that is in the current folder you are in. 4. code fileName - This will open up the file you chose in VS Code (You can also do code) a. If the file name you are trying to open doesn't exist this will open VS Code with a file by that name open and once you save it is actually created 5. touch fileName - This will create a file in the current folder you are in. For the following you will need to run the pwd and ls -a commands in your terminal On a Mac you should see the following (you may not see all the same files) ![](https://i.imgur.com/nKTgYTn.png) On a PC you should see the following (you may not see all the same files) ![](https://i.imgur.com/bHVdf1s.png) #### Setting home directory 1 thing everyone wants to do in most cases is set up where their terminal defaults to open. In most cases you would want it to open up in the main folder you will save all your code into. 1. You will need to locate where you need to save it too. The commands you ran above it typically where you will need the next file to go. 2. Another step would be to make sure you know how to navigate to the folder that you want to save your code to. In my case I save to Documents. As you can see in both pictures the Documents folder is located right were the pwd command states. 3. Next you will want to run the following command ``` code .bashrc ``` What this command does is creates and opens the file in VS Code (if it gives you an error that code is not a command you can follow the same process above but in the terminal with in VS Code as I did in the picture below.) You should now have VS Code open with a unsaved copy of .bashrc open. You will then add 1 line to that file for me I am going to my Documents folder so that is what my line will show. ![](https://i.imgur.com/l6BCWTd.png) If you are going to be saving to the desktop and as you saw in the terminal pictures above this also is in the root directory you will add the following line ``` cd ~/Desktop ``` Save the file and now when ever you open the terminal it should open to your root folder. ![](https://i.imgur.com/zhId5D6.png) In VS Code if you set up a workspace (sometimes all the time) you will see this when you click on open terminal ![](https://i.imgur.com/caXfy5J.png) Just click which ever one you are working in and it will open your terminal in that folder or just your root folder

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully