Skip to content

Instantly share code, notes, and snippets.

@jeszy75
jeszy75 / macbeth-xslt.md
Created October 13, 2024 16:36
XSLT 1.0 feladatok (Macbeth)

XSLT 1.0 feladatok (Macbeth)

Az alábbi feladatokban a macbeth.xml dokumentumot használjuk bemeneti dokumentumként.

1. feladat

Készítsünk XSLT stíluslapot, mely egy tetszőleges bemeneti dokumentumban az elemeket úgy nevezi át, hogy bennük a nagybetű karaktereket kisbetű karakterekre cseréli.

2. feladat

@jeszy75
jeszy75 / web_apis.md
Last active October 5, 2024 16:26
Interesting web APIs
@jeszy75
jeszy75 / gfm-example.md
Created September 14, 2024 14:24
GitHub Flavored Markdown Example

GitHub Flavored Markdown Example

The GitHub Flavored Markdown (GFM) Spec can be found here.

Alerts

Note

Nulla semper lectus felis, in faucibus lacus dictum eget. Pellentesque mi ligula, rutrum ut tempus eget, ornare tristique diam.

[!TIP]

@jeszy75
jeszy75 / markdown-mermaid-example.md
Created September 13, 2024 21:05
Using Mermaid Diagrams in Markdown

Using Mermaid Diagrams in Markdown

Mermaid is a JavaScript-based diagramming and charting tool with a syntax inspired by Markdown. Mermaid can be used for creating diagrams of various types, e.g., pie chars, flowcharts, and UML class diagrams.

GitHub supports the use of Mermaid diagrams in Markdown documents, see, for example, this blog post.

For Pandoc, mermaid-filter provides Mermaid support.

Examples

@jeszy75
jeszy75 / markdown-example.md
Created September 13, 2024 20:52
Markdown Example

Markdown Example

Block level elements

Paragraphs

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas ut nunc vitae magna blandit euismod. Nullam luctus molestie commodo. Aliquam ac

@jeszy75
jeszy75 / maven_github_packages_en.md
Last active August 16, 2024 14:21
Deploying Maven Artifacts to GitHub

Deploying Maven Artifacts to GitHub

This document explains how to deploy Apache Maven artifacts created during the package lifecycle phase to GitHub using GitHub Packages. You can read about working with Maven and GitHub Packages here.

Setting Up Authentication

Create a "classic" personal access token (PAT) here by clicking on the Generate new token button and choosing Generate new token (classic). When a new token is created you must check at least the write:packages scope. You should copy the PAT to a safe location, since you won't be able to see it again.

Use your ~/.m2/settings.xml file to store your PAT adding the following element to the settings/servers element:

@jeszy75
jeszy75 / vscode-extensions.md
Last active September 20, 2024 21:01
Essential Visual Studio Code Extensions

Essential Visual Studio Code Extensions

This document lists essential Visual Studio Code extensions that will be used for the Web Technologies course in the computer lab over the semester.

HTML

@jeszy75
jeszy75 / reflection+streams_en.md
Created March 4, 2022 09:24
Java Reflection Assignments

Java Reflection Assignments

Write a stream pipeline that:

  1. Prints the declared methods of java.lang.String sorted by name.

  2. Prints all distinct names of the declared methods of java.lang.String sorted alphabetically.

  3. Prints the declared methods of java.lang.String with two or more parameters whose parameters are all of the same type, sorted by name.

Jelentéskészítés az Apache Mavennel

A pom.xml állományban helyezzük el az alábbi elemet a project/reporting/plugins elemben:

<plugin>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>buildplan-maven-plugin</artifactId>
@jeszy75
jeszy75 / maven-reporting_en.md
Last active February 23, 2024 17:03
Reporting with Apache Maven

Reporting with Apache Maven

In the pom.xml file, add the following element to the project/reporting/plugins element:

<plugin>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>buildplan-maven-plugin</artifactId>