Skip to content

Commit

Permalink
Info2 git leírás (#91)
Browse files Browse the repository at this point in the history
* Add local running instructions

* Add info2 snippet first half

* Fix run instruction

* Add second half of the snippet
  • Loading branch information
gknyihar authored Feb 10, 2024
1 parent 17384aa commit 517fa0a
Show file tree
Hide file tree
Showing 31 changed files with 343 additions and 3 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
source 'https://rubygems.org'
gem 'RedCloth', :platforms => :mswin
gem 'github-pages'
gem 'webrick'
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,18 @@
# snippets
A set of example-based tutorials for various classes

## Run locally

To test the webpage locally, you can serve the page using docker. On Windows, you can preferably use Docker Desktop.

1. Open a terminal in the root of the repository.

1. Run the following command in case of Windows (PowerShell), Linux or MacOS:

```bash
docker run --rm -v ${PWD}:/srv/jekyll -p 4000:4000 jekyll/jekyll jekyll serve --force_polling --livereload
```

1. Open the [http://localhost:4000/snippets/](http://localhost:4000/snippets/) link in a browser.

1. After every modification, you can see the result in the browser.
Binary file added snippets/0102_Info2Git/images/git-ext-clone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added snippets/0102_Info2Git/images/git-ext-config.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added snippets/0102_Info2Git/images/git-ext-init.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added snippets/0102_Info2Git/images/git-ext-push.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added snippets/0102_Info2Git/images/git-ext-status.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added snippets/0102_Info2Git/images/github-pr-draft.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added snippets/0102_Info2Git/images/github-pr-ready.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
322 changes: 322 additions & 0 deletions snippets/0102_Info2Git/index.md

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions stylesheets/stylesheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ $ColorLightEmph: #990000;
$ColorCodeForeground: #440000;
$ColorCodeBackground: #FFFFFF;
$ColorLink: #0000FF;
$ColorBlockquote: #573923;

* {
box-sizing: border-box; }
Expand Down Expand Up @@ -190,8 +191,8 @@ a {
.main-content blockquote {
padding: 0 1rem;
margin-left: 0;
color: $ColorCodeBackground;
border-left: 0.3rem solid $ColorCodeBackground; }
color: $ColorBlockquote;
border-left: 0.3rem solid $ColorBlockquote; }
.main-content blockquote > :first-child {
margin-top: 0; }
.main-content blockquote > :last-child {
Expand Down Expand Up @@ -327,4 +328,4 @@ a {
.highlight .vc { color: #008080 } /* Name.Variable.Class */
.highlight .vg { color: #008080 } /* Name.Variable.Global */
.highlight .vi { color: #008080 } /* Name.Variable.Instance */
.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */

0 comments on commit 517fa0a

Please sign in to comment.