-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Quick update README and fix linting * Fix linting and update vscode settings * update local development without git (#9) * Update packages * rename to README, update links --------- Co-authored-by: Samir M <[email protected]>
- Loading branch information
1 parent
5f1d46f
commit 53cbbfc
Showing
19 changed files
with
1,510 additions
and
499 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,64 @@ | ||
{ | ||
"language": "en", | ||
"words": ["asdf", "hackyourfuture", "monospace", "Precourse"], | ||
"words": [ | ||
"asdf", | ||
"hackyourfuture", | ||
"monospace", | ||
"Precourse", | ||
"hihat", | ||
"transitionend", | ||
"keydown", | ||
"markdownlint", | ||
"stylelint", | ||
"ENOENT", | ||
"blockquote", | ||
"syle", | ||
"webservers", | ||
"frontends", | ||
"platyrun", | ||
"gabor", | ||
"cheatsheet", | ||
"owanateamachree", | ||
"learngitbranching", | ||
"Nepo", | ||
"exsit", | ||
"shortcutfoo", | ||
"speedcoder", | ||
"thepracticetest", | ||
"mltype", | ||
"Typer", | ||
"academind", | ||
"speedtyper", | ||
"makeareadme", | ||
"bulldogjob", | ||
"meakaakka", | ||
"freecodecamp", | ||
"Showalter", | ||
"bashcrawl", | ||
"heynode", | ||
"npmjs", | ||
"ohmygit", | ||
"Katas", | ||
"rebasic", | ||
"githubtraining", | ||
"Daigle", | ||
"Legos", | ||
"opensource", | ||
"choosealicense", | ||
"techsoup", | ||
"infoworld", | ||
"opensource", | ||
"opensourcedesign", | ||
"mozillascience", | ||
"briandk", | ||
"opensource", | ||
"voxmedia", | ||
"pybot", | ||
"gitbook", | ||
"Unmesh", | ||
"Samir", | ||
"Bermarte", | ||
"DeNepo" | ||
], | ||
"ignorePaths": ["node_modules/**", "**/*.json", "**/*.mp4", "**/*.svg"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,17 @@ | ||
# Local Development Without Git | ||
|
||
## Command Line Interface(CLI) | ||
|
||
- [CLICK HERE](./cli/README.md) | ||
|
||
## Markdown | ||
|
||
- [CLICK HERE](./markdown/README.md) | ||
|
||
## VS Code | ||
|
||
- [CLICK HERE](./vscode/README.md) | ||
|
||
## NPM | ||
|
||
- [CLICK HERE](./npm/README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
# Command Line Interface | ||
|
||
## What is CLI? | ||
|
||
> The Command Line Interface (CLI) is an editing environment that is text-based. | ||
> It uses specified text (known as commands) to interact with the computer and | ||
> perform numerous operations, including installing and working with programs. | ||
> | ||
> [https://www.freecodecamp.org/](https://www.freecodecamp.org/news/how-to-use-the-cli-beginner-guide/) | ||
## Basic Command Unix-like | ||
|
||
`man` : to show the usage manual, or help page, for a command | ||
|
||
```Markdown | ||
man <command> | ||
man ls | ||
``` | ||
|
||
`pwd` : to see where we are, we can print working directory | ||
|
||
```Markdown | ||
pwd | ||
``` | ||
|
||
`ls` : lists the files and directories in the current working directory | ||
|
||
```Markdown | ||
ls | ||
``` | ||
|
||
`cd` : to change directory | ||
|
||
```Markdown | ||
cd <directory-name> | ||
``` | ||
|
||
`cd ..` : to move up one directory | ||
|
||
```Markdown | ||
cd .. | ||
``` | ||
|
||
`mkdir` : to create a new directory(folder) | ||
|
||
```Markdown | ||
mkdir <directory-name> | ||
``` | ||
|
||
`touch` : to create a new file | ||
|
||
```Markdown | ||
touch <file-name> | ||
``` | ||
|
||
`rm` : to delete files or directories | ||
|
||
```Markdown | ||
rm <file-name> | ||
rm -r <directory-name> | ||
``` | ||
|
||
`echo` : to print the string pass to it as argument | ||
|
||
```Markdown | ||
echo "Hello world!" | ||
``` | ||
|
||
`cat` : to print the contents of files | ||
|
||
```Markdown | ||
cat file.txt | ||
``` | ||
|
||
`exit` : to end a shell session | ||
|
||
```Markdown | ||
exit | ||
``` | ||
|
||
`history` : to displays an enumerated list with the commands you’ve used in the | ||
past | ||
|
||
```Markdown | ||
history | ||
``` | ||
|
||
`clear` : to clean up the screen or you can use the shortcut `Ctrl + l` | ||
|
||
```Markdown | ||
clear | ||
``` |
4 changes: 4 additions & 0 deletions
4
0-local-development-without-git/file-extensions/exercises/file-04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
# see what is in the directory | ||
|
||
ls | ||
|
||
# see what is in the sub-directory | ||
|
||
ls ./file-extensions | ||
|
||
# navigate to the sub-directory | ||
|
||
cd ./file-extensions | ||
|
||
# print the README to the console | ||
|
||
cat ./README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# NPM | ||
|
||
## What is npm? | ||
|
||
NPM is Node Package Manager, provides two functionalities: | ||
|
||
- Online repositories for node.js packages/modules which are searchable on | ||
search.nodejs.org | ||
- Command line utility to install Node.js packages, do version management and | ||
dependency management of Node.js packages. | ||
|
||
## Some npm Commands | ||
|
||
To check npm version | ||
|
||
```Markdown | ||
npm --version | ||
``` | ||
|
||
To create `package.json` | ||
|
||
```Markdown | ||
npm init | ||
``` | ||
|
||
To install package | ||
|
||
```Markdown | ||
npm install <package name> | ||
``` | ||
|
||
To update package | ||
|
||
```Markdown | ||
npm update <package name> | ||
``` | ||
|
||
To install a package and any packages that it depends on | ||
|
||
```Markdown | ||
npm install | ||
``` | ||
|
||
To uninstall package(s) | ||
|
||
```Markdown | ||
npm uninstall <package name> | ||
``` | ||
|
||
To run script | ||
|
||
```Markdown | ||
npm run <script name> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
# VS Code Basic Shortcuts | ||
|
||
## Open a Repository in VS Code | ||
|
||
### Mac | ||
|
||
```Markdown | ||
command + o | ||
``` | ||
|
||
### Windows | ||
|
||
```Markdown | ||
Ctrl + o | ||
``` | ||
|
||
## Open VS Code from Terminal | ||
|
||
### Mac | ||
|
||
```Markdown | ||
command + j | ||
``` | ||
|
||
### Windows | ||
|
||
```Markdown | ||
Ctrl + ` | ||
``` | ||
|
||
## Add a New File | ||
|
||
### Mac | ||
|
||
```Markdown | ||
command + n | ||
``` | ||
|
||
### Windows | ||
|
||
```Markdown | ||
Ctrl + n | ||
``` | ||
|
||
## Add a New Folder | ||
|
||
### Mac | ||
|
||
```Markdown | ||
command + shift + p => type : new folder => select File : New Folder | ||
``` | ||
|
||
### Windows | ||
|
||
```Markdown | ||
Ctrl + shift + p => type : new folder => select File : New Folder | ||
``` | ||
|
||
## Format a File | ||
|
||
### Mac | ||
|
||
```Markdown | ||
shift + option + f | ||
``` | ||
|
||
### Windows | ||
|
||
```Markdown | ||
shift + alt + f | ||
``` | ||
|
||
## More Shortcuts | ||
|
||
- [Mac](https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf) | ||
- [Windows](https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf) | ||
- [Linux](https://code.visualstudio.com/shortcuts/keyboard-shortcuts-linux.pdf) |
Oops, something went wrong.