GithubHelp home page GithubHelp logo

pawanvirsingh / fullstack-course4 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jhu-ep-coursera/fullstack-course4

0.0 2.0 0.0 29.06 MB

Example code for HTML, CSS, and Javascript for Web Developers Coursera Course

CSS 22.27% HTML 23.16% JavaScript 54.57%

fullstack-course4's Introduction

Table of Contents

Coursera: HTML, CSS and Javascript for Web Developers

Example Source Code

This repository contains all of the example source code used in the Coursera.org course called HTML, CSS and Javascript for Web Developers.

Enroll now! It's free!

Common Git Commands

Github commands:

Command Description
git add . Add all changes to all files at your current working directory location. Must be a git project.
git checkout testing Switch to testing branch.
git clone Clone a Git repository to work with.
git commit -m "Some changes" Commit changes with comments to current working branch.
git checkout master Checkout the master branch (trunk).
git checkout gh-pages Checkout the gh-pages branch.
git log View commit logs for your Git branch.
git pull Pull down any changes that were checked into a branch (Git repository).
git push Push your committed changes to your currently checked out branch.
git push origin master Push your committed changes up to your master branch. 'master' may be subsituted for another branch.
git status Get the status of files in the current repo.

Git examples:

Merging a branch into the master

git checkout -b 'hotfix'
Switched to new branch "hotfix"
vim index.html
git commit -a -m 'fixed the broken email address'
...
...
git checkout master
git merge hotfix

Command Line Reference

Universal Command Reference Link

Note that CMD represents Windows and Bash is typically Linux and OS X is Macintosh
Universal Command Line Reference

Common Windows Commands

Command and Usage Examples

attrib
Alter the file attributes. The '+' adds an attribute, and '-' removes it. Attributes are: a=archive; r=read only; s=system; h=hidden.

attrib -r -a -s -Hh index.html
All previously mentioned attributes will be cleared from index.html
C:
Shortcut to the C: drive. Can substitue 'C' for other drive letters.
C:

cd
Navigate into a directory.

Note that a directory is also referred to as a folder.

Just typing cd\ by itself goes to the base (root) of the file system and is usually the C: drive.

cd.. navigates up one level. Say you are in the 'foo' directory and want to get out of this directory. This would get out of 'foo'

cd <directory name> navigates to that directory. You can provide a path of directories \ e.g.
cd Users\myself\Documents\git\mycode takes you to C:\Users\myself\Documents\git\mycode

cls
Clear (reset) the screen.
cls
del
Delete one or more files in the current working directory. Can be used with the '*' and the '?' wildcards.

del *.* will delete every file in the current directory.

(Note: del alone cannot be used to delete other directories. Use rd to remove a directory.)

del index.html deletes index.html

del *.html will delete all HTML files at your current location.

del foo*.* will delete all files beginning with 'foo' that are any type.

del foo??.* will delete files that are 5 characters long and begin with 'foo' that are any type.

dir
List (reveal) contents of a directory (folder).

dir *.html displays all HTML files in the current and subdirectories.

dir /s lists the contents of all subdirectories.

dir /ah displays all hidden files.

help
Displays DOS help info. For info on an individual command simply type help followed by the command.

help md displays information on the cls (make directory) command.

md
Generate (make) directory. Creates a new directory at your current location. May also substitute with mkdir

md boo create 'boo' directory.

rd
Delete a directory. Note that the directory you want to remove not have any files. The command rmdir may be used instead of rd

rd boo deletes the 'boo' directory

renameRenames a file.

rename foo.html zoo.html

type
Pipe (display) the contents of a file to terminal. If the file doesn't contain text (e.g. image) gibberish (binary encodings) will be displayed. If you pipe this command to more with "|more" then the text will be displayed one page at a time.

type site\index.html|more displays index.html one page at a time.

fullstack-course4's People

Contributors

ychaikin avatar jsonrice avatar fayadh56 avatar aberdean avatar thuyihan1206 avatar afreer avatar rajmono avatar

Watchers

James Cloos avatar singh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.