doc_id stringlengths 36 36 | metadata dict | input stringlengths 28 4.3k | output stringlengths 11 5.45k |
|---|---|---|---|
e73d2efb-2a60-4f56-89f2-1d3980bd10f0 | {
"language": "AsciiDoc"
} | ```asciidoc
To complete this guide you will need to checkout the source from Github and work through the steps presented by the guide.
To get started do the following:
* link:https://github.com/{githubSlug}/archive/master.zip[Download] and unzip the source or if you already have https://git-scm.com/[Git]: `git clone ... | ```asciidoc
To complete this guide you will need to checkout the source from Github and work through the steps presented by the guide.
To get started do the following:
* link:https://github.com/{githubSlug}/archive/master.zip[Download] and unzip the source or if you already have https://git-scm.com/[Git]: `git clone ... |
389895d0-8bcb-47db-a94d-2fec9fdd132b | {
"language": "AsciiDoc"
} | ```asciidoc
:source-highlighter: pygments
= Muon Clojure
Muon Clojure is just awesome and clojurific
```
Add doc push on snapshot release | ```asciidoc
---
---
:title: Muon Clojure
:layout: documentation
:source-highlighter: pygments
:toc: right
= Muon Clojure docs
Muon Clojure is just awesome and clojurific
``` |
82cab9d2-e2d8-49df-93ac-edf52613081e | {
"language": "AsciiDoc"
} | ```asciidoc
[[analysis-standard-analyzer]]
=== Standard Analyzer
An analyzer of type `standard` that is built of using
<<analysis-standard-tokenizer,Standard
Tokenizer>>, with
<<analysis-standard-tokenfilter,Standard
Token Filter>>,
<<analysis-lowercase-tokenfilter,Lower
Case Token Filter>>, and
<<analysis-stop-tokenf... | ```asciidoc
[[analysis-standard-analyzer]]
=== Standard Analyzer
An analyzer of type `standard` is built using the
<<analysis-standard-tokenizer,Standard
Tokenizer>> with the
<<analysis-standard-tokenfilter,Standard
Token Filter>>,
<<analysis-lowercase-tokenfilter,Lower
Case Token Filter>>, and
<<analysis-stop-tokenfi... |
0d84a378-0dc6-48d1-b4be-2ff0c8acee6b | {
"language": "AsciiDoc"
} | ```asciidoc
[id="serverless-create-func-kn_{context}"]
= Creating functions
You can create a basic serverless function using the `kn` CLI.
You can specify the path, runtime, and template as flags on the command line, or use the `-c` flag to start the interactive experience in the terminal.
.Procedure
* Create a fun... | ```asciidoc
[id="serverless-create-func-kn_{context}"]
= Creating functions
You can create a basic serverless function using the `kn` CLI.
You can specify the path, runtime, template, and repository with the template as flags on the command line, or use the `-c` flag to start the interactive experience in the termina... |
f8592526-ff08-40b9-8202-5d009a98ac7e | {
"language": "AsciiDoc"
} | ```asciidoc
libframetime
============
A preloadable library, able to dump the frame times of any OpenGL application on Linux, on
any driver.
By default, the timing is written into /tmp/libframetime.out, but you can specify an
alternate file with the LIBFRAMETIME_FILE env var.
Usage
-----
----
LD_PRELOAD=path/to/l... | ```asciidoc
libframetime
============
A preloadable library, able to dump the frame times of any OpenGL application on Linux, on
any driver.
By default, the timing is written into /tmp/libframetime.out, but you can specify an
alternate file with the LIBFRAMETIME_FILE env var.
Usage
-----
----
LD_PRELOAD=path/to/l... |
e065115f-4903-489c-8a3b-5d2524d2c7ac | {
"language": "AsciiDoc"
} | ```asciidoc
== New Check and 2 Fixes
:docname: 20180406-new-check-and-2-fixes
I fixed 3 issues for which there are releases of the following components:
* `revapi-basic-features-0.7.1` that contains a fix for https://github.com/revapi/revapi/issues/119[#119] which means
that the semver transform should no longer cras... | ```asciidoc
== New Check and 2 Fixes
:docname: 20180406-new-check-and-2-fixes
I fixed 3 issues for which there are releases of the following components:
* `revapi-basic-features-0.7.1` that contains a fix for https://github.com/revapi/revapi/issues/119[#119] which means
that the semver transform should no longer cras... |
029b7b6b-afd0-4ef7-8d54-3bbd6d4ecd8e | {
"language": "AsciiDoc"
} | ```asciidoc
= Vert.x Unit examples
Here you'll find some examples of how to use Vert.x unit to test your asynchronous applications.
Tests are located in the link:src/test/java/io/vertx/example/unit/test directory.
Examples can be run directly from the IDE.
== Vertx Unit Test
The link:src/test/java/io/vertx/example... | ```asciidoc
= Vert.x gRPC examples
todo
``` |
92e4a727-0f12-4213-8fd2-ea7d6cc160db | {
"language": "AsciiDoc"
} | ```asciidoc
= SpringBoot WebApp Demo
SpringBoot looks like a nice way to get started.
This is a trivial webapp created using SpringBoot.
== HowTo
mvn spring-boot:run
then connect to http://localhost:8000/notaservlet
Note that is 8000 not the usual 8080 to avoid conflicts.
Change this in application.pro... | ```asciidoc
= SpringBoot WebApp Demo
SpringBoot looks like a nice way to get started.
This is a trivial webapp created using SpringBoot.
== HowTo
mvn spring-boot:run
then connect to
http://localhost:8000/notaservlet?name=Robin Smith
Note that is 8000 not the usual 8080 to avoid conflicts.
Change th... |
a8ec1fa1-b882-4a42-8f46-3db94d66cc01 | {
"language": "AsciiDoc"
} | ```asciidoc
= Changelog
== Version 0.4.0
Date: unreleased
- Add encode/decode functions to JWS/JWT implementation. Them instead of return
plain value, return a monadic either. That allows granular error reporting
instead something like nil that not very useful. The previous sign/unsign
are conserved for backwa... | ```asciidoc
= Changelog
== Version 0.4.0
Date: unreleased
- Add encode/decode functions to JWS/JWT implementation. Them instead of return
plain value, return a monadic either. That allows granular error reporting
instead something like nil that not very useful. The previous sign/unsign
are conserved for backwa... |
2497db07-6d34-4e8f-bf5b-5888d4764158 | {
"language": "AsciiDoc"
} | ```asciidoc
To run the tests:
[source, bash]
----
./grailsw
grails> test-app
grails> open test-report
----
```
Add Gradle check to testApp snippet | ```asciidoc
To run the tests:
[source, bash]
----
./grailsw
grails> test-app
grails> open test-report
----
or
[source, bash]
----
./gradlew check
open build/reports/tests/index.html
----
``` |
bb1a2e24-de1f-42f8-ba32-bb79a9cc5db5 | {
"language": "AsciiDoc"
} | ```asciidoc
= Spring Boot and Two DataSources
This project demonstrates how to use two `DataSource` s with Spring Boot.
It utilizes:
* Spring Data JPA/REST
* Flyway migrations for the two `DataSource` s
* Separate Hibernate properties for each `DataSource`
* Application properties with YAML
* Thymeleaf
* Unit test... | ```asciidoc
= Spring Boot and Two DataSources
This project demonstrates how to use two `DataSource` s with Spring Boot.
It utilizes:
* Spring Data https://github.com/spring-projects/spring-data-jpa[JPA] / https://github.com/spring-projects/spring-data-rest[REST]
* https://github.com/flyway/flyway[Flyway] migration... |
45829123-f8e6-417c-83f7-57ecd8d1609d | {
"language": "AsciiDoc"
} | ```asciidoc
= Database Table Replicator (DbShadow)
:Author: David Thompson, Matt Conroy
:Email: <dthompsn1@gmail.com> <matt@conroy.cc>
:Revision: 0.0.1 2017-02-08
== Description
Have you ever had the need to copy data from one database to another? How about between to different types of
databases? How about just verif... | ```asciidoc
= Database Table Replicator (DbShadow)
:Author: David Thompson, Matt Conroy
:Email: <dthompsn1@gmail.com> <matt@conroy.cc>
:Revision: 0.0.1 2017-02-08
== Description
Have you ever had the need to copy data from one database to another? How about between to different types of
databases? How about just verif... |
6b7d62f1-a0c2-44e8-a763-c4777784e106 | {
"language": "AsciiDoc"
} | ```asciidoc
icon:plus[] GraphQL: Nodes can now be loaded in the context of a schema. This will return all nodes which use the schema.
```
Add breaking GraphQL change to changelog | ```asciidoc
CAUTION: GraphQL: The root field releases has been removed. The root field release now takes no parameters and loads the active release.
icon:plus[] GraphQL: Nodes can now be loaded in the context of a schema. This will return all nodes which use the schema.
``` |
3bde26b3-885b-4213-ad96-8ae600b0dcb8 | {
"language": "AsciiDoc"
} | ```asciidoc
=== Apm-Server version HEAD
https://github.com/elastic/apm-server/compare/x...master[View commits]
==== Breaking changes
==== Bugfixes
==== Added
==== Deprecated
==== Known Issue
```
Add minor schema changes to Changelog. | ```asciidoc
=== Apm-Server version HEAD
https://github.com/elastic/apm-server/compare/x...master[View commits]
==== Breaking changes
==== Bugfixes
*Bugfixes in fields.yml leading to ES schema changes*
- changed `context.system.title` to `context.system.process_title`, removed `transaction.context`, `trace.context` (... |
1c1e9bdf-521d-419a-890b-0ae1879c14c2 | {
"language": "AsciiDoc"
} | ```asciidoc
[[Johnzon-Johnzon]]
Johnzon
~~~~~~~
*Available as of Camel 2.18*
Johnzon is a link:data-format.html[Data Format] which uses the
http://johnzon.apache.org/[Johnzon Library]
[source,java]
-------------------------------
from("activemq:My.Queue").
marshal().json(JsonLibrary.Johnzon).
to("mqseries:Anothe... | ```asciidoc
[[Johnzon-Johnzon]]
Johnzon
~~~~~~~
*Available as of Camel 2.18*
Johnzon is a link:data-format.html[Data Format] which uses the
http://johnzon.apache.org/[Johnzon Library]
[source,java]
-------------------------------
from("activemq:My.Queue").
marshal().json(JsonLibrary.Johnzon).
to("mqseries:Anothe... |
3a93e976-d9b5-49ea-bb0c-0c641dee5b57 | {
"language": "AsciiDoc"
} | ```asciidoc
= bitcoinj-addons Release Process
== Main Release Process
. Update `CHANGELOG.adoc`
. Set versions
.. `README.adoc` (check/set bitcoinj version variable, too)
.. bitcoinj-dsl `ExtensionModule`
.. `gradle.properties`
. Commit version bump and changelog.
. Full build, test
.. `./gradlew clean jenkinsBuild i... | ```asciidoc
= bitcoinj-addons Release Process
== Main Release Process
. Update `CHANGELOG.adoc`
. Set versions
.. `README.adoc` (check/set bitcoinj version variable, too)
.. bitcoinj-dsl `ExtensionModule`
.. `gradle.properties`
. Commit version bump and changelog.
. Full build, test
.. `./gradlew clean buildCI instal... |
2897a38b-7e28-4728-b9ea-5a38c0d05322 | {
"language": "AsciiDoc"
} | ```asciidoc
[role="xpack"]
[[fleet-apis]]
TIP: For the {kib} {fleet} APIs, see the
{fleet-guide}/fleet-api-docs.html[`Fleet API Documentation`].
== Fleet APIs
The following APIs support {fleet}'s use of {es} as a data store for internal
agent and action data. These APIs are experimental and for internal use by
{flee... | ```asciidoc
[role="xpack"]
[[fleet-apis]]
== Fleet APIs
TIP: For the {kib} {fleet} APIs, see the
{fleet-guide}/fleet-api-docs.html[Fleet API Documentation].
The following APIs support {fleet}'s use of {es} as a data store for internal
agent and action data. These APIs are experimental and for internal use by
{fleet} ... |
5a1be78a-654b-48b0-a606-ac83eea43101 | {
"language": "AsciiDoc"
} | ```asciidoc
= Report an issue
:awestruct-layout: normalBase
:showtitle:
== Issue tracker
We welcome issue reports (bugs, improvements, new feature requests, ...) in our issue tracker:
*Show https://issues.jboss.org/browse/drools[the JIRA issue tracker].*
Log in and click on the button _Create Issue_ to report a bug... | ```asciidoc
= Report an issue
:awestruct-layout: normalBase
:showtitle:
== Issue tracker
We welcome issue reports (bugs, improvements, new feature requests, ...) in our issue tracker:
*Show https://issues.jboss.org/browse/drools[the JIRA issue tracker].*
Log in and click on the button _Create Issue_ to report a bug... |
f277b167-c60d-449f-aceb-0d091ffa7426 | {
"language": "AsciiDoc"
} | ```asciidoc
// set attributes usually set by Antora
ifndef::site-gen-antora[]
:moduledir: ..
:attachmentsdir: {moduledir}/assets/attachments
:examplesdir: {moduledir}/examples
:imagesdir: {moduledir}/assets/images
:partialsdir: {moduledir}/pages/_partials
endif::[]
:ProductName: Debezium
:debezium-version: 1.0.0.Final... | ```asciidoc
// set attributes usually set by Antora
ifndef::site-gen-antora[]
:moduledir: ..
:attachmentsdir: {moduledir}/assets/attachments
:examplesdir: {moduledir}/examples
:imagesdir: {moduledir}/assets/images
:partialsdir: {moduledir}/pages/_partials
endif::[]
:debezium-version: 1.0.0.Final
:debezium-dev-version:... |
5ddaf3e2-f565-40d8-9e31-5b64fa2e8a92 | {
"language": "AsciiDoc"
} | ```asciidoc
// Allow examples to render correctly in previews despite being
// a nested directory
:idprefix:
:idseparator: -
:icons: font
:doc-guides: ../
:doc-examples: ../_examples
:imagesdir: ../../asciidoc/images
:includes: ../includes
:root: ../../asciidoc/
```
Fix broken xrefs that use the doc-guides attribute | ```asciidoc
// Allow examples to render correctly in previews despite being
// a nested directory
:idprefix:
:idseparator: -
:icons: font
:doc-guides: ..
:doc-examples: ../_examples
:imagesdir: ../../asciidoc/images
:includes: ../includes
:root: ../../asciidoc/
``` |
ee06d5db-43af-485e-b314-3a5576108198 | {
"language": "AsciiDoc"
} | ```asciidoc
[id="security-container-content"]
= Securing container content
include::modules/common-attributes.adoc[]
:context: security-container-content
toc::[]
To ensure the security of the content inside your containers
you need to start with trusted base images, such as Red Hat
Universal Base Images, and add trus... | ```asciidoc
[id="security-container-content"]
= Securing container content
include::modules/common-attributes.adoc[]
:context: security-container-content
toc::[]
To ensure the security of the content inside your containers
you need to start with trusted base images, such as Red Hat
Universal Base Images, and add trus... |
7d730cc3-7e31-4bf0-8ffc-01d8a0873b3d | {
"language": "AsciiDoc"
} | ```asciidoc
[[plugins_list]]
== List of plugins
This is a non-exhaustive list of Erlang.mk plugins, sorted
alphabetically.
=== elixir.mk
An https://github.com/botsunit/elixir.mk[Elixir plugin] for
Erlang.mk. http://elixir-lang.org/[Elixir] is an alternative
language for the BEAM.
=== elvis.mk
An https://github.com... | ```asciidoc
[[plugins_list]]
== List of plugins
This is a non-exhaustive list of Erlang.mk plugins, sorted
alphabetically.
=== efene.mk
An https://github.com/ninenines/efene.mk[Efene plugin] for Erlang.mk.
http://efene.org/[Efene] is an alternative language for the BEAM.
=== elixir.mk
An https://github.com/botsuni... |
2076e59e-8b6c-4fc2-b964-5e877ad1770c | {
"language": "AsciiDoc"
} | ```asciidoc
// Module included in the following assemblies:
//
// * installing/installing_bare_metal/installing-bare-metal.adoc
// * installing/installing_bare_metal/installing-restricted-networks-bare-metal.adoc
// * installing/installing_vsphere/installing-restricted-networks-vsphere.adoc
// * installing/installing_v... | ```asciidoc
// Module included in the following assemblies:
//
// * installing/installing_bare_metal/installing-bare-metal.adoc
// * installing/installing_bare_metal/installing-restricted-networks-bare-metal.adoc
// * installing/installing_vsphere/installing-restricted-networks-vsphere.adoc
// * installing/installing_v... |
bfabf053-efa3-43ee-82a5-27eacb42f526 | {
"language": "AsciiDoc"
} | ```asciidoc
= Packed deployments
We use the term 'packed deployment' to mean that everything required at runtime is built (if necessary) and packed into an archive, ready for deployment and execution in the target operating environment.
It is common to create 'uberjars' containing pre-compiled Clojure code, togther w... | ```asciidoc
= Packed deployments
We use the term 'packed deployment' to mean that everything required at runtime is built (if necessary) and packed into an archive, ready for deployment and execution in the target operating environment.
It is common to create 'uberjars' containing pre-compiled Clojure code, togther w... |
bdc2c538-15a0-4b3c-8114-47737a6d3642 | {
"language": "AsciiDoc"
} | ```asciidoc
== Spring Boot Application Plugin
The plugin `com.bmuschko.docker-spring-boot-application` is a highly opinionated plugin for projects applying the https://docs.spring.io/spring-boot/docs/current/reference/html/build-tool-plugins-gradle-plugin.html[Spring Boot plugin].
Under the covers the plugin preconfig... | ```asciidoc
== Spring Boot Application Plugin
The plugin `com.bmuschko.docker-spring-boot-application` is a highly opinionated plugin for projects applying the https://docs.spring.io/spring-boot/docs/current/reference/html/build-tool-plugins-gradle-plugin.html[Spring Boot plugin].
Under the covers the plugin preconfig... |
fbb71b51-3d0c-4caa-9976-64390fed7bec | {
"language": "AsciiDoc"
} | ```asciidoc
=== 5.0.0-M1
*Date of Release:* June 30, 2016
*Scope:* First milestone release of JUnit 5
==== Summary of Changes
===== JUnit Platform
- `org.junit.platform.console.ConsoleRunner` has been renamed to `ConsoleLauncher`
===== JUnit Jupiter
- `ExtensionContext.getElement()` now returns `Optional<Annotat... | ```asciidoc
=== 5.0.0-M1
*Date of Release:* June 30, 2016
*Scope:* First milestone release of JUnit 5
==== Summary of Changes
The following is a list of global changes. For details regarding changes specific to the
Platform, Jupiter, and Vintage, consult the dedicated subsections.
.Package Migration
[cols="20,80"]... |
d8f2661d-add9-436c-833b-41342fbc278e | {
"language": "AsciiDoc"
} | ```asciidoc
IronBee Reference Manual
========================
Brian Rectanus, Ivan Ristic
v0.9.0, 2010-2014
:doctype: book
:encoding: utf-8
:toc2:
:toclevels: 3
include::ch-preface.adoc[]
include::ch-introduction.adoc[]
include::ch-server-configuration.adoc[]
include::ch-ironbee-configuration.adoc[]
include::ch-di... | ```asciidoc
IronBee Reference Manual
========================
Brian Rectanus
v0.9.0, 2010-2014
:doctype: book
:encoding: utf-8
:toc2:
:toclevels: 3
include::ch-preface.adoc[]
include::ch-introduction.adoc[]
include::ch-server-configuration.adoc[]
include::ch-ironbee-configuration.adoc[]
include::ch-diagnostics-dev... |
64c70b45-6861-4adf-9f1e-5b3ae2935e84 | {
"language": "AsciiDoc"
} | ```asciidoc
[[new]]
= What's New in Spring Security 5.8
Spring Security 5.8 provides a number of new features.
Below are the highlights of the release.
* https://github.com/spring-projects/spring-security/pull/11638[gh-11638] - Refresh remote JWK when unknown KID error occurs
* https://github.com/spring-projects/spri... | ```asciidoc
[[new]]
= What's New in Spring Security 5.8
Spring Security 5.8 provides a number of new features.
Below are the highlights of the release.
* https://github.com/spring-projects/spring-security/pull/11638[gh-11638] - Refresh remote JWK when unknown KID error occurs
* https://github.com/spring-projects/spri... |
ec04fbce-0c52-46c7-ada5-e223e3fa4cf4 | {
"language": "AsciiDoc"
} | ```asciidoc
= Full Ergodox EZ build environment for Void Linux
Create a chroot like so:
[source]
xbps-install -S -R https://repo.voidlinux.eu/current -r /tmp/foo base-voidstrap
Then you can run.
INFO: /tmp/foo here must be absolute. Limitation of xbps-uunshare.
[source]
xbps-uunshare /tmp/foo xbps-install -- -S gc... | ```asciidoc
= Full Ergodox EZ build environment for Void Linux
Create a chroot like so:
[source]
xbps-install -S -R https://repo.voidlinux.eu/current -r /tmp/foo base-voidstrap
Then you can run.
INFO: /tmp/foo here must be absolute. Limitation of xbps-uunshare.
[source]
xbps-uunshare /tmp/foo xbps-install -- -S gc... |
7f0407d4-8cf7-440d-ad46-9c82531348f4 | {
"language": "AsciiDoc"
} | ```asciidoc
[[release-notes-5.3.0-M1]]
== 5.3.0-M1
*Date of Release:* ❓
*Scope:* ❓
For a complete list of all _closed_ issues and pull requests for this release, consult the
link:{junit5-repo}+/milestone/23?closed=1+[5.3 M1] milestone page in the JUnit repository
on GitHub.
[[release-notes-5.3.0-M1-junit-platform]... | ```asciidoc
[[release-notes-5.3.0-M1]]
== 5.3.0-M1
*Date of Release:* ❓
*Scope:* ❓
For a complete list of all _closed_ issues and pull requests for this release, consult the
link:{junit5-repo}+/milestone/23?closed=1+[5.3 M1] milestone page in the JUnit repository
on GitHub.
[[release-notes-5.3.0-M1-junit-platform]... |
68e72c65-f0ca-4ba1-89cd-bdd7c48834f2 | {
"language": "AsciiDoc"
} | ```asciidoc
==== Changes to Configuration Model
In preparation for Hibernate 5.2 support the previous "SessionFactoryBean" notion has been removed. Now if you wish to customize `SessionFactory` creation you should instead register a custom `org.grails.orm.hibernate.connections.HibernateConnectionSourceFactory` in Spri... | ```asciidoc
==== Changes to Configuration Model
In preparation for Hibernate 5.2 support the previous "SessionFactoryBean" notion has been removed. Now if you wish to customize `SessionFactory` creation you should instead register a custom `org.grails.orm.hibernate.connections.HibernateConnectionSourceFactory` in Spri... |
c17ae204-5f3c-4bb4-8509-72031a6e8a39 | {
"language": "AsciiDoc"
} | ```asciidoc
[[vm-max-map-count]]
=== Virtual memory
Elasticsearch uses a <<default_fs,`mmapfs`>> directory by
default for 64bit systems to store its indices. The default operating system limits on mmap
counts is likely to be too low, which may result in out of memory exceptions.
On Linux, you can increase the limits... | ```asciidoc
[[vm-max-map-count]]
=== Virtual memory
Elasticsearch uses a <<default_fs,`mmapfs`>> directory by
default to store its indices. The default operating system limits on mmap
counts is likely to be too low, which may result in out of memory exceptions.
On Linux, you can increase the limits by running the fo... |
9e257f20-9b56-4a91-9a33-ddabf55eb724 | {
"language": "AsciiDoc"
} | ```asciidoc
[[vm-max-map-count]]
=== Virtual memory
Elasticsearch uses a <<default_fs,`mmapfs`>> directory by
default for 64bit systems to store its indices. The default operating system limits on mmap
counts is likely to be too low, which may result in out of memory exceptions.
On Linux, you can increase the limits... | ```asciidoc
[[vm-max-map-count]]
=== Virtual memory
Elasticsearch uses a <<default_fs,`mmapfs`>> directory by
default to store its indices. The default operating system limits on mmap
counts is likely to be too low, which may result in out of memory exceptions.
On Linux, you can increase the limits by running the fo... |
a619ea2b-266e-4b56-9cdb-d045402fbf37 | {
"language": "AsciiDoc"
} | ```asciidoc
===== Delete Amazon Load Balancer
====== Type
+deleteAmazonLoadBalancer+
====== Description
This stage provides orchestration for deleting an Amazon Elastic Load Balancer. This is a destructive process, which cannot be reversed. If the provided +loadBalancerName+ is not found for _all_ provided +regions... | ```asciidoc
===== Delete Amazon Load Balancer
====== Type
+deleteAmazonLoadBalancer+
====== Description
This stage provides orchestration for deleting an Amazon Elastic Load Balancer. This is a destructive process, which cannot be reversed.
CAUTION: This operation marks the end of a Load Balancer's life. The proce... |
b3138ffb-9c50-4aa0-8b46-a74d80801707 | {
"language": "AsciiDoc"
} | ```asciidoc
[[breaking_70_plugins_changes]]
=== Plugins changes
==== Azure Repository plugin
* The legacy azure settings which where starting with `cloud.azure.storage.` prefix have been removed.
This includes `account`, `key`, `default` and `timeout`.
You need to use settings which are starting with `azure.client.` ... | ```asciidoc
[[breaking_70_plugins_changes]]
=== Plugins changes
==== Azure Repository plugin
* The legacy azure settings which where starting with `cloud.azure.storage.` prefix have been removed.
This includes `account`, `key`, `default` and `timeout`.
You need to use settings which are starting with `azure.client.` ... |
b5e7c2eb-ef7b-430e-98d1-cf1a820c6949 | {
"language": "AsciiDoc"
} | ```asciidoc
= Spring Cloud Data Flow Reference Guide
Sabby Anandan; Marius Bogoevici; Eric Bottard; Mark Fisher; Ilayaperumal Gopinathan; Gunnar Hillert; Mark Pollack; Patrick Peralta; Glenn Renfro; Thomas Risberg; Dave Syer; David Turanski; Janne Valkealahti
:doctype: book
:toc:
:toclevels: 4
:source-highlighter: pret... | ```asciidoc
= Spring Cloud Data Flow Reference Guide
Sabby Anandan; Marius Bogoevici; Eric Bottard; Mark Fisher; Ilayaperumal Gopinathan; Gunnar Hillert; Mark Pollack; Patrick Peralta; Glenn Renfro; Thomas Risberg; Dave Syer; David Turanski; Janne Valkealahti
:doctype: book
:toc:
:toclevels: 4
:source-highlighter: pret... |
127503e6-99ad-4d9e-b637-e8e3ef9cd795 | {
"language": "AsciiDoc"
} | ```asciidoc
//
// Copyright (c) 2016-2017 Eclipse Microprofile Contributors:
// Red Hat
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.... | ```asciidoc
//
// Copyright (c) 2016-2017 Eclipse Microprofile Contributors:
// Red Hat
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.... |
c5430f02-4061-4036-abd0-ea71735f2d9f | {
"language": "AsciiDoc"
} | ```asciidoc
[[search-aggregations-metrics-geobounds-aggregation]]
=== Geo Bounds Aggregation
A metric aggregation that computes the bounding box containing all geo_point values for a field.
.Experimental!
[IMPORTANT]
=====
This feature is marked as experimental, and may be subject to change in the
future. If you use... | ```asciidoc
[[search-aggregations-metrics-geobounds-aggregation]]
=== Geo Bounds Aggregation
A metric aggregation that computes the bounding box containing all geo_point values for a field.
.Experimental!
[IMPORTANT]
=====
This feature is marked as experimental, and may be subject to change in the
future. If you use... |
2145e4ef-7406-4166-99ab-72fe815d7fe9 | {
"language": "AsciiDoc"
} | ```asciidoc
[[search-aggregations-metrics-geobounds-aggregation]]
=== Geo Bounds Aggregation
A metric aggregation that computes the bounding box containing all geo_point values for a field.
.Experimental!
[IMPORTANT]
=====
This feature is marked as experimental, and may be subject to change in the
future. If you use... | ```asciidoc
[[search-aggregations-metrics-geobounds-aggregation]]
=== Geo Bounds Aggregation
A metric aggregation that computes the bounding box containing all geo_point values for a field.
.Experimental!
[IMPORTANT]
=====
This feature is marked as experimental, and may be subject to change in the
future. If you use... |
cf3fab3b-3c94-41f9-96e3-143916447e64 | {
"language": "AsciiDoc"
} | ```asciidoc
:libVersion: 0.1.7
# ADAL
image:https://api.bintray.com/packages/jmspt/maven/adal/images/download.svg[Build Status,link=https://bintray.com/jmspt/maven/adal/_latestVersion]
Android Development Accelaration Library
Add the dependency in the form:
[source, groovy, subs='attributes']
dependencies {
/* In... | ```asciidoc
:libVersion: 0.1.7
# ADAL
image:https://api.bintray.com/packages/jmspt/maven/adal/images/download.svg[Build Status,link=https://bintray.com/jmspt/maven/adal/_latestVersion]
Android Development Accelaration Library
Add the dependency in the form:
[source, groovy, subs='attributes']
dependencies {
/* In... |
5bbddd7d-34ad-407e-b718-a4f83f6f79c6 | {
"language": "AsciiDoc"
} | ```asciidoc
= clojuTRE
clojuTRE
2017-09-02
:jbake-type: event
:jbake-edition: 2017
:jbake-link: http://clojutre.org/2017/
:jbake-location: Tampere, Finland
:jbake-start: 2017-09-92
:jbake-end: 2017-09-02
clojuTRE is a free Clojure conference organized by http://www.metosin.fi/[Metosin]. The event has single track, lat... | ```asciidoc
= clojuTRE
clojuTRE
2017-09-02
:jbake-type: event
:jbake-edition: 2017
:jbake-link: http://clojutre.org/2017/
:jbake-location: Tampere, Finland
:jbake-start: 2017-09-02
:jbake-end: 2017-09-02
clojuTRE is a Clojure conference organized by http://www.metosin.fi/[Metosin]. The event has single track, late sta... |
f9871d74-6019-4339-9240-533639eb6202 | {
"language": "ASP"
} | ```asp
<%@ Control Language="C#" AutoEventWireup="false" EnableViewState="false" Inherits="R7.Epsilon.AdminPageInfo" %>
<%@ Import Namespace="DotNetNuke.Security" %>
<% if (PortalSecurity.IsInRole ("Administrators")) { %>
<div class="skin-admin-page-info alert alert-warning">
<a class="skin-page-permal... | ```asp
<%@ Control Language="C#" AutoEventWireup="false" EnableViewState="false" Inherits="R7.Epsilon.AdminPageInfo" %>
<%@ Import Namespace="DotNetNuke.Security" %>
<% if (PortalSecurity.IsInRole ("Administrators")) { %>
<div class="skin-admin-page-info alert alert-info alert-dismissible">
<button typ... |
3f89ac62-a763-4e57-b77a-5d5759e005da | {
"language": "ASP"
} | ```asp
<%@ Application Inherits="DotNetNuke.Web.Common.Internal.DotNetNukeHttpApplication" Language="C#" %>
<%@ Import Namespace="DotNetNuke.Entities.Portals" %>
<%@ Import Namespace="DotNetNuke.Entities.Users" %>
<%@ Import Namespace="R7.Epsilon.Components" %>
<script runat="server">
public override string GetVa... | ```asp
<%@ Application Inherits="DotNetNuke.Web.Common.Internal.DotNetNukeHttpApplication" Language="C#" %>
<%@ Import Namespace="DotNetNuke.Entities.Portals" %>
<%@ Import Namespace="DotNetNuke.Entities.Users" %>
<%@ Import Namespace="R7.Epsilon.Components" %>
<script runat="server">
public override string GetVa... |
ea797680-cef0-4de1-bd90-8dfd87161e95 | {
"language": "ASP"
} | ```asp
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Refresh" content="60" />
<title>TeamTracker</title>
<link rel="icon" href="team.png">
</head>
<body... | ```asp
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Refresh" content="60" />
<title>TeamTracker</title>
<link rel="icon" href="team.png">
</head>
<body... |
aa2b4622-2537-47bd-ae59-5d26ec48f94f | {
"language": "ASP"
} | ```asp
<%@ Page Language="c#" CodeBehind="editLanguage.aspx.cs" AutoEventWireup="True" MasterPageFile="../masterpages/umbracoPage.Master"
Inherits="umbraco.settings.editLanguage" %>
<%@ Register TagPrefix="cc1" Namespace="umbraco.uicontrols" Assembly="controls" %>
<asp:Content ContentPlaceHolderID="body" runat... | ```asp
<%@ Page Language="c#" CodeBehind="editLanguage.aspx.cs" AutoEventWireup="True" MasterPageFile="../masterpages/umbracoPage.Master"
Inherits="umbraco.settings.editLanguage" %>
<%@ Register TagPrefix="cc1" Namespace="umbraco.uicontrols" Assembly="controls" %>
<asp:Content ContentPlaceHolderID="body" runat... |
398ca357-6c5c-46c1-8b55-f2aa9142fee3 | {
"language": "ASP"
} | ```asp
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IQueryable<CRP.Core.Domain.Item>>" %>
<%@ Import Namespace="CRP.Core.Resources"%>
<%@ Import Namespace="CRP.Controllers"%>
<table class="itembrowsetable">
<thead>
</thead>
<tbody>
... | ```asp
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IQueryable<CRP.Core.Domain.Item>>" %>
<%@ Import Namespace="CRP.Core.Resources"%>
<%@ Import Namespace="CRP.Controllers"%>
<table class="itembrowsetable">
<thead>
</thead>
<tbody>
... |
4cd58a1b-ed60-4894-a45f-f07443c5ed32 | {
"language": "ASP"
} | ```asp
<div class="container">
<div class="row">
<div id="ContentTopPane" runat="server" class="col" />
</div>
<div class="row">
<main id="ContentPane" runat="server" class="col-md-9 col-sm-7 skin-autoexpand-pane" />
<aside id="AsidePane" runat="server" class="col-md-3 col-sm-5" containertype="G" containername... | ```asp
<div class="container">
<div class="row">
<div id="ContentTopPane" runat="server" class="col" />
</div>
<div class="row">
<main id="ContentPane" runat="server" class="col-md-8 col-sm-7 skin-autoexpand-pane" />
<aside id="AsidePane" runat="server" class="col-md-4 col-sm-5" containertype="G" containername... |
9e0fc1c5-3171-4741-ac98-65a9d3c3cfc4 | {
"language": "ASP"
} | ```asp
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Test Form</title>
<link rel="icon" href="favicon.ico"/>
</head>
<body>
<form id="form1" runat="server">
<div>... | ```asp
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Test Form</title>
<link rel="icon" href="favicon.ico"/>
</head>
<body>
<form id="form1" runat="server">
<div>... |
39087920-be87-4788-a319-b466df906f81 | {
"language": "ASP"
} | ```asp
<div>
<ui-select ng-model="ctrl.documentLibrary.selected" theme="bootstrap">
<ui-select-match placeholder="Select or search for a document library...">
<div ng-if="$select.selected">
<img ng-src="{{ctrl.siteUrl + $select.selected.ImageUrl}}" style="vertical-align: baseline... | ```asp
<div>
<ui-select ng-model="ctrl.documentLibrary.selected" theme="bootstrap">
<ui-select-match placeholder="Select or search for a document library...">
<div ng-if="$select.selected">
<img ng-src="{{ctrl.siteUrl + $select.selected.ImageUrl}}" style="vertical-align: baseline... |
5db00523-b818-401c-ab95-07904a594d8a | {
"language": "ASP"
} | ```asp
<% Response.Redirect("https://raw.githubusercontent.com/cake-build/example/master/tools/packages.config") %>```
Adjust so packages.config points to resources repo | ```asp
<% Response.Redirect("https://raw.githubusercontent.com/cake-build/resources/master/packages.config") %>``` |
07e12459-8ca0-42c5-a16d-6032017e65e6 | {
"language": "ASP"
} | ```asp
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Settings.aspx.cs" Inherits="Settings" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Settings</title>
</head>
<body>
<a href="Default.aspx">Back</a>
<form id="SettingsForm" runat="server">
... | ```asp
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Settings.aspx.cs" Inherits="Settings" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Settings</title>
</head>
<body>
<a href="Default.aspx">Back</a>
<form id="SettingsForm" runat="server">
... |
2ee839cd-c0d8-4b5f-be1a-83d69f965e72 | {
"language": "ASP"
} | ```asp
<div class="container">
<div class="row">
<div id="ContentPane" runat="server" class="col-12" />
</div>
</div>
```
Use MAIN tag for content pane | ```asp
<div class="container">
<div class="row">
<main id="ContentPane" runat="server" class="col-12" />
</div>
</div>
``` |
c5558204-737e-4777-b15a-ae86c36389b2 | {
"language": "ASP"
} | ```asp
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ViewAgent.ascx.cs" Inherits="R7.News.Agent.ViewAgent" %>
<%@ Import Namespace="System.Web" %>
<asp:ListView id="listAgent" DataKeyNames="EntryId" runat="server" OnItemDataBound="listAgent_ItemDataBound">
<LayoutTemplate>
<div runat="serve... | ```asp
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ViewAgent.ascx.cs" Inherits="R7.News.Agent.ViewAgent" %>
<%@ Import Namespace="System.Web" %>
<asp:ListView id="listAgent" DataKeyNames="EntryId" runat="server" OnItemDataBound="listAgent_ItemDataBound">
<LayoutTemplate>
<div runat="serve... |
6d6aa2fc-bb5e-4914-8f0e-e8dd212d5525 | {
"language": "ASP"
} | ```asp
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<LogOnViewModel>" %>
<%@ Import Namespace="Orchard.Users.ViewModels"%>
<h1 class="page-title"><%=Html.TitleForPage(Model.Title)%></h1>
<p><%=_Encoded("Please enter your username and password.")%> <%= Html.ActionLink("Register", "Register")%><%=... | ```asp
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<LogOnViewModel>" %>
<%@ Import Namespace="Orchard.Users.ViewModels"%>
<h1 class="page-title"><%=Html.TitleForPage(Model.Title)%></h1>
<p><%=_Encoded("Please enter your username and password.")%> <%= Html.ActionLink("Register", "Register")%><%=... |
bfd00a15-ba32-499a-b26b-a9754922e479 | {
"language": "ASP"
} | ```asp
<div class="container">
<div class="row">
<div id="BottomPane1" runat="server" class="col-md-6" />
<div id="BottomPane2" runat="server" class="col-md-6" />
<div id="BottomPane3" runat="server" class="col-md-6" />
<div id="BottomPane4" runat="server" class="col-md-6" />
<div id="BottomPane5" runat="ser... | ```asp
<div class="container">
<div class="row">
<div id="BottomPane1" runat="server" class="col-md-6" />
<div id="BottomPane2" runat="server" class="col-md-6" />
<div id="BottomPane3" runat="server" class="col-md-6" />
<div id="BottomPane4" runat="server" class="col-md-6" />
<div id="BottomPane5" runat="ser... |
88670fd7-0051-4e16-a58a-ae223e885a54 | {
"language": "ASP"
} | ```asp
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<Orchard.Core.Localization.ViewModels.ContentLocalizationsViewModel>" %>
<%
Html.RegisterStyle("base.css"); %>
<div class="content-localization"><%
if (Model.Localizations.Count() > 0) { %>
<%--//todo: need this info in the view mod... | ```asp
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<Orchard.Core.Localization.ViewModels.ContentLocalizationsViewModel>" %>
``` |
962f740f-c2e9-4855-ae6b-ee7ae45e4f93 | {
"language": "ASP"
} | ```asp
<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" %>
<script runat="server">
public void Page_Error( object sender, System.EventArgs e )
{
Exception x = Server.GetLastError();
YAF.Classes.Data.DB.eventlog_create( forum.PageUserID, this, x );
YAF.Classes.Utils.C... | ```asp
<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" %>
<script runat="server">
public void Page_Error( object sender, System.EventArgs e )
{
Exception x = Server.GetLastError();
YAF.Classes.Data.DB.eventlog_create( YafContext.Current.PageUserID, this, x );
YAF.Cl... |
1cc281fc-dfda-4aa8-ad3a-6423fd46872b | {
"language": "ASP"
} | ```asp
<%@ Control Language="C#" AutoEventWireup="false" CodeBehind="TermLinks.ascx.cs" Inherits="R7.News.Controls.TermLinks" %>
<asp:ListView id="listTermLinks" runat="server" DataKeyNames="TermId">
<LayoutTemplate>
<ul runat="server">
<li runat="server" id="itemPlaceholder"></li>
</ul... | ```asp
<%@ Control Language="C#" AutoEventWireup="false" CodeBehind="TermLinks.ascx.cs" Inherits="R7.News.Controls.TermLinks" %>
<asp:ListView id="listTermLinks" runat="server" DataKeyNames="TermId">
<LayoutTemplate>
<ul runat="server" class="list-inline small" style="margin-left:inherit">
<li ... |
31313509-d448-4fda-8294-799598d60aaa | {
"language": "ASP"
} | ```asp
<%@ Page Language="C#" AutoEventWireup="true" Inherits="System.Web.UI.Page" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>The website is restarting</title>
<MET... | ```asp
<%@ Page Language="C#" AutoEventWireup="true" Inherits="System.Web.UI.Page" %>
<%
// NH: Adds this inline check to avoid a simple codebehind file in the legacy project!
if (!umbraco.cms.helpers.url.ValidateProxyUrl(Request["url"], Request.Url.AbsoluteUri))
{
throw new ArgumentException("Can't redirect... |
69a6314b-38f9-4901-a614-677bf264d2bb | {
"language": "ASP"
} | ```asp
```
Test MapPath on relative paths | ```asp
<%@ PAGE LANGUAGE = C# %>
<%--
-- Test calling map path on a relative path. This should print
-- the full path of map-path.aspx
--%>
<html>
<script runat=server>
void Page_Load()
{
Response.Write (Server.MapPath ("map-path.aspx"));
}
</script>
<body>
</body>
</html>
``` |
fbc2f4f0-069a-49b8-b6de-2ca9f11f25f4 | {
"language": "ASP"
} | ```asp
<%@ Page Language="c#" CodeFile="error.aspx.cs" AutoEventWireup="True" Inherits="YAF.error" %>
<html>
<head>
<title>Forum Error</title>
<link type="text/css" rel="stylesheet" href="resources/forum.css" />
<link type="text/css" rel="stylesheet" href="themes/yafpro/theme.css" />
</head>
<body>
<br />
<table class=... | ```asp
<%@ Page Language="c#" CodeFile="error.aspx.cs" AutoEventWireup="True" Inherits="YAF.error" %>
<html>
<head>
<title>Forum Error</title>
<link type="text/css" rel="stylesheet" href="resources/forum.css" />
<link type="text/css" rel="stylesheet" href="themes/yafpro/theme.css" />
</head>
<body>
<div class="yafnet">... |
6aec5378-ea6a-4d1d-ab7d-ebde25c1cfe1 | {
"language": "ASP"
} | ```asp
```
Add test page for the CompareValidator control. | ```asp
<%@ Page Language="C#" %>
<html>
<script runat="server">
void Check_Click(Object src, EventArgs E) {
message.Text = "Entered data is " + (Page.IsValid ? "valid." : "invalid!");
}
</script>
<head>
<title>CompareValidator</title>
</head>
<body>
<form runat="server">
<asp:Label text="Enter twice the same string:... |
70e54dfe-52b5-4c9a-98c9-bc96e1b3d78a | {
"language": "ASP"
} | ```asp
<%@ Control Language="C#" AutoEventWireup="true" EnableViewState="false" CodeFile="ForumSubForumList.ascx.cs"
Inherits="YAF.Controls.ForumSubForumList" %>
<asp:Repeater ID="SubforumList" runat="server" OnItemCreated="SubforumList_ItemCreated">
<HeaderTemplate>
<div class="subForumList... | ```asp
<%@ Control Language="C#" AutoEventWireup="true" EnableViewState="false" CodeFile="ForumSubForumList.ascx.cs"
Inherits="YAF.Controls.ForumSubForumList" %>
<asp:Repeater ID="SubforumList" runat="server" OnItemCreated="SubforumList_ItemCreated">
<HeaderTemplate>
<div class="subForumList... |
46c5abf8-47d4-4f22-9f78-bb19c047a96c | {
"language": "AspectJ"
} | ```aspectj
package tlc2.tool.distributed;
public aspect RMIMethodMonitorAspect {
// catch all method calls to RMI methods
pointcut callToRemoteMethod() :
execution(* tlc2.tool.distributed.InternRMI.*(..))
|| execution(* tlc2.tool.distributed.TLCServerRMI.*(..))
|| execution(* tlc2.tool.distributed.TLCWor... | ```aspectj
package tlc2.tool.distributed;
public aspect RMIMethodMonitorAspect {
// catch all method calls to RMI methods
pointcut callToRemoteMethod() :
execution(* tlc2.tool.distributed.InternRMI.*(..))
|| execution(* tlc2.tool.distributed.TLCServerRMI.*(..))
|| execution(* tlc2.tool.distributed.TLCWor... |
51489ab2-67d7-4ea3-a8b2-aad880550552 | {
"language": "AspectJ"
} | ```aspectj
package scala.tools.eclipse.contribution.weaving.jdt.core;
import org.eclipse.jdt.internal.core.util.Util;
/**
* We override the behaviour of isValidCompilationUnitName() for .scala files.
* The standard implementation applies Java identifier rules on the prefix of
* the file name, so that, for example,... | ```aspectj
package scala.tools.eclipse.contribution.weaving.jdt.core;
import org.eclipse.jdt.internal.core.util.Util;
import org.eclipse.jdt.core.JavaConventions;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.jdt.internal.core.JavaModelStatus;
/**
* We override the behaviour of isValidCompilationUnitNa... |
16fb1503-4c5b-4757-92c2-c3521a49c360 | {
"language": "AspectJ"
} | ```aspectj
package tlc2.tool.distributed;
public aspect RMIMethodMonitorAspect {
// catch all method calls to RMI methods
pointcut callToRemoteMethod() :
execution(* tlc2.tool.distributed.InternRMI.*(..))
|| execution(* tlc2.tool.distributed.TLCServerRMI.*(..))
|| execution(* tlc2.tool.distributed.TLCWor... | ```aspectj
package tlc2.tool.distributed;
public aspect RMIMethodMonitorAspect {
// catch all method calls to RMI methods
pointcut callToRemoteMethod() :
execution(* tlc2.tool.distributed.InternRMI.*(..))
|| execution(* tlc2.tool.distributed.TLCServerRMI.*(..))
|| execution(* tlc2.tool.distributed.TLCWor... |
fbc39c16-0053-4754-9b3b-2bc77df5c69e | {
"language": "AspectJ"
} | ```aspectj
package edu.brown.cs.systems.retro.aspects.cpu;
import edu.brown.cs.systems.baggage.Baggage;
import edu.brown.cs.systems.baggage.DetachedBaggage;
import edu.brown.cs.systems.retro.resources.CPUTracking;
import edu.brown.cs.systems.retro.resources.Execution;
import edu.brown.cs.systems.retro.throttling.Throt... | ```aspectj
package edu.brown.cs.systems.retro.aspects.cpu;
import edu.brown.cs.systems.baggage.Baggage;
import edu.brown.cs.systems.baggage.DetachedBaggage;
import edu.brown.cs.systems.retro.resources.CPUTracking;
import edu.brown.cs.systems.retro.resources.Execution;
import edu.brown.cs.systems.retro.throttling.Throt... |
c4ea5deb-bb5d-4dcf-82d0-07004d10fbbc | {
"language": "AspectJ"
} | ```aspectj
import java.util.ArrayList;
import java.util.List;
import mirah.lang.ast.Node;
import mirah.lang.ast.NodeScanner;
import mirah.lang.ast.NodeImpl;
class ChildCollector extends NodeScanner {
private ArrayList<Node> children = new ArrayList<Node>();
@Override
public boolean enterDefault(Node node, Obje... | ```aspectj
import java.util.ArrayList;
import java.util.List;
import mirah.lang.ast.Node;
import mirah.lang.ast.NodeScanner;
import mirah.lang.ast.NodeImpl;
/* To compile the new AST with duby extensions:
* ajc -1.5 -inpath dist/mirah-parser.jar \
* -outjar dist/mirah-parser_with_duby.jar \
* -classpath ../... |
a348362b-bc3b-4c09-9cd3-9aea1e55e623 | {
"language": "AspectJ"
} | ```aspectj
package tlc2.tool.distributed;
public aspect RMIMethodMonitorAspect {
// catch all method calls to RMI methods
pointcut callToRemoteMethod() :
execution(* tlc2.tool.distributed.InternRMI.*(..))
|| execution(* tlc2.tool.distributed.TLCServerRMI.*(..))
|| execution(* tlc2.tool.distributed.TLCWor... | ```aspectj
package tlc2.tool.distributed;
public aspect RMIMethodMonitorAspect {
// catch all method calls to RMI methods
pointcut callToRemoteMethod() :
execution(* tlc2.tool.distributed.InternRMI.*(..))
|| execution(* tlc2.tool.distributed.TLCServerRMI.*(..))
|| execution(* tlc2.tool.distributed.TLCWor... |
a7f2b364-c6a5-4c0b-9e8b-b32e05d7ec6d | {
"language": "AspectJ"
} | ```aspectj
package org.lamport.tla.toolbox.test.threading;
import org.aspectj.lang.annotation.SuppressAjWarnings;
/**
* The purpose of this advice is to intercept method execution in the backend
* code - namely all code in the packages tlc2, tla2sany, tla2tex, pcal and util.
*
* It notifies the {@link MonitorAda... | ```aspectj
package org.lamport.tla.toolbox.test.threading;
import org.aspectj.lang.annotation.SuppressAjWarnings;
/**
* The purpose of this advice is to intercept method execution in the backend
* code - namely all code in the packages tlc2, tla2sany, tla2tex, pcal and util.
*
* It notifies the {@link MonitorAda... |
57efe0e2-5989-4e68-bb4c-588f9baa63c4 | {
"language": "AspectJ"
} | ```aspectj
```
Add aspect to check environment variables for Baggage from main method | ```aspectj
package edu.brown.cs.systems.tracing.aspects;
import edu.brown.cs.systems.baggage.BaggageUtils;
/**
* Instruments all main methods
*/
public aspect TracingPlaneInit {
declare precedence: TracingPlaneInit, *;
before(): execution(public static void main(String[])) {
BaggageUtils.check... |
96cc3d4e-b340-4cd7-b97b-8888a5a9173a | {
"language": "Assembly"
} | ```assembly
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation
; All rights reserved. This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distr... | ```assembly
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation
; All rights reserved. This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distr... |
2923ab1a-b76d-4d66-825d-02e22ed22d67 | {
"language": "Assembly"
} | ```assembly
```
Add linear search in x86 assembly lang | ```assembly
TITLE Linear/Sequential search implemented in x86 assembly (MASM)
; Search for a value in an array of bytes by comparing each value with a key
; return the position of the key
; O(n) time complexity
; the address of the first element in the array must be in the edx
; and the arrays length in the ecx registe... |
70a90566-d23e-48f0-a88c-cd4589fe030c | {
"language": "Assembly"
} | ```assembly
```
Add patch to display popup when attempting to enter forest portrait | ```assembly
.nds
.relativeinclude on
.erroronwarning on
; This patch adds a text popup if the player tries to enter the Forest of Doom portrait before it's unlocked.
; This is necessary for portrait randomizer when the Forest of Doom portrait isn't in the normal location, since the normal event only works in that sect... |
dda9cc0b-3511-480b-a5be-48b44e11949b | {
"language": "Assembly"
} | ```assembly
.regalias count s1
.regalias source s2
.regalias dest s3
.regalias temp s4
_start temp = 0xf
cr30 = temp ; start all strands
count = mem_l[length]
source = &dataStart
dest = source + count
count = count >> 2 ; divide by 4
temp = cr0 ; get strand ID
temp = temp * ... | ```assembly
.regalias count s1
.regalias source s2
.regalias dest s3
.regalias temp s4
_start temp = 0xf
cr30 = temp ; start all strands
count = mem_l[length]
source = &dataStart
dest = source + count
count = count >> 2 ; divide by 4
temp = cr0 ; get strand ID
temp = temp * ... |
50c89b65-ae83-4870-89ad-fd45199f157a | {
"language": "Assembly"
} | ```assembly
```
Add experiment showing use of string as immediate value in source operand. | ```assembly
; Sandbox asm file template to start experimenting from
SECTION .data
SECTION .text
global _start
_start:
nop
mov eax,'WXYZ' ; You can use a string as an immediate value
; in a soure operand. Debugger will show 0x5A595857
; which is the binary ascii equivalent.
mov eax,1 ; ... |
25e794ac-f557-4841-be48-a957d586e1d7 | {
"language": "Assembly"
} | ```assembly
;;----------------------------------------------------------------------------;;
;; Move images in rupe (zoom) menu.
;; Copyright 2014 Benito Palacios (aka pleonex)
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;... | ```assembly
;;----------------------------------------------------------------------------;;
;; Move images in rupe (zoom) menu.
;; Copyright 2014 Benito Palacios (aka pleonex)
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;... |
576f5299-7d8b-437c-8af5-02e2a45ab945 | {
"language": "Assembly"
} | ```assembly
```
Add patch to fix infinite quest rewards bug in PoR | ```assembly
.nds
.relativeinclude on
.erroronwarning on
.open "ftc/arm9.bin", 02000000h
; Disables the start button exiting the quests menu.
; The B button can be used to exit the quest menu instead.
; This prevents taking quest rewards over and over by exiting before the quest is marked as complete.
; Changes how t... |
4ff5535f-cb93-42c4-af7c-bad5f5a52e78 | {
"language": "Assembly"
} | ```assembly
```
Convert a string from uppercase to lowercase. | ```assembly
; Sandbox asm file template to start experimenting from
; converts the Snippet string in memory to lowercase by looping and
; adding 32 to each byte in the string
SECTION .data
Snippet db "KANGAROO"
SECTION .text
global _start
_start:
nop
mov ebx,Snippet
mov eax,8
DoMore: add by... |
9f1f86cb-dd4b-4a18-ae5f-ed957576fc6a | {
"language": "Assembly"
} | ```assembly
```
Add example asm files for testing | ```assembly
; Test program to bit-bang a single character out SOD as serial async data
org 00000H
BITTIME equ 0113h ; Time delay for a single bit
OUTBITS equ 00Bh
START:
mvi c,'T' ; Send a test character
COUT:
di
mvi b,OUTBITS ; Numb... |
b0a02212-f8c4-4723-87d7-5943a6d8ecba | {
"language": "Assembly"
} | ```assembly
; Sandbox asm file template to start experimenting from
SECTION .data
SECTION .text
global _start
_start:
nop
mov eax,1 ; Code for Exit Syscall
mov ebx,0 ; Return a code of zero
int 80H ; Make kernel call
SECTION .bss
```
Add tabs to sandbox template. | ```assembly
; Sandbox asm file template to start experimenting from
SECTION .data
SECTION .text
global _start
_start:
nop
mov eax,1 ; Code for Exit Syscall
mov ebx,0 ; Return a code of zero
int 80H ; Make kernel call
SECTION .bss
``` |
5fb2e474-7c73-47d1-88bf-1d812c2f56c2 | {
"language": "Assembly"
} | ```assembly
```
Add patch to change number of map tiles in DoS | ```assembly
.nds
.relativeinclude on
.erroronwarning on
; This patch slightly changes the code that calculates what percentage of the map you have explored so that the total number of tiles can be easily changed, allowing the percentage to be correct with modded maps.
.open "ftc/arm9.bin", 02000000h
.org 0x02026B54
... |
6e5c484e-4755-4728-9af5-a90ec682dc79 | {
"language": "Assembly"
} | ```assembly
; Copyright 2015 Philipp Oppermann
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agree... | ```assembly
; Copyright 2015 Philipp Oppermann
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agree... |
3f36f2d4-fd52-43ab-a7c2-5d3cc97099c4 | {
"language": "Assembly"
} | ```assembly
```
Add patch to make PoR enemy resistances behave like DoS and OoE | ```assembly
.nds
.relativeinclude on
.erroronwarning on
; This patch makes resistances in PoR act like resistances in DoS and OoE.
; In vanilla PoR, if an enemy resists even one element of an attack, it will resist the attack.
; This changes it so the enemy must resist all elements of the attack to resist the attack.
... |
0ea96453-faf4-4b71-bbd3-c040e7854f3d | {
"language": "Assembly"
} | ```assembly
;;----------------------------------------------------------------------------;;
;; Align the position of the numbers in blackjack minigame of casino.
;; Copyright 2015 Benito Palacios (aka pleonex)
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except... | ```assembly
;;----------------------------------------------------------------------------;;
;; Align the position of the numbers in blackjack minigame of casino.
;; Copyright 2015 Benito Palacios (aka pleonex)
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except... |
d5f78642-c856-40d3-ba65-23fc7cac3dbf | {
"language": "Assembly"
} | ```assembly
.nds
.relativeinclude on
.erroronwarning on
.open "ftc/arm9.bin", 02000000h
.org 0x02051F90 ; Where the original game's code for loading area/sector/room indexes is.
b 020BFC00h ; Jump to some free space, where we will put our own code for loading the area/sector/room indexes.
.org 0x020BFC00 ; Free sp... | ```assembly
.nds
.relativeinclude on
.erroronwarning on
.open "ftc/arm9.bin", 02000000h
.org 0x02051F90 ; Where the original game's code for loading area/sector/room indexes is.
b 020BFC00h ; Jump to some free space, where we will put our own code for loading the area/sector/room indexes.
.org 0x020BFC00 ; Free sp... |
60fcb25d-4863-48bd-8ed4-ed2032fc2c16 | {
"language": "Assembly"
} | ```assembly
; Volume Label
db 'BOOTDISK' ; File Name
db ' ' ; File Extension
db 0x08 ; Attribute
db 0x00 ; Reserved for NT
db 0x01 ; Creation
dw 0x0000 ; Creation Time
dw 0x0000 ; Creation Date
dw 0x0000 ; Last Access Data
dw 0x0000 ; FAT32 Upper Half
dw 0x8000 ; Last Write ... | ```assembly
; Volume Label
db 'BOOTDISK' ; File Name
db ' ' ; File Extension
db 0x08 ; Attribute
db 0x00 ; Reserved for NT
db 0x01 ; Creation
dw 0x0000 ; Creation Time
dw 0x0000 ; Creation Date
dw 0x0000 ; Last Access Data
dw 0x0000 ; FAT32 Upper Half
dw 0x8000 ; Last Write ... |
e4d94250-64f0-4afd-8a92-28bbd93be0f6 | {
"language": "Assembly"
} | ```assembly
```
Add patch to enable skipping AoS cutscenes on first playthrough | ```assembly
.gba
.relativeinclude on
.erroronwarning on
.open "ftc/rom.gba", 08000000h
; Allow skipping events with start, even if you haven't beaten the game once yet.
.org 0x0805B56C
mov r0, 3h
.close
``` |
77255f7a-4a47-4702-8cd4-ab34149cbcd5 | {
"language": "Assembly"
} | ```assembly
```
Add flash on Z cancel demo | ```assembly
// Super Smash Bros. flash on Z cancel demonstration
arch n64.cpu
endian msb
//output "", create
include "LIB\N64.inc"
include "LIB\macros.inc"
origin 0x0
insert "LIB\Super Smash Bros. (U) [!].z64"
origin 0x0CB528
base 0x80150AE8 // Z cancel
jal Flash
origin 0x33204
base 0x80032604
scope Flash: {
add... |
6fd909d7-75b3-4ce2-b0af-0da87ef33163 | {
"language": "Assembly"
} | ```assembly
```
Add patch to fix bug where common enemy creature sets boss death flag | ```assembly
.nds
.relativeinclude on
.erroronwarning on
; This patch fixes the bug where the common enemy version of The Creature sets his boss death flag.
.open "ftc/overlay9_60", 022D7900h
.org 0x022D7D14
; Check if Var A is 0 (common enemy/boss rush version) and skip setting the boss death flag if so.
; This ... |
16dbf24a-549e-4548-8166-aacfa32d0e32 | {
"language": "Assembly"
} | ```assembly
```
Add routine for 32bit print. | ```assembly
; =============================================================================
; Copyright (C) 2015 Manolis Fragkiskos Ragkousis -- see LICENSE.TXT
; =============================================================================
;;; Print routine
;;; ebx contains a null terminated string
%ifndef PRINT_STR... |
b0326755-91ba-4664-8300-d7b4671bc9e8 | {
"language": "Assembly"
} | ```assembly
```
Add patch to make Balore face left if player enters from left | ```assembly
.nds
.relativeinclude on
.erroronwarning on
; This patch makes Balore detect which side of the room the player enters from, and if it's from the left, he moves himself to face left.
.open "ftc/overlay9_23", 022FF9C0h
@Overlay41Start equ 0x02308920
@FreeSpace equ @Overlay41Start + 0x140
.org 0x022FFD44
... |
344fef59-9fcd-48a1-a956-4d568b08e8b7 | {
"language": "Assembly"
} | ```assembly
;;----------------------------------------------------------------------------;;
;; Align the position of the textbox in equip menu
;; Copyright 2014 Benito Palacios (aka pleonex)
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with... | ```assembly
;;----------------------------------------------------------------------------;;
;; Align the position of the textbox in equip menu
;; Copyright 2014 Benito Palacios (aka pleonex)
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with... |
fafedfb9-f7ed-4c2e-8858-2e55ebcec8a7 | {
"language": "Assembly"
} | ```assembly
; 0x0000
; RST 0x00
jp boot
; Magic Number
; 0x0003
.db "KK"
; 0x0008
; RST 0x08
.fill 0x08-$
rkcall:
jp kcall
.fill 0x10-$
; 0x0010
; RST 0x10
rlcall:
jp lcall
.fill 0x18-$
; 0x0018
; RST 0x18
jp reboot
.fill 0x20-$
; 0x0020
; RST 0x20
jp pcall
.fill 0x28-$
; 0x0028
; RST 0x28
jp b... | ```assembly
; 0x0000
; RST 0x00
jp boot
; Magic Number
; 0x0003
.db "KK"
; 0x0008
; RST 0x08
.fill 0x08-$
rkcall:
jp kcall
.fill 0x10-$
; 0x0010
; RST 0x10
rlcall:
jp lcall
.fill 0x18-$
; 0x0018
; RST 0x18
jp reboot
.fill 0x20-$
; 0x0020
; RST 0x20
jp pcall
.fill 0x28-$
; 0x0028
; RST 0x28
jp b... |
d917a832-5c55-43b9-a2e8-f27ce768ccf8 | {
"language": "Assembly"
} | ```assembly
```
Add patch to skip emblem drawing screen in PoR | ```assembly
.nds
.relativeinclude on
.erroronwarning on
.open "ftc/overlay9_25", 022D7900h
; Skip the screen where the player has to draw an emblem and press OK when starting a new game.
.org 0x022DAAB0 ; Code in the name entry menu after you finished typing in your name that would normally take you to the emblem dr... |
044c63ba-faf6-4bab-9e09-98dae8cca9f6 | {
"language": "Assembly"
} | ```assembly
```
Add patch to fix Gravedorcus from left entrance | ```assembly
.nds
.relativeinclude on
.erroronwarning on
; This patch makes Gravedorcus not immediately damage the player if they enter from the left door.
.open "ftc/overlay9_33", 022B73A0h
.org 0x022BA230
; Remove branch that would make Gravedorcus's intro cutscene play if you enter the room from the right.
nop... |
996dd1a3-d1fa-4519-95fa-58d7b062a709 | {
"language": "Assembly"
} | ```assembly
;;----------------------------------------------------------------------------;;
;; Align the position of the numbers in military minigame of casino.
;; Copyright 2015 Benito Palacios (aka pleonex)
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except ... | ```assembly
;;----------------------------------------------------------------------------;;
;; Align the position of the numbers in military minigame of casino.
;; Copyright 2015 Benito Palacios (aka pleonex)
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except ... |
37deef0f-13d8-40ed-bd9e-d804a1795513 | {
"language": "Assembly"
} | ```assembly
```
Add patch to always enable dowsing hat effect | ```assembly
.nds
.relativeinclude on
.erroronwarning on
; Always have the Dowsing Hat effect of beeping when there's a hidden blue chest, even if you don't have Dowsing Hat equipped.
.open "ftc/overlay9_19", 021FFFC0h
.org 0x0221AE30 ; Where the blue chest loads your currently equipped head armor.
mov r0, 7h ; Dow... |
21fdcef0-2102-431c-885e-834eacc96a6d | {
"language": "Assembly"
} | ```assembly
```
Add asm patch to implement magical tickets in DoS | ```assembly
.nds
.relativeinclude on
.erroronwarning on
@Overlay41Start equ 0x023E0100
@FreeSpace equ 0x023E0100
.open "ftc/overlay9_0", 0219E3E0h
.org 0x021EEF00
b @FreeSpace
.close
.open "ftc/overlay9_41", @Overlay41Start
.org @FreeSpace
; TODO: Don't allow using during boss fights.
mov r0, 0h ; Sector... |
177cd217-bfa1-458a-8ec2-df8d8acb8802 | {
"language": "Assembly"
} | ```assembly
```
Add patch to fix some PoR bosses not playing music in boss rando | ```assembly
.nds
.relativeinclude on
.erroronwarning on
; Fixes the boss rush versions of certain bosses so they play the boss music when they're created.
; This is for the boss randomizer.
@Overlay119Start equ 0x02308EC0
@FreeSpace equ @Overlay119Start + 0x4C0
.open "ftc/overlay9_119", @Overlay119Start
.org @FreeS... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.