ZetCode - C#, Python, Java, JavaScript, Go programming

Are you over 18 and want to see adult content?

3

More Annotations

Forex Rebates - Best Rates on the net - RebateKingFX

Forex Rebates - Best Rates on the net - RebateKingFX

rebatekingfx.com
Profile Image
Maria Johnson
2020-03-14 12:17:56
Forex Rebates - Best Rates on the net - RebateKingFX

Forex Rebates - Best Rates on the net - RebateKingFX

rebatekingfx.com

Are you over 18 and want to see adult content?

Магазин -Прапорщик-, купить камуфляж, военная форма, берцы, одежда для Ñ

Магазин -Прапорщик-, купить камуфляж, военная форма, берцы, одежда для Ñ

camouflage.kiev.ua
Profile Image
Maria Johnson
2020-03-14 12:18:13
Магазин -Прапорщик-, купить камуфляж, военная форма, берцы, одежда для Ñ

Магазин -Прапорщик-, купить камуфляж, военная форма, берцы, одежда для Ñ

camouflage.kiev.ua

Are you over 18 and want to see adult content?

The Drunken Donk - The Drunken Donk

The Drunken Donk - The Drunken Donk

thedrunkendonk.com
Profile Image
Maria Johnson
2020-03-14 12:18:27
The Drunken Donk - The Drunken Donk

The Drunken Donk - The Drunken Donk

thedrunkendonk.com

Are you over 18 and want to see adult content?

A complete backup of aiostream.com

A complete backup of aiostream.com

aiostream.com
Profile Image
Maria Johnson
2020-03-14 12:18:49
A complete backup of aiostream.com

A complete backup of aiostream.com

aiostream.com

Are you over 18 and want to see adult content?

Manchester Arndale, the Centre of the City

Manchester Arndale, the Centre of the City

manchesterarndale.com
Profile Image
Maria Johnson
2020-03-14 12:19:10
Manchester Arndale, the Centre of the City

Manchester Arndale, the Centre of the City

manchesterarndale.com

Are you over 18 and want to see adult content?

18 Porn Videos - Free Teenage Sex Tube with Pretty Petite Girls & Boys

18 Porn Videos - Free Teenage Sex Tube with Pretty Petite Girls & Boys

18pornvideos.net
Profile Image
Maria Johnson
2020-03-14 12:19:31
18 Porn Videos - Free Teenage Sex Tube with Pretty Petite Girls & Boys

18 Porn Videos - Free Teenage Sex Tube with Pretty Petite Girls & Boys

18pornvideos.net

Are you over 18 and want to see adult content?

3
Aboca - INNOVATION FOR HEALTH

Aboca - INNOVATION FOR HEALTH

aboca.com
Profile Image
Maria Johnson
2020-03-14 12:19:59
Aboca - INNOVATION FOR HEALTH

Aboca - INNOVATION FOR HEALTH

aboca.com

Are you over 18 and want to see adult content?

C.S. OSBORNE Industrial, Hand and Leather Tools

C.S. OSBORNE Industrial, Hand and Leather Tools

csosborne.com
Profile Image
Maria Johnson
2020-03-14 12:20:29
C.S. OSBORNE Industrial, Hand and Leather Tools

C.S. OSBORNE Industrial, Hand and Leather Tools

csosborne.com

Are you over 18 and want to see adult content?

Дни силы - календарь особых дней

Дни силы - календарь особых дней

ezo-date.ru
Profile Image
Maria Johnson
2020-03-14 12:20:33
Дни силы - календарь особых дней

Дни силы - календарь особых дней

ezo-date.ru

Are you over 18 and want to see adult content?

خرید سرور مجازی - خرید سرور اختصاصی - هاست سی پنل - سرور مجازی وارزهلند -

خرید سرور مجازی - خرید سرور اختصاصی - هاست سی پنل - سرور مجازی وارزهلند -

novinvps.com
Profile Image
Maria Johnson
2020-03-14 12:20:45
خرید سرور مجازی - خرید سرور اختصاصی - هاست سی پنل - سرور مجازی وارزهلند -

خرید سرور مجازی - خرید سرور اختصاصی - هاست سی پنل - سرور مجازی وارزهلند -

novinvps.com

Are you over 18 and want to see adult content?

مدیریت حمل و نقل بار - بارکاو

مدیریت حمل و نقل بار - بارکاو

barkav.ir
Profile Image
Maria Johnson
2020-03-14 12:21:14
مدیریت حمل و نقل بار - بارکاو

مدیریت حمل و نقل بار - بارکاو

barkav.ir

Are you over 18 and want to see adult content?

Official Home Page - Earnthill Foundation

Official Home Page - Earnthill Foundation

earnthrillfund.com
Profile Image
Maria Johnson
2020-03-14 12:21:32
Official Home Page - Earnthill Foundation

Official Home Page - Earnthill Foundation

earnthrillfund.com

Are you over 18 and want to see adult content?

3

Favourite Annotations

Ancestral Supplements - Buy Now Through Shopify Or Pay With Amazon

Ancestral Supplements - Buy Now Through Shopify Or Pay With Amazon

ancestral-supplements.myshopify.com
Profile Image
Maria Johnson
2019-08-11 08:00:42
Ancestral Supplements - Buy Now Through Shopify Or Pay With Amazon

Ancestral Supplements - Buy Now Through Shopify Or Pay With Amazon

ancestral-supplements.myshopify.com

Are you over 18 and want to see adult content?

Sagacious News

Sagacious News

sagaciousnewsnetwork.com
Profile Image
Maria Johnson
2019-08-11 08:00:45
Sagacious News

Sagacious News

sagaciousnewsnetwork.com

Are you over 18 and want to see adult content?

konobuta – This pig could've done better

konobuta – This pig could've done better

konobuta.com
Profile Image
Maria Johnson
2019-08-11 08:00:54
konobuta – This pig could've done better

konobuta – This pig could've done better

konobuta.com

Are you over 18 and want to see adult content?

Автобазар в Харькове AUTO.KHARKIV.UA - Авторынок - Харьков и область (Украина)

Автобазар в Харькове AUTO.KHARKIV.UA - Авторынок - Харьков и область (Украина)

auto.kharkiv.ua
Profile Image
Maria Johnson
2019-08-11 08:01:11
Автобазар в Харькове AUTO.KHARKIV.UA - Авторынок - Харьков и область (Украина)

Автобазар в Харькове AUTO.KHARKIV.UA - Авторынок - Харьков и область (Украина)

auto.kharkiv.ua

Are you over 18 and want to see adult content?

INEOS - The Word for Chemicals

INEOS - The Word for Chemicals

ineos.com
Profile Image
Maria Johnson
2019-08-11 08:01:12
INEOS - The Word for Chemicals

INEOS - The Word for Chemicals

ineos.com

Are you over 18 and want to see adult content?

PABX DIGITAL - A Central PABX Virtual mais completo para Call Center

PABX DIGITAL - A Central PABX Virtual mais completo para Call Center

pabx.digital
Profile Image
Maria Johnson
2019-08-11 08:01:13
PABX DIGITAL - A Central PABX Virtual mais completo para Call Center

PABX DIGITAL - A Central PABX Virtual mais completo para Call Center

pabx.digital

Are you over 18 and want to see adult content?

1
A complete backup of ourhotwifelifestyle.tumblr.com

A complete backup of ourhotwifelifestyle.tumblr.com

ourhotwifelifestyle.tumblr.com
Profile Image
Maria Johnson
2019-08-11 08:01:24
A complete backup of ourhotwifelifestyle.tumblr.com

A complete backup of ourhotwifelifestyle.tumblr.com

ourhotwifelifestyle.tumblr.com

Are you over 18 and want to see adult content?

ilmuRumah.com - Tips desain bangun renovasi rumah tinggal toko kost kontrakan

ilmuRumah.com - Tips desain bangun renovasi rumah tinggal toko kost kontrakan

ilmurumah.com
Profile Image
Maria Johnson
2019-08-11 08:01:27
ilmuRumah.com - Tips desain bangun renovasi rumah tinggal toko kost kontrakan

ilmuRumah.com - Tips desain bangun renovasi rumah tinggal toko kost kontrakan

ilmurumah.com

Are you over 18 and want to see adult content?

Property Management Optimized. Leasing Simplified - Mynd Property Management

Property Management Optimized. Leasing Simplified - Mynd Property Management

mynd.co
Profile Image
Maria Johnson
2019-08-11 08:01:35
Property Management Optimized. Leasing Simplified - Mynd Property Management

Property Management Optimized. Leasing Simplified - Mynd Property Management

mynd.co

Are you over 18 and want to see adult content?

Better- The Feel Good Place. Join us now.

Better- The Feel Good Place. Join us now.

better.org.uk
Profile Image
Maria Johnson
2019-08-11 08:01:49
Better- The Feel Good Place. Join us now.

Better- The Feel Good Place. Join us now.

better.org.uk

Are you over 18 and want to see adult content?

⭐ Taxa de pod Fetești 2019 - SMS, online sau benzinărie

⭐ Taxa de pod Fetești 2019 - SMS, online sau benzinărie

taxa-pod-fetesti.com
Profile Image
Maria Johnson
2019-08-11 08:01:57
⭐ Taxa de pod Fetești 2019 - SMS, online sau benzinărie

⭐ Taxa de pod Fetești 2019 - SMS, online sau benzinărie

taxa-pod-fetesti.com

Are you over 18 and want to see adult content?

فروشگاه ساز رایگان و حرفه ای فورکیا - سایت ساز رایگان

فروشگاه ساز رایگان و حرفه ای فورکیا - سایت ساز رایگان

4kia.ir
Profile Image
Maria Johnson
2019-08-11 08:02:06
فروشگاه ساز رایگان و حرفه ای فورکیا - سایت ساز رایگان

فروشگاه ساز رایگان و حرفه ای فورکیا - سایت ساز رایگان

4kia.ir

Are you over 18 and want to see adult content?

5

Text

KOTLIN MAPS

Kotlin maps tutorial shows how to work with maps in Kotlin. A map is a collection of pairs of objects. Kotlin distinguishes between read-only and mutable maps. Read-only maps are created with mapOf () and mutable maps with mutableMapOf () .

PYTHON PYQT6

Python PyQt6 tutorial is an introductory tutorial to GUI programming with Python and PyQt6 library. The examples describe widgets, explain layout management, cover menus and toolbars, dialogs, events and signals, and show how to do painting and create a game.

C++ FOREACH

C++ foreach tutorial shows how to loop over containers in C++. C++ 11 introduced range-based for loop. C# FILTER LIST TUTORIAL C# filter list tutorial shows how to filter a list in C#. We use iteration, LINQ, and built-in FindAll() method.

C# MYSQL TUTORIAL

ADO.NET. ADO.NET is an important part of the .NET framework. It is a specification that unifies access to relational databases, XML files and other application data. MySql.Data is an implementation of the ADO.NET specification for the MySQL database. It is a driver written in C# language and is available for all .NET languages.

C# HTTPCLIENT

HttpClient is a base class for sending HTTP requests and receiving HTTP responses from a resource identified by a URI.. C# HttpClient status code. HTTP response status codes indicate whether a specific HTTP request has been successfully completed. Responses are grouped in

five classes:

SPRING MESSAGESOURCE TUTORIAL Spring MessageSource example. The following application contains messages in English and German language. It uses the built-in ResourceBundleMessageSource.. pom.xml src ├───main │ ├───java │ │ └───com │ │ └───zetcode │ │ │ Application.java │ │ └───config │ │ AppConfig.java │ └───resources │ │ logback.xml SPRING MODELANDVIEW TUTORIAL ModelAndView. ModelAndView is a holder for both Model and View in the web MVC framework. These two classes are distinct; ModelAndView merely holds both to make it possible for a controller to return both model and view in a single return value. The view is resolved by a ViewResolver object; the model is data stored in a Map .

C# PREDICATE

C# Predicate. Predicates in C# are implemented with delegates. The Predicate delegate represents the method that defines a set of criteria and determines whether the specified object meets those criteria.. C# Predicate example. The following example creates a simple C# Predicate.

PYTHON SMTPLIB

The smtplib module. The smtplib is a Python library for sending emails using the Simple Mail Transfer Protocol (SMTP). The smtplib is a built-in module; we do not need to install it. It abstracts away all the complexities of SMTP. Mail servers. To actually send an email, we need to have access to a

KOTLIN MAPS

Kotlin maps tutorial shows how to work with maps in Kotlin. A map is a collection of pairs of objects. Kotlin distinguishes between read-only and mutable maps. Read-only maps are created with mapOf () and mutable maps with mutableMapOf () .

PYTHON PYQT6

Python PyQt6 tutorial is an introductory tutorial to GUI programming with Python and PyQt6 library. The examples describe widgets, explain layout management, cover menus and toolbars, dialogs, events and signals, and show how to do painting and create a game.

C++ FOREACH

C++ foreach tutorial shows how to loop over containers in C++. C++ 11 introduced range-based for loop. C# FILTER LIST TUTORIAL C# filter list tutorial shows how to filter a list in C#. We use iteration, LINQ, and built-in FindAll() method.

C# MYSQL TUTORIAL

ADO.NET. ADO.NET is an important part of the .NET framework. It is a specification that unifies access to relational databases, XML files and other application data. MySql.Data is an implementation of the ADO.NET specification for the MySQL database. It is a driver written in C# language and is available for all .NET languages.

C# HTTPCLIENT

HttpClient is a base class for sending HTTP requests and receiving HTTP responses from a resource identified by a URI.. C# HttpClient status code. HTTP response status codes indicate whether a specific HTTP request has been successfully completed. Responses are grouped in

five classes:

SPRING MESSAGESOURCE TUTORIAL Spring MessageSource example. The following application contains messages in English and German language. It uses the built-in ResourceBundleMessageSource.. pom.xml src ├───main │ ├───java │ │ └───com │ │ └───zetcode │ │ │ Application.java │ │ └───config │ │ AppConfig.java │ └───resources │ │ logback.xml SPRING MODELANDVIEW TUTORIAL ModelAndView. ModelAndView is a holder for both Model and View in the web MVC framework. These two classes are distinct; ModelAndView merely holds both to make it possible for a controller to return both model and view in a single return value. The view is resolved by a ViewResolver object; the model is data stored in a Map .

C# PREDICATE

C# Predicate. Predicates in C# are implemented with delegates. The Predicate delegate represents the method that defines a set of criteria and determines whether the specified object meets those criteria.. C# Predicate example. The following example creates a simple C# Predicate.

PYTHON SMTPLIB

The smtplib module. The smtplib is a Python library for sending emails using the Simple Mail Transfer Protocol (SMTP). The smtplib is a built-in module; we do not need to install it. It abstracts away all the complexities of SMTP. Mail servers. To actually send an email, we need to have access to a C# FILTER LIST TUTORIAL C# filter list tutorial shows how to filter a list in C#. We use iteration, LINQ, and built-in FindAll() method. GO BUILDER - BUILDING STRINGS EFFICIENTLY IN GOLANG WITH Go Builder tutorial shows how to build strings efficiently in Golang with strings.Builder. We build a string with various write methods such as WriteString or WriteRune. In the end, we return the accumulated string with the String method. The Builder uses an internal slice to store data.

GO FILTER SLICE

In the following example, we filter out positive values. We have a slice of integers. We create a new slice from the existing one having only its positive values. We go over the elements of the array with a for loop. We test each element if it is greater than zero. All the elements that satisfy the condition are copied to the new positive

slice.

SPRING BOOT LOGIN PAGE Spring Boot Login Page example. The following example shows how to set up a simple login page in a Spring Boot application. pom.xml src ├───main │ ├───java │ │ └───com │ │ └───zetcode │ │ │ Application.java │ │ └───controller │ │ MyController.java │ └───resources │ application.properties └───test

└───java

SPRING JETTY TUTORIAL Spring Jetty example. In the following example, we create a simple Spring web application and deploy it on the Jetty web server. For this, we use the jetty-maven-plugin . The application displays a couple of English words. This is the project structure. C# SQL SERVER TUTORIAL The SqlCommand is an object which is used to execute a query on the database. The parameters are the SQL statement and the connection object. var version = cmd.ExecuteScalar ().ToString (); There are queries which return only a scalar value. In our case, we want a simple string specifying the version of the database. SPRING BOOT FINDBYID CrudRepository. CrudRepository interface provides generic CRUD operations on a repository for a specific type. Its findById method retrieves an entity by its id. The return value is Optional.. Optional is a container object which may or may not contain a non-null value. If a value is present, isPresent returns true and get returns the value. The ifPresent invokes the specified method if

C# PREDICATE

C# Predicate. Predicates in C# are implemented with delegates. The Predicate delegate represents the method that defines a set of criteria and determines whether the specified object meets those criteria.. C# Predicate example. The following example creates a simple C# Predicate. SHAPES AND FILLS IN JAVA 2D First we draw some basic Java 2D shapes. In this example, we draw six basic shapes on the panel: a square, a rectangle, a rounded rectangle, an ellipse, an arc, and a circle. The shapes will be drawn in a gray background. The fillRect () method is used to draw both a rectangle

and a square.

C# STREAMREADER TUTORIAL C# StreamReader. StreamReader reads characters from a byte stream in a particular encoding. It is a convenience class for working with text data instead of bytes. StreamReader defaults to UTF-8 encoding unless specified otherwise.

PYTHON PYQT6

Python PyQt6 tutorial is an introductory tutorial to GUI programming with Python and PyQt6 library. The examples describe widgets, explain layout management, cover menus and toolbars, dialogs, events and signals, and show how to do painting and create a game. C# FILTER LIST TUTORIAL C# filter list tutorial shows how to filter a list in C#. We use iteration, LINQ, and built-in FindAll() method.

C# MYSQL TUTORIAL

ADO.NET. ADO.NET is an important part of the .NET framework. It is a specification that unifies access to relational databases, XML files and other application data. MySql.Data is an implementation of the ADO.NET specification for the MySQL database. It is a driver written in C# language and is available for all .NET languages. C# FUNC - EXPLAINING FUNC DELEGATE IN C# - ZETCODE Func can contains 0 to 16 input parameters and must have one return type. (There are 16 overloads of the Func delegate.). public delegate TResult Func(T1 arg1, T2 arg2); For instance, this delegate encapsulates a method that has two parameters and returns a value of the type specified by the TResult parameter.. C# Func simple example INTRODUCTION TO SQLITE VISUAL BASIC

C# PREDICATE

C# Predicate. Predicates in C# are implemented with delegates. The Predicate delegate represents the method that defines a set of criteria and determines whether the specified object meets those criteria.. C# Predicate example. The following example creates a simple C# Predicate.

C# GET/POST REQUEST

In the examples, we use httpbin.org, which is a freely available HTTP request and response service, and the webcode.me, which is a tiny HTML page for testing.. HTTP GET. The HTTP GET method requests a representation of the specified resource. Requests using GET should

only retrieve data.

JASPERREPORTS RESOURCEBUNDLE JasperReports ResourceBundle. In this tutorial, we create a report in multiple languages in JasperReports library. The sources for the example can be found at the author's Github repository . JasperReports is an open-source reporting library. It can create reports in various formats including PDF, HTML, XLS, or CSV. SPRING MODELANDVIEW TUTORIAL ModelAndView. ModelAndView is a holder for both Model and View in the web MVC framework. These two classes are distinct; ModelAndView merely holds both to make it possible for a controller to return both model and view in a single return value. The view is resolved by a ViewResolver object; the model is data stored in a Map . SPRING BINDINGRESULT BindingResult. BindingResult holds the result of a validation and binding and contains errors that may have occurred. The BindingResult must come right after the model object that is validated or else Spring fails to validate the object and throws an exception.

PYTHON PYQT6

Python PyQt6 tutorial is an introductory tutorial to GUI programming with Python and PyQt6 library. The examples describe widgets, explain layout management, cover menus and toolbars, dialogs, events and signals, and show how to do painting and create a game. C# FILTER LIST TUTORIAL C# filter list tutorial shows how to filter a list in C#. We use iteration, LINQ, and built-in FindAll() method.

C# MYSQL TUTORIAL

ADO.NET. ADO.NET is an important part of the .NET framework. It is a specification that unifies access to relational databases, XML files and other application data. MySql.Data is an implementation of the ADO.NET specification for the MySQL database. It is a driver written in C# language and is available for all .NET languages. C# FUNC - EXPLAINING FUNC DELEGATE IN C# - ZETCODE Func can contains 0 to 16 input parameters and must have one return type. (There are 16 overloads of the Func delegate.). public delegate TResult Func(T1 arg1, T2 arg2); For instance, this delegate encapsulates a method that has two parameters and returns a value of the type specified by the TResult parameter.. C# Func simple example INTRODUCTION TO SQLITE VISUAL BASIC

C# PREDICATE

C# Predicate. Predicates in C# are implemented with delegates. The Predicate delegate represents the method that defines a set of criteria and determines whether the specified object meets those criteria.. C# Predicate example. The following example creates a simple C# Predicate.

C# GET/POST REQUEST

In the examples, we use httpbin.org, which is a freely available HTTP request and response service, and the webcode.me, which is a tiny HTML page for testing.. HTTP GET. The HTTP GET method requests a representation of the specified resource. Requests using GET should

only retrieve data.

JASPERREPORTS RESOURCEBUNDLE JasperReports ResourceBundle. In this tutorial, we create a report in multiple languages in JasperReports library. The sources for the example can be found at the author's Github repository . JasperReports is an open-source reporting library. It can create reports in various formats including PDF, HTML, XLS, or CSV. SPRING MODELANDVIEW TUTORIAL ModelAndView. ModelAndView is a holder for both Model and View in the web MVC framework. These two classes are distinct; ModelAndView merely holds both to make it possible for a controller to return both model and view in a single return value. The view is resolved by a ViewResolver object; the model is data stored in a Map . SPRING BINDINGRESULT BindingResult. BindingResult holds the result of a validation and binding and contains errors that may have occurred. The BindingResult must come right after the model object that is validated or else Spring fails to validate the object and throws an exception.

C# MYSQL TUTORIAL

ADO.NET. ADO.NET is an important part of the .NET framework. It is a specification that unifies access to relational databases, XML files and other application data. MySql.Data is an implementation of the ADO.NET specification for the MySQL database. It is a driver written in C# language and is available for all .NET languages. C# FILTER LIST TUTORIAL C# filter list tutorial shows how to filter a list in C#. We use iteration, LINQ, and built-in FindAll() method. C# CSV - READ WRITE CSV DATA IN C# - ZETCODE C# CSV write data by records. In the following example, we write CSV data by records. In the example, we write CSV data into memory and then to the console. First, we write the header. The NextRecord method adds a newline. The WriteField writes the field to the CSV file. A new record is started with NextRecord. INTRODUCTION TO SQLITE VISUAL BASIC The DataSet object is used for offline work with a mass of data. It is a disconnected data representation that can hold data from a variety of different sources. Both SqliteDataReader and DataSet are used to work with data; they are used under different circumstances. If we only need to read the results of a query, the SqliteDataReader is the

better choice.

C# PREDICATE

C# Predicate. Predicates in C# are implemented with delegates. The Predicate delegate represents the method that defines a set of criteria and determines whether the specified object meets those criteria.. C# Predicate example. The following example creates a simple C# Predicate. C# POSTGRESQL TUTORIAL PostgreSQL has sophisticated features such as Multi-Version Concurrency Control (MVCC), point in time recovery, tablespaces, asynchronous replication, nested transactions (savepoints), online/hot backups, a sophisticated query planner/optimizer, and write ahead logging for fault tolerance.

C# HTTPCLIENT

HttpClient is a base class for sending HTTP requests and receiving HTTP responses from a resource identified by a URI.. C# HttpClient status code. HTTP response status codes indicate whether a specific HTTP request has been successfully completed. Responses are grouped in

five classes:

SPRING BINDINGRESULT Spring BindingResult example. The following application validates a user form and uses BindingResult to store the validation results. pom.xml src ├───main │ ├───java │ │ └───com │ │ └───zetcode │ │ ├───config │ │ │ MyWebInitializer.java │ │ │ WebConfig.java │ │ ├───controller │ │ │ MyController.java SPRING BOOT DATASOURCEBUILDER Spring Boot DataSourceBuilder tutorial shows how to use DataSourceBuilder to create datasources in a command line Spring Boot application. A HikariCP connection pool is used. DataSourceBuilder is a Java convenience class to create a data source with common implementations and properties. H2 is an open source relational

database management

SPRING @DELETEMAPPING TUTORIAL MyController provides mappings between request paths and handler methods. We have two mappings: one for a GET request and one for a DELETE request. The method annotated with @GetMapping returns all posts. The deletePost () is annotated with @DeleteMapping . The job of the method is to try to delete a post using an IPostService .

PYTHON PYQT6

Python PyQt6 tutorial is an introductory tutorial to GUI programming with Python and PyQt6 library. The examples describe widgets, explain layout management, cover menus and toolbars, dialogs, events and signals, and show how to do painting and create a game. C# FILTER LIST TUTORIAL C# filter list tutorial shows how to filter a list in C#. We use iteration, LINQ, and built-in FindAll() method.

C# MYSQL TUTORIAL

ADO.NET. ADO.NET is an important part of the .NET framework. It is a specification that unifies access to relational databases, XML files and other application data. MySql.Data is an implementation of the ADO.NET specification for the MySQL database. It is a driver written in C# language and is available for all .NET languages. C# FUNC - EXPLAINING FUNC DELEGATE IN C# - ZETCODE Func can contains 0 to 16 input parameters and must have one return type. (There are 16 overloads of the Func delegate.). public delegate TResult Func(T1 arg1, T2 arg2); For instance, this delegate encapsulates a method that has two parameters and returns a value of the type specified by the TResult parameter.. C# Func simple example INTRODUCTION TO SQLITE VISUAL BASIC

C# PREDICATE

C# Predicate. Predicates in C# are implemented with delegates. The Predicate delegate represents the method that defines a set of criteria and determines whether the specified object meets those criteria.. C# Predicate example. The following example creates a simple C# Predicate.

C# GET/POST REQUEST

In the examples, we use httpbin.org, which is a freely available HTTP request and response service, and the webcode.me, which is a tiny HTML page for testing.. HTTP GET. The HTTP GET method requests a representation of the specified resource. Requests using GET should

only retrieve data.

JASPERREPORTS RESOURCEBUNDLE JasperReports ResourceBundle. In this tutorial, we create a report in multiple languages in JasperReports library. The sources for the example can be found at the author's Github repository . JasperReports is an open-source reporting library. It can create reports in various formats including PDF, HTML, XLS, or CSV. SPRING MODELANDVIEW TUTORIAL ModelAndView. ModelAndView is a holder for both Model and View in the web MVC framework. These two classes are distinct; ModelAndView merely holds both to make it possible for a controller to return both model and view in a single return value. The view is resolved by a ViewResolver object; the model is data stored in a Map . SPRING BINDINGRESULT BindingResult. BindingResult holds the result of a validation and binding and contains errors that may have occurred. The BindingResult must come right after the model object that is validated or else Spring fails to validate the object and throws an exception.

PYTHON PYQT6

Python PyQt6 tutorial is an introductory tutorial to GUI programming with Python and PyQt6 library. The examples describe widgets, explain layout management, cover menus and toolbars, dialogs, events and signals, and show how to do painting and create a game. C# FILTER LIST TUTORIAL C# filter list tutorial shows how to filter a list in C#. We use iteration, LINQ, and built-in FindAll() method.

C# MYSQL TUTORIAL

ADO.NET. ADO.NET is an important part of the .NET framework. It is a specification that unifies access to relational databases, XML files and other application data. MySql.Data is an implementation of the ADO.NET specification for the MySQL database. It is a driver written in C# language and is available for all .NET languages. C# FUNC - EXPLAINING FUNC DELEGATE IN C# - ZETCODE Func can contains 0 to 16 input parameters and must have one return type. (There are 16 overloads of the Func delegate.). public delegate TResult Func(T1 arg1, T2 arg2); For instance, this delegate encapsulates a method that has two parameters and returns a value of the type specified by the TResult parameter.. C# Func simple example INTRODUCTION TO SQLITE VISUAL BASIC

C# PREDICATE

C# Predicate. Predicates in C# are implemented with delegates. The Predicate delegate represents the method that defines a set of criteria and determines whether the specified object meets those criteria.. C# Predicate example. The following example creates a simple C# Predicate.

C# GET/POST REQUEST

In the examples, we use httpbin.org, which is a freely available HTTP request and response service, and the webcode.me, which is a tiny HTML page for testing.. HTTP GET. The HTTP GET method requests a representation of the specified resource. Requests using GET should

only retrieve data.

JASPERREPORTS RESOURCEBUNDLE JasperReports ResourceBundle. In this tutorial, we create a report in multiple languages in JasperReports library. The sources for the example can be found at the author's Github repository . JasperReports is an open-source reporting library. It can create reports in various formats including PDF, HTML, XLS, or CSV. SPRING MODELANDVIEW TUTORIAL ModelAndView. ModelAndView is a holder for both Model and View in the web MVC framework. These two classes are distinct; ModelAndView merely holds both to make it possible for a controller to return both model and view in a single return value. The view is resolved by a ViewResolver object; the model is data stored in a Map . SPRING BINDINGRESULT BindingResult. BindingResult holds the result of a validation and binding and contains errors that may have occurred. The BindingResult must come right after the model object that is validated or else Spring fails to validate the object and throws an exception.

C# MYSQL TUTORIAL

ADO.NET. ADO.NET is an important part of the .NET framework. It is a specification that unifies access to relational databases, XML files and other application data. MySql.Data is an implementation of the ADO.NET specification for the MySQL database. It is a driver written in C# language and is available for all .NET languages. C# FILTER LIST TUTORIAL C# filter list tutorial shows how to filter a list in C#. We use iteration, LINQ, and built-in FindAll() method. C# CSV - READ WRITE CSV DATA IN C# - ZETCODE C# CSV write data by records. In the following example, we write CSV data by records. In the example, we write CSV data into memory and then to the console. First, we write the header. The NextRecord method adds a newline. The WriteField writes the field to the CSV file. A new record is started with NextRecord. INTRODUCTION TO SQLITE VISUAL BASIC The DataSet object is used for offline work with a mass of data. It is a disconnected data representation that can hold data from a variety of different sources. Both SqliteDataReader and DataSet are used to work with data; they are used under different circumstances. If we only need to read the results of a query, the SqliteDataReader is the

better choice.

C# PREDICATE

C# Predicate. Predicates in C# are implemented with delegates. The Predicate delegate represents the method that defines a set of criteria and determines whether the specified object meets those criteria.. C# Predicate example. The following example creates a simple C# Predicate. C# POSTGRESQL TUTORIAL PostgreSQL has sophisticated features such as Multi-Version Concurrency Control (MVCC), point in time recovery, tablespaces, asynchronous replication, nested transactions (savepoints), online/hot backups, a sophisticated query planner/optimizer, and write ahead logging for fault tolerance.

C# HTTPCLIENT

HttpClient is a base class for sending HTTP requests and receiving HTTP responses from a resource identified by a URI.. C# HttpClient status code. HTTP response status codes indicate whether a specific HTTP request has been successfully completed. Responses are grouped in

five classes:

SPRING BINDINGRESULT Spring BindingResult example. The following application validates a user form and uses BindingResult to store the validation results. pom.xml src ├───main │ ├───java │ │ └───com │ │ └───zetcode │ │ ├───config │ │ │ MyWebInitializer.java │ │ │ WebConfig.java │ │ ├───controller │ │ │ MyController.java SPRING BOOT DATASOURCEBUILDER Spring Boot DataSourceBuilder tutorial shows how to use DataSourceBuilder to create datasources in a command line Spring Boot application. A HikariCP connection pool is used. DataSourceBuilder is a Java convenience class to create a data source with common implementations and properties. H2 is an open source relational

database management

SPRING @DELETEMAPPING TUTORIAL MyController provides mappings between request paths and handler methods. We have two mappings: one for a GET request and one for a DELETE request. The method annotated with @GetMapping returns all posts. The deletePost () is annotated with @DeleteMapping . The job of the method is to try to delete a post using an IPostService . INTRODUCTION TO SQLITE VISUAL BASIC GO BUILDER - BUILDING STRINGS EFFICIENTLY IN GOLANG WITH Go Builder tutorial shows how to build strings efficiently in Golang with strings.Builder. We build a string with various write methods such as WriteString or WriteRune. In the end, we return the accumulated string with the String method. The Builder uses an internal slice to store data. SPRING BINDINGRESULT BindingResult. BindingResult holds the result of a validation and binding and contains errors that may have occurred. The BindingResult must come right after the model object that is validated or else Spring fails to validate the object and throws an exception.

KOTLIN MAPS

Kotlin maps tutorial shows how to work with maps in Kotlin. A map is a collection of pairs of objects. Kotlin distinguishes between read-only and mutable maps. Read-only maps are created with mapOf () and mutable maps with mutableMapOf () . C# FUNC - EXPLAINING FUNC DELEGATE IN C# - ZETCODE Func can contains 0 to 16 input parameters and must have one return type. (There are 16 overloads of the Func delegate.). public delegate TResult Func(T1 arg1, T2 arg2); For instance, this delegate encapsulates a method that has two parameters and returns a value of the type specified by the TResult parameter.. C# Func simple example

C# PREDICATE

C# Predicate. Predicates in C# are implemented with delegates. The Predicate delegate represents the method that defines a set of criteria and determines whether the specified object meets those criteria.. C# Predicate example. The following example creates a simple C# Predicate. SPRING BOOT LOGIN PAGE Spring Boot Login Page example. The following example shows how to set up a simple login page in a Spring Boot application. pom.xml src ├───main │ ├───java │ │ └───com │ │ └───zetcode │ │ │ Application.java │ │ └───controller │ │ MyController.java │ └───resources │ application.properties └───test

└───java

KOTLIN STRINGS

Kotlin strings tutorial shows how to work with strings in Kotlin. A string is a basic data type in a programming language. In Kotlin, the String class represents character strings. Kotlin string literals are implemented as instances of this class. Kotlin uses double quotes to create string literals. Kotlin has a rich API for working with

strings.

GO EXEC COMMAND

Go exec command. Go exec command tutorial shows how to execute shell commands and programs in Golang. The Run function starts the specified command and waits for it to complete, while the Start starts the specified command but does not wait for it to complete; we need to use

Wait with Start .

SPRING @POSTMAPPING TUTORIAL The @PostMapping maps the createPost () method to the /posts URL. We get the content parameter of the POST request. A new post is created and saved with a post service. With UriComponentsBuilder we build the location URI. A response entity with the location URI is returned. INTRODUCTION TO SQLITE VISUAL BASIC GO BUILDER - BUILDING STRINGS EFFICIENTLY IN GOLANG WITH Go Builder tutorial shows how to build strings efficiently in Golang with strings.Builder. We build a string with various write methods such as WriteString or WriteRune. In the end, we return the accumulated string with the String method. The Builder uses an internal slice to store data.

KOTLIN MAPS

Kotlin maps tutorial shows how to work with maps in Kotlin. A map is a collection of pairs of objects. Kotlin distinguishes between read-only and mutable maps. Read-only maps are created with mapOf () and mutable maps with mutableMapOf () . SPRING BINDINGRESULT BindingResult. BindingResult holds the result of a validation and binding and contains errors that may have occurred. The BindingResult must come right after the model object that is validated or else Spring fails to validate the object and throws an exception. C# FUNC - EXPLAINING FUNC DELEGATE IN C# - ZETCODE Func can contains 0 to 16 input parameters and must have one return type. (There are 16 overloads of the Func delegate.). public delegate TResult Func(T1 arg1, T2 arg2); For instance, this delegate encapsulates a method that has two parameters and returns a value of the type specified by the TResult parameter.. C# Func simple example

C# PREDICATE

C# Predicate. Predicates in C# are implemented with delegates. The Predicate delegate represents the method that defines a set of criteria and determines whether the specified object meets those criteria.. C# Predicate example. The following example creates a simple C# Predicate. SPRING BOOT LOGIN PAGE Spring Boot Login Page example. The following example shows how to set up a simple login page in a Spring Boot application. pom.xml src ├───main │ ├───java │ │ └───com │ │ └───zetcode │ │ │ Application.java │ │ └───controller │ │ MyController.java │ └───resources │ application.properties └───test

└───java

KOTLIN STRINGS

Kotlin strings tutorial shows how to work with strings in Kotlin. A string is a basic data type in a programming language. In Kotlin, the String class represents character strings. Kotlin string literals are implemented as instances of this class. Kotlin uses double quotes to create string literals. Kotlin has a rich API for working with

strings.

GO EXEC COMMAND

Go exec command. Go exec command tutorial shows how to execute shell commands and programs in Golang. The Run function starts the specified command and waits for it to complete, while the Start starts the specified command but does not wait for it to complete; we need to use

Wait with Start .

SPRING @POSTMAPPING TUTORIAL The @PostMapping maps the createPost () method to the /posts URL. We get the content parameter of the POST request. A new post is created and saved with a post service. With UriComponentsBuilder we build the location URI. A response entity with the location URI is returned.

KOTLIN MAPS

Kotlin maps tutorial shows how to work with maps in Kotlin. A map is a collection of pairs of objects. Kotlin distinguishes between read-only and mutable maps. Read-only maps are created with mapOf () and mutable maps with mutableMapOf () .

KOTLIN STRINGS

Kotlin strings tutorial shows how to work with strings in Kotlin. A string is a basic data type in a programming language. In Kotlin, the String class represents character strings. Kotlin string literals are implemented as instances of this class. Kotlin uses double quotes to create string literals. Kotlin has a rich API for working with

strings.

GO EXEC COMMAND

Go exec command. Go exec command tutorial shows how to execute shell commands and programs in Golang. The Run function starts the specified command and waits for it to complete, while the Start starts the specified command but does not wait for it to complete; we need to use

Wait with Start .

C# FILTER LIST TUTORIAL C# filter list tutorial shows how to filter a list in C#. We use iteration, LINQ, and built-in FindAll() method. LAYOUT MANAGEMENT IN WXWIDGETS We position a wxTextCtrl widget on a panel widget. textctrl = new wxTextCtrl (panel, -1, wxT (""), wxDefaultPosition, wxSize (250, 150), wxTE_MULTILINE); We do the absolute positioning in the constructor of the wxTextCtrl widget. In our case, we provide the default position for the widget. The width is 250px and the height 150px.

C# GET/POST REQUEST

In the examples, we use httpbin.org, which is a freely available HTTP request and response service, and the webcode.me, which is a tiny HTML page for testing.. HTTP GET. The HTTP GET method requests a representation of the specified resource. Requests using GET should

only retrieve data.

SPRING @POSTMAPPING TUTORIAL Spring @PostMapping example. The following application uses @PostMapping to create a new resource. In this example, we use annotations to set up a Spring web application. pom.xml src ├───main │ ├───java │ │ └───com │ │ └───zetcode │ │ ├───config │ │ │ MyWebInitializer.java │ │ │ WebConfig.java │ │ ├───controller SPRING MODELANDVIEW TUTORIAL ModelAndView. ModelAndView is a holder for both Model and View in the web MVC framework. These two classes are distinct; ModelAndView merely holds both to make it possible for a controller to return both model and view in a single return value. The view is resolved by a ViewResolver object; the model is data stored in a Map . SHAPES AND FILLS IN JAVA 2D First we draw some basic Java 2D shapes. In this example, we draw six basic shapes on the panel: a square, a rectangle, a rounded rectangle, an ellipse, an arc, and a circle. The shapes will be drawn in a gray background. The fillRect () method is used to draw both a rectangle

and a square.

JASPERREPORTS RESOURCEBUNDLE JasperReports ResourceBundle. In this tutorial, we create a report in multiple languages in JasperReports library. The sources for the example can be found at the author's Github repository . JasperReports is an open-source reporting library. It can create reports in various formats including PDF, HTML, XLS, or CSV. INTRODUCTION TO SQLITE VISUAL BASIC GO BUILDER - BUILDING STRINGS EFFICIENTLY IN GOLANG WITH Go Builder tutorial shows how to build strings efficiently in Golang with strings.Builder. We build a string with various write methods such as WriteString or WriteRune. In the end, we return the accumulated string with the String method. The Builder uses an internal slice to store data. SPRING BINDINGRESULT BindingResult. BindingResult holds the result of a validation and binding and contains errors that may have occurred. The BindingResult must come right after the model object that is validated or else Spring fails to validate the object and throws an exception.

KOTLIN MAPS

Kotlin maps tutorial shows how to work with maps in Kotlin. A map is a collection of pairs of objects. Kotlin distinguishes between read-only and mutable maps. Read-only maps are created with mapOf () and mutable maps with mutableMapOf () . C# FUNC - EXPLAINING FUNC DELEGATE IN C# - ZETCODE Func can contains 0 to 16 input parameters and must have one return type. (There are 16 overloads of the Func delegate.). public delegate TResult Func(T1 arg1, T2 arg2); For instance, this delegate encapsulates a method that has two parameters and returns a value of the type specified by the TResult parameter.. C# Func simple example

C# PREDICATE

C# Predicate. Predicates in C# are implemented with delegates. The Predicate delegate represents the method that defines a set of criteria and determines whether the specified object meets those criteria.. C# Predicate example. The following example creates a simple C# Predicate. SPRING BOOT LOGIN PAGE Spring Boot Login Page example. The following example shows how to set up a simple login page in a Spring Boot application. pom.xml src ├───main │ ├───java │ │ └───com │ │ └───zetcode │ │ │ Application.java │ │ └───controller │ │ MyController.java │ └───resources │ application.properties └───test

└───java

KOTLIN STRINGS

Kotlin strings tutorial shows how to work with strings in Kotlin. A string is a basic data type in a programming language. In Kotlin, the String class represents character strings. Kotlin string literals are implemented as instances of this class. Kotlin uses double quotes to create string literals. Kotlin has a rich API for working with

strings.

GO EXEC COMMAND

Go exec command. Go exec command tutorial shows how to execute shell commands and programs in Golang. The Run function starts the specified command and waits for it to complete, while the Start starts the specified command but does not wait for it to complete; we need to use

Wait with Start .

SPRING @POSTMAPPING TUTORIAL The @PostMapping maps the createPost () method to the /posts URL. We get the content parameter of the POST request. A new post is created and saved with a post service. With UriComponentsBuilder we build the location URI. A response entity with the location URI is returned. INTRODUCTION TO SQLITE VISUAL BASIC GO BUILDER - BUILDING STRINGS EFFICIENTLY IN GOLANG WITH Go Builder tutorial shows how to build strings efficiently in Golang with strings.Builder. We build a string with various write methods such as WriteString or WriteRune. In the end, we return the accumulated string with the String method. The Builder uses an internal slice to store data. SPRING BINDINGRESULT BindingResult. BindingResult holds the result of a validation and binding and contains errors that may have occurred. The BindingResult must come right after the model object that is validated or else Spring fails to validate the object and throws an exception.

KOTLIN MAPS

Kotlin maps tutorial shows how to work with maps in Kotlin. A map is a collection of pairs of objects. Kotlin distinguishes between read-only and mutable maps. Read-only maps are created with mapOf () and mutable maps with mutableMapOf () . C# FUNC - EXPLAINING FUNC DELEGATE IN C# - ZETCODE Func can contains 0 to 16 input parameters and must have one return type. (There are 16 overloads of the Func delegate.). public delegate TResult Func(T1 arg1, T2 arg2); For instance, this delegate encapsulates a method that has two parameters and returns a value of the type specified by the TResult parameter.. C# Func simple example

C# PREDICATE

C# Predicate. Predicates in C# are implemented with delegates. The Predicate delegate represents the method that defines a set of criteria and determines whether the specified object meets those criteria.. C# Predicate example. The following example creates a simple C# Predicate. SPRING BOOT LOGIN PAGE Spring Boot Login Page example. The following example shows how to set up a simple login page in a Spring Boot application. pom.xml src ├───main │ ├───java │ │ └───com │ │ └───zetcode │ │ │ Application.java │ │ └───controller │ │ MyController.java │ └───resources │ application.properties └───test

└───java

KOTLIN STRINGS

Kotlin strings tutorial shows how to work with strings in Kotlin. A string is a basic data type in a programming language. In Kotlin, the String class represents character strings. Kotlin string literals are implemented as instances of this class. Kotlin uses double quotes to create string literals. Kotlin has a rich API for working with

strings.

GO EXEC COMMAND

Go exec command. Go exec command tutorial shows how to execute shell commands and programs in Golang. The Run function starts the specified command and waits for it to complete, while the Start starts the specified command but does not wait for it to complete; we need to use

Wait with Start .

SPRING @POSTMAPPING TUTORIAL The @PostMapping maps the createPost () method to the /posts URL. We get the content parameter of the POST request. A new post is created and saved with a post service. With UriComponentsBuilder we build the location URI. A response entity with the location URI is returned.

KOTLIN MAPS

Kotlin maps tutorial shows how to work with maps in Kotlin. A map is a collection of pairs of objects. Kotlin distinguishes between read-only and mutable maps. Read-only maps are created with mapOf () and mutable maps with mutableMapOf () .

KOTLIN STRINGS

Kotlin strings tutorial shows how to work with strings in Kotlin. A string is a basic data type in a programming language. In Kotlin, the String class represents character strings. Kotlin string literals are implemented as instances of this class. Kotlin uses double quotes to create string literals. Kotlin has a rich API for working with

strings.

GO EXEC COMMAND

Go exec command. Go exec command tutorial shows how to execute shell commands and programs in Golang. The Run function starts the specified command and waits for it to complete, while the Start starts the specified command but does not wait for it to complete; we need to use

Wait with Start .

C# FILTER LIST TUTORIAL C# filter list tutorial shows how to filter a list in C#. We use iteration, LINQ, and built-in FindAll() method. LAYOUT MANAGEMENT IN WXWIDGETS We position a wxTextCtrl widget on a panel widget. textctrl = new wxTextCtrl (panel, -1, wxT (""), wxDefaultPosition, wxSize (250, 150), wxTE_MULTILINE); We do the absolute positioning in the constructor of the wxTextCtrl widget. In our case, we provide the default position for the widget. The width is 250px and the height 150px.

C# GET/POST REQUEST

In the examples, we use httpbin.org, which is a freely available HTTP request and response service, and the webcode.me, which is a tiny HTML page for testing.. HTTP GET. The HTTP GET method requests a representation of the specified resource. Requests using GET should

only retrieve data.

SPRING @POSTMAPPING TUTORIAL Spring @PostMapping example. The following application uses @PostMapping to create a new resource. In this example, we use annotations to set up a Spring web application. pom.xml src ├───main │ ├───java │ │ └───com │ │ └───zetcode │ │ ├───config │ │ │ MyWebInitializer.java │ │ │ WebConfig.java │ │ ├───controller SPRING MODELANDVIEW TUTORIAL ModelAndView. ModelAndView is a holder for both Model and View in the web MVC framework. These two classes are distinct; ModelAndView merely holds both to make it possible for a controller to return both model and view in a single return value. The view is resolved by a ViewResolver object; the model is data stored in a Map . SHAPES AND FILLS IN JAVA 2D First we draw some basic Java 2D shapes. In this example, we draw six basic shapes on the panel: a square, a rectangle, a rounded rectangle, an ellipse, an arc, and a circle. The shapes will be drawn in a gray background. The fillRect () method is used to draw both a rectangle

and a square.

JASPERREPORTS RESOURCEBUNDLE JasperReports ResourceBundle. In this tutorial, we create a report in multiple languages in JasperReports library. The sources for the example can be found at the author's Github repository . JasperReports is an open-source reporting library. It can create reports in various formats including PDF, HTML, XLS, or CSV. INTRODUCTION TO SQLITE VISUAL BASIC GO BUILDER - BUILDING STRINGS EFFICIENTLY IN GOLANG WITH Go Builder tutorial shows how to build strings efficiently in Golang with strings.Builder. We build a string with various write methods such as WriteString or WriteRune. In the end, we return the accumulated string with the String method. The Builder uses an internal slice to store data. SPRING BINDINGRESULT BindingResult. BindingResult holds the result of a validation and binding and contains errors that may have occurred. The BindingResult must come right after the model object that is validated or else Spring fails to validate the object and throws an exception.

KOTLIN MAPS

Kotlin maps tutorial shows how to work with maps in Kotlin. A map is a collection of pairs of objects. Kotlin distinguishes between read-only and mutable maps. Read-only maps are created with mapOf () and mutable maps with mutableMapOf () . C# FUNC - EXPLAINING FUNC DELEGATE IN C# - ZETCODE Func can contains 0 to 16 input parameters and must have one return type. (There are 16 overloads of the Func delegate.). public delegate TResult Func(T1 arg1, T2 arg2); For instance, this delegate encapsulates a method that has two parameters and returns a value of the type specified by the TResult parameter.. C# Func simple example

C# PREDICATE

C# Predicate. Predicates in C# are implemented with delegates. The Predicate delegate represents the method that defines a set of criteria and determines whether the specified object meets those criteria.. C# Predicate example. The following example creates a simple C# Predicate. SPRING BOOT LOGIN PAGE Spring Boot Login Page example. The following example shows how to set up a simple login page in a Spring Boot application. pom.xml src ├───main │ ├───java │ │ └───com │ │ └───zetcode │ │ │ Application.java │ │ └───controller │ │ MyController.java │ └───resources │ application.properties └───test

└───java

KOTLIN STRINGS

Kotlin strings tutorial shows how to work with strings in Kotlin. A string is a basic data type in a programming language. In Kotlin, the String class represents character strings. Kotlin string literals are implemented as instances of this class. Kotlin uses double quotes to create string literals. Kotlin has a rich API for working with

strings.

GO EXEC COMMAND

Go exec command. Go exec command tutorial shows how to execute shell commands and programs in Golang. The Run function starts the specified command and waits for it to complete, while the Start starts the specified command but does not wait for it to complete; we need to use

Wait with Start .

SPRING @POSTMAPPING TUTORIAL The @PostMapping maps the createPost () method to the /posts URL. We get the content parameter of the POST request. A new post is created and saved with a post service. With UriComponentsBuilder we build the location URI. A response entity with the location URI is returned. INTRODUCTION TO SQLITE VISUAL BASIC GO BUILDER - BUILDING STRINGS EFFICIENTLY IN GOLANG WITH Go Builder tutorial shows how to build strings efficiently in Golang with strings.Builder. We build a string with various write methods such as WriteString or WriteRune. In the end, we return the accumulated string with the String method. The Builder uses an internal slice to store data. SPRING BINDINGRESULT BindingResult. BindingResult holds the result of a validation and binding and contains errors that may have occurred. The BindingResult must come right after the model object that is validated or else Spring fails to validate the object and throws an exception.

KOTLIN MAPS

Kotlin maps tutorial shows how to work with maps in Kotlin. A map is a collection of pairs of objects. Kotlin distinguishes between read-only and mutable maps. Read-only maps are created with mapOf () and mutable maps with mutableMapOf () . C# FUNC - EXPLAINING FUNC DELEGATE IN C# - ZETCODE Func can contains 0 to 16 input parameters and must have one return type. (There are 16 overloads of the Func delegate.). public delegate TResult Func(T1 arg1, T2 arg2); For instance, this delegate encapsulates a method that has two parameters and returns a value of the type specified by the TResult parameter.. C# Func simple example

C# PREDICATE

C# Predicate. Predicates in C# are implemented with delegates. The Predicate delegate represents the method that defines a set of criteria and determines whether the specified object meets those criteria.. C# Predicate example. The following example creates a simple C# Predicate. SPRING BOOT LOGIN PAGE Spring Boot Login Page example. The following example shows how to set up a simple login page in a Spring Boot application. pom.xml src ├───main │ ├───java │ │ └───com │ │ └───zetcode │ │ │ Application.java │ │ └───controller │ │ MyController.java │ └───resources │ application.properties └───test

└───java

KOTLIN STRINGS

Kotlin strings tutorial shows how to work with strings in Kotlin. A string is a basic data type in a programming language. In Kotlin, the String class represents character strings. Kotlin string literals are implemented as instances of this class. Kotlin uses double quotes to create string literals. Kotlin has a rich API for working with

strings.

GO EXEC COMMAND

Go exec command. Go exec command tutorial shows how to execute shell commands and programs in Golang. The Run function starts the specified command and waits for it to complete, while the Start starts the specified command but does not wait for it to complete; we need to use

Wait with Start .

SPRING @POSTMAPPING TUTORIAL The @PostMapping maps the createPost () method to the /posts URL. We get the content parameter of the POST request. A new post is created and saved with a post service. With UriComponentsBuilder we build the location URI. A response entity with the location URI is returned.

KOTLIN MAPS

Kotlin maps tutorial shows how to work with maps in Kotlin. A map is a collection of pairs of objects. Kotlin distinguishes between read-only and mutable maps. Read-only maps are created with mapOf () and mutable maps with mutableMapOf () .

KOTLIN STRINGS

Kotlin strings tutorial shows how to work with strings in Kotlin. A string is a basic data type in a programming language. In Kotlin, the String class represents character strings. Kotlin string literals are implemented as instances of this class. Kotlin uses double quotes to create string literals. Kotlin has a rich API for working with

strings.

GO EXEC COMMAND

Go exec command. Go exec command tutorial shows how to execute shell commands and programs in Golang. The Run function starts the specified command and waits for it to complete, while the Start starts the specified command but does not wait for it to complete; we need to use

Wait with Start .

C# FILTER LIST TUTORIAL C# filter list tutorial shows how to filter a list in C#. We use iteration, LINQ, and built-in FindAll() method. LAYOUT MANAGEMENT IN WXWIDGETS We position a wxTextCtrl widget on a panel widget. textctrl = new wxTextCtrl (panel, -1, wxT (""), wxDefaultPosition, wxSize (250, 150), wxTE_MULTILINE); We do the absolute positioning in the constructor of the wxTextCtrl widget. In our case, we provide the default position for the widget. The width is 250px and the height 150px.

C# GET/POST REQUEST

In the examples, we use httpbin.org, which is a freely available HTTP request and response service, and the webcode.me, which is a tiny HTML page for testing.. HTTP GET. The HTTP GET method requests a representation of the specified resource. Requests using GET should

only retrieve data.

SPRING @POSTMAPPING TUTORIAL Spring @PostMapping example. The following application uses @PostMapping to create a new resource. In this example, we use annotations to set up a Spring web application. pom.xml src ├───main │ ├───java │ │ └───com │ │ └───zetcode │ │ ├───config │ │ │ MyWebInitializer.java │ │ │ WebConfig.java │ │ ├───controller SPRING MODELANDVIEW TUTORIAL ModelAndView. ModelAndView is a holder for both Model and View in the web MVC framework. These two classes are distinct; ModelAndView merely holds both to make it possible for a controller to return both model and view in a single return value. The view is resolved by a ViewResolver object; the model is data stored in a Map . SHAPES AND FILLS IN JAVA 2D First we draw some basic Java 2D shapes. In this example, we draw six basic shapes on the panel: a square, a rectangle, a rounded rectangle, an ellipse, an arc, and a circle. The shapes will be drawn in a gray background. The fillRect () method is used to draw both a rectangle

and a square.

JASPERREPORTS RESOURCEBUNDLE JasperReports ResourceBundle. In this tutorial, we create a report in multiple languages in JasperReports library. The sources for the example can be found at the author's Github repository . JasperReports is an open-source reporting library. It can create reports in various formats including PDF, HTML, XLS, or CSV. INTRODUCTION TO SQLITE VISUAL BASIC GO BUILDER - BUILDING STRINGS EFFICIENTLY IN GOLANG WITH Go Builder tutorial shows how to build strings efficiently in Golang with strings.Builder. We build a string with various write methods such as WriteString or WriteRune. In the end, we return the accumulated string with the String method. The Builder uses an internal slice to store data. SPRING BINDINGRESULT BindingResult. BindingResult holds the result of a validation and binding and contains errors that may have occurred. The BindingResult must come right after the model object that is validated or else Spring fails to validate the object and throws an exception.

KOTLIN MAPS

Kotlin maps tutorial shows how to work with maps in Kotlin. A map is a collection of pairs of objects. Kotlin distinguishes between read-only and mutable maps. Read-only maps are created with mapOf () and mutable maps with mutableMapOf () . C# FUNC - EXPLAINING FUNC DELEGATE IN C# - ZETCODE Func can contains 0 to 16 input parameters and must have one return type. (There are 16 overloads of the Func delegate.). public delegate TResult Func(T1 arg1, T2 arg2); For instance, this delegate encapsulates a method that has two parameters and returns a value of the type specified by the TResult parameter.. C# Func simple example

C# PREDICATE

C# Predicate. Predicates in C# are implemented with delegates. The Predicate delegate represents the method that defines a set of criteria and determines whether the specified object meets those criteria.. C# Predicate example. The following example creates a simple C# Predicate. SPRING BOOT LOGIN PAGE Spring Boot Login Page example. The following example shows how to set up a simple login page in a Spring Boot application. pom.xml src ├───main │ ├───java │ │ └───com │ │ └───zetcode │ │ │ Application.java │ │ └───controller │ │ MyController.java │ └───resources │ application.properties └───test

└───java

KOTLIN STRINGS

Kotlin strings tutorial shows how to work with strings in Kotlin. A string is a basic data type in a programming language. In Kotlin, the String class represents character strings. Kotlin string literals are implemented as instances of this class. Kotlin uses double quotes to create string literals. Kotlin has a rich API for working with

strings.

GO EXEC COMMAND

Go exec command. Go exec command tutorial shows how to execute shell commands and programs in Golang. The Run function starts the specified command and waits for it to complete, while the Start starts the specified command but does not wait for it to complete; we need to use

Wait with Start .

SPRING @POSTMAPPING TUTORIAL The @PostMapping maps the createPost () method to the /posts URL. We get the content parameter of the POST request. A new post is created and saved with a post service. With UriComponentsBuilder we build the location URI. A response entity with the location URI is returned. INTRODUCTION TO SQLITE VISUAL BASIC GO BUILDER - BUILDING STRINGS EFFICIENTLY IN GOLANG WITH Go Builder tutorial shows how to build strings efficiently in Golang with strings.Builder. We build a string with various write methods such as WriteString or WriteRune. In the end, we return the accumulated string with the String method. The Builder uses an internal slice to store data. SPRING BINDINGRESULT BindingResult. BindingResult holds the result of a validation and binding and contains errors that may have occurred. The BindingResult must come right after the model object that is validated or else Spring fails to validate the object and throws an exception.

KOTLIN MAPS

Kotlin maps tutorial shows how to work with maps in Kotlin. A map is a collection of pairs of objects. Kotlin distinguishes between read-only and mutable maps. Read-only maps are created with mapOf () and mutable maps with mutableMapOf () . C# FUNC - EXPLAINING FUNC DELEGATE IN C# - ZETCODE Func can contains 0 to 16 input parameters and must have one return type. (There are 16 overloads of the Func delegate.). public delegate TResult Func(T1 arg1, T2 arg2); For instance, this delegate encapsulates a method that has two parameters and returns a value of the type specified by the TResult parameter.. C# Func simple example

C# PREDICATE

C# Predicate. Predicates in C# are implemented with delegates. The Predicate delegate represents the method that defines a set of criteria and determines whether the specified object meets those criteria.. C# Predicate example. The following example creates a simple C# Predicate. SPRING BOOT LOGIN PAGE Spring Boot Login Page example. The following example shows how to set up a simple login page in a Spring Boot application. pom.xml src ├───main │ ├───java │ │ └───com │ │ └───zetcode │ │ │ Application.java │ │ └───controller │ │ MyController.java │ └───resources │ application.properties └───test

└───java

KOTLIN STRINGS

Kotlin strings tutorial shows how to work with strings in Kotlin. A string is a basic data type in a programming language. In Kotlin, the String class represents character strings. Kotlin string literals are implemented as instances of this class. Kotlin uses double quotes to create string literals. Kotlin has a rich API for working with

strings.

GO EXEC COMMAND

Go exec command. Go exec command tutorial shows how to execute shell commands and programs in Golang. The Run function starts the specified command and waits for it to complete, while the Start starts the specified command but does not wait for it to complete; we need to use

Wait with Start .

SPRING @POSTMAPPING TUTORIAL The @PostMapping maps the createPost () method to the /posts URL. We get the content parameter of the POST request. A new post is created and saved with a post service. With UriComponentsBuilder we build the location URI. A response entity with the location URI is returned.

KOTLIN MAPS

Kotlin maps tutorial shows how to work with maps in Kotlin. A map is a collection of pairs of objects. Kotlin distinguishes between read-only and mutable maps. Read-only maps are created with mapOf () and mutable maps with mutableMapOf () .

KOTLIN STRINGS

Kotlin strings tutorial shows how to work with strings in Kotlin. A string is a basic data type in a programming language. In Kotlin, the String class represents character strings. Kotlin string literals are implemented as instances of this class. Kotlin uses double quotes to create string literals. Kotlin has a rich API for working with

strings.

GO EXEC COMMAND

Go exec command. Go exec command tutorial shows how to execute shell commands and programs in Golang. The Run function starts the specified command and waits for it to complete, while the Start starts the specified command but does not wait for it to complete; we need to use

Wait with Start .

C# FILTER LIST TUTORIAL C# filter list tutorial shows how to filter a list in C#. We use iteration, LINQ, and built-in FindAll() method. LAYOUT MANAGEMENT IN WXWIDGETS We position a wxTextCtrl widget on a panel widget. textctrl = new wxTextCtrl (panel, -1, wxT (""), wxDefaultPosition, wxSize (250, 150), wxTE_MULTILINE); We do the absolute positioning in the constructor of the wxTextCtrl widget. In our case, we provide the default position for the widget. The width is 250px and the height 150px.

C# GET/POST REQUEST

In the examples, we use httpbin.org, which is a freely available HTTP request and response service, and the webcode.me, which is a tiny HTML page for testing.. HTTP GET. The HTTP GET method requests a representation of the specified resource. Requests using GET should

only retrieve data.

SPRING @POSTMAPPING TUTORIAL Spring @PostMapping example. The following application uses @PostMapping to create a new resource. In this example, we use annotations to set up a Spring web application. pom.xml src ├───main │ ├───java │ │ └───com │ │ └───zetcode │ │ ├───config │ │ │ MyWebInitializer.java │ │ │ WebConfig.java │ │ ├───controller SPRING MODELANDVIEW TUTORIAL ModelAndView. ModelAndView is a holder for both Model and View in the web MVC framework. These two classes are distinct; ModelAndView merely holds both to make it possible for a controller to return both model and view in a single return value. The view is resolved by a ViewResolver object; the model is data stored in a Map . SHAPES AND FILLS IN JAVA 2D First we draw some basic Java 2D shapes. In this example, we draw six basic shapes on the panel: a square, a rectangle, a rounded rectangle, an ellipse, an arc, and a circle. The shapes will be drawn in a gray background. The fillRect () method is used to draw both a rectangle

and a square.

JASPERREPORTS RESOURCEBUNDLE JasperReports ResourceBundle. In this tutorial, we create a report in multiple languages in JasperReports library. The sources for the example can be found at the author's Github repository . JasperReports is an open-source reporting library. It can create reports in various formats including PDF, HTML, XLS, or CSV. ZetCode All Spring Boot Python C# Java JavaScript

Subscribe

ZetCode provides accessible tutorials for C#, Python, Java, JavaScript, and Go programming languages.

E-BOOKS

* Advanced PyQt5

* Java 2D games programming * MySQL Java programming * Introduction to Windows API * Tkinter programming * Advanced Java Swing * Java Swing layout management

* Advanced wxPython

* SQLite Python

C#

* C# tutorial

* C# Dapper

* C# SQLite

* C# MySQL

* C# SQL Server

* C# PostgreSQL

* C# MongoDB

* C# GET/POST request

* C# read web page

* C# CultureInfo

* C# HttpClient

* C# Network

* C# async/await

* C# LINQ

* C# String Format

* C# Copy File

* C# Predicate

* C# yield

* C# JSON

* C# CSV

* C# enum

* C# Decimal

* C# lambda expression * C# switch expression

* C# filter list

* All C#

PYTHON

* Python tutorial

* Python multiprocessing

* Python Docker

* Python venv

* Python f-string

* PyMySQL tutorial

* Python SQLite

* Python PostgreSQL

* Python Socket

* Jinja tutorial

* Python logging

* PyMongo tutorial

* Openpyxl tutorial

* Python pathlib

* Python argparse

* Python Requests

* Python Decimal

* Python CSV

* Python list comprehensions * Beautifulsoup tutorial

* Pandas tutorial

* PrettyTable tutorial

* Pytest tutorial

* PyQt5 tutorial

* Tkinter tutorial

* All Python

JAVA

* Java 2D games

* Java tutorial

* Gson tutorial

* Java 2D tutorial

* Java Swing

* JavaFX tutorial

* Opencsv tutorial

* Java GET/POST request

* Java MongoDB

* FreeMarker tutorial * Java ResourceBundle

* Java FreeMarker

* Jsoup tutorial

* JFreeChart tutorial * Java StringBuilder

* Java NumberFormat

* Java ArrayList

* All Java

NEWS

Java FastExcel written

Go YAML written

Java LocalDate written

Java JSON written

Python PyQt6 written

C# Excel written

last modified June 2, 2021

Facebook Twitter

Github

Subscribe

Privacy

2007 - 2021 Jan Bodnar admin(at)zetcode.com

Details

5

Copyright © 2023 ArchiveBay.com. All rights reserved. Terms of Use | Privacy Policy | DMCA | 2021 | Feedback | Advertising | RSS 2.0