This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>JavaScript Game</title> | |
| </head> | |
| <body onload="init()"> | |
| <h1>JavaScript Game</h1> | |
| <p>Here is a simple JavaScript game:</p> | |
| <canvas id="c" width="400" height="400"></canvas> |
This file contains hidden or 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
| ~/Documents/learning-git $ git merge b | |
| Auto-merging a.txt | |
| CONFLICT (content): Merge conflict in a.txt | |
| Automatic merge failed; fix conflicts and then commit the result. | |
| ~/Documents/learning-git $ git diff a b | |
| ... <-- You can ignore the lines right here for now, these are the important lines: | |
| -Adam <-- this tells us that Adam was removed in branch b | |
| +Bob <-- and this tells us that Bob was added. |
This file contains hidden or 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
| # An example .gitignore file | |
| # You can use * to indicate any string of characters | |
| # Git will ignore any files or directories that match the list below, when you run the git add . command. | |
| *.log | |
| *.pyc | |
| *.swp | |
| *.*swp | |
| /credentials | |
| /venv |
This file contains hidden or 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
| @echo off | |
| ver | |
| echo. | |
| :Loop | |
| set /P the="%cd%>" | |
| %the% | |
| echo. | |
| goto loop |
NewerOlder