Skip to content

Commit

Permalink
add cvicenie 2
Browse files Browse the repository at this point in the history
  • Loading branch information
tuplle committed Oct 2, 2024
1 parent 1bda40a commit cdd187b
Show file tree
Hide file tree
Showing 28 changed files with 2,022 additions and 271 deletions.
2 changes: 1 addition & 1 deletion app/scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@
} else {
let script = document.createElement('script');
script.async = true;
script.src = '/bower_components/webcomponentsjs/webcomponents-lite.min.js';
script.src = 'bower_components/webcomponentsjs/webcomponents-lite.min.js';
document.head.appendChild(script);
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/styles/_categories.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ $color-weave-green: #0f9d58;
}

%icon-#{$icon-name} {
background-image: url('/images/icons/#{$icon}');
background-image: url('images/icons/#{$icon}');
}

@each $category in $categories {
Expand Down
24 changes: 12 additions & 12 deletions app/views/default/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#455a64">
<meta name="apple-mobile-web-app-title" content="{{view.title}}">
<link rel="apple-touch-icon" sizes="180x180" href="/images/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="194x194" href="/images/favicons/favicon-194x194.png">
<link rel="icon" type="image/png" sizes="192x192" href="/images/favicons/android-chrome-192x192.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicons/favicon-16x16.png">
<link rel="apple-touch-icon" sizes="180x180" href="images/favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="images/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="194x194" href="images/favicons/favicon-194x194.png">
<link rel="icon" type="image/png" sizes="192x192" href="images/favicons/android-chrome-192x192.png">
<link rel="icon" type="image/png" sizes="16x16" href="images/favicons/favicon-16x16.png">
<link rel="manifest" href="site.webmanifest">
<link rel="mask-icon" href="/images/favicons/safari-pinned-tab.svg" color="#455a64">
<link rel="mask-icon" href="images/favicons/safari-pinned-tab.svg" color="#455a64">
<meta name="msapplication-TileColor" content="#455a64">
<meta name="msapplication-TileImage" content="/images/favicons/mstile-144x144.png">
<meta name="msapplication-TileImage" content="images/favicons/mstile-144x144.png">
<meta name="theme-color" content="#455a64">

<meta name="og:type" property="og:type" content="website" />
Expand All @@ -79,8 +79,8 @@
<meta name="og:site_name" property="og:site_name" content="Codelabs" />
<meta name="og:determiner" property="og:determiner" content="the" />
<meta name="og:locale" property="og:locale" content="sk_SK" />
<meta name="og:image" property="og:image" content="/images/og-image.png" /> <!-- TODO zmeniť obrázok -->
<meta name="og:image:url" property="og:image:url" content="/images/og-image.png" />
<meta name="og:image" property="og:image" content="images/og-image.png" /> <!-- TODO zmeniť obrázok -->
<meta name="og:image:url" property="og:image:url" content="images/og-image.png" />
<meta name="og:image:type" property="og:image:type" content="image/png" />
<meta name="og:image:width" property="og:image:width" content="1200" />
<meta name="og:image:height" property="og:image:height" content="1200" />
Expand All @@ -89,7 +89,7 @@
<meta name="twitter:card" property="twitter:card" content="summary_large_image" />
<meta name="twitter:title" property="twitter:title" content="{{view.title}}" />
<meta name="twitter:description" property="twitter:description" content="{{view.description}}" />
<meta name="twitter:image" property="twitter:image" content="/images/og-image.png" />
<meta name="twitter:image" property="twitter:image" content="images/og-image.png" />
<meta name="twitter:url" property="twitter:url" content="{{canonicalViewUrl(view)}}" />
</head>

Expand All @@ -99,7 +99,7 @@
<div id="mainToolbar" class="paper-header">
<div class="site-width layout horizontal">
<a href="/">
<img src="/images/pevs-logo.png" class="logo-devs" alt="Codelabs Logo">
<img src="images/pevs-logo.png" class="logo-devs" alt="Codelabs Logo">
</a>
<div id="searchbar">
<paper-input-container no-label-float>
Expand Down Expand Up @@ -163,7 +163,7 @@ <h3>{{view.title}}</h3>
>
{%- for view in views -%}
{%- if view.id != 'default' && !view.hidden -%}
<a href="/{{view.url}}/" tabindex="-1">
<a href="{{view.url}}/" tabindex="-1">
<paper-item>{{view.title}}</paper-item>
</a>
{%- endif -%}
Expand Down
36 changes: 36 additions & 0 deletions codelabs/_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
summary: Cvičenie XX
id: cvicenie-xx
categories: cvicenie
tags: beginner
status: Published
authors: Milan Mladoniczky
feedback link: https://github.com/interes-group/pevs-BIAX10029-codelabs/issues

# Cvičenie XX

<!-- ------------------------ -->
## Úvod

Niečo na uvod...

### Obsah
-

> aside negative
> Ak používate ako vývojové prostredie lokálny a editor a následnú kompiláciu cez terminál. Použite príkaz:
> ```shell
> gcc -std=c11 -o program -Wall -Wextra main.c
> ```
Pre vypracovanie týchto úloh úplne postačuje použitie online kompilátora jazyku C. Napríklad stránku [OneCompiler for C](https://onecompiler.com/c)
Riešenia na jednotlivé úlohy budú uverejnené najskôr nasledujúci deň po cvičení.
<!-- ------------------------ -->
## Úloha 1.1
Napíšte program, zdrojový kód, v jazyku C použitím štandardu C11, ktorý realizuje nasledovnú činnosť.
### Príklady vstupov / výstupov programu
3 changes: 3 additions & 0 deletions codelabs/algoritmicke_zadania
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

Podklady: https://cstutorialpoint.com/c-programs-for-practice/#13_Searching
https://www.codechef.com/practice/c
2 changes: 0 additions & 2 deletions codelabs/cvicenie-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ a rozmýšľaním ako vyriešiť predložený problém ako programátor 😉
Pre vypracovanie týchto úloh úplne postačuje použitie online kompilátora jazyku C. Napríklad stránku [OneCompiler for C](https://onecompiler.com/c)
Riešenia na jednotlivé úlohy budú uverejnené nasledujúci deň po cvičení.
<!-- ------------------------ -->
## Úloha 1.1
Expand Down
4 changes: 2 additions & 2 deletions codelabs/cvicenie-1/codelab.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"environment": "web",
"format": "html",
"prefix": "https://storage.googleapis.com",
"mainga": "UA-49880327-14",
"prefix": "",
"mainga": "",
"updated": "2024-09-29T14:34:59+02:00",
"id": "cvicenie-1",
"duration": 0,
Expand Down
Loading

0 comments on commit cdd187b

Please sign in to comment.