Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Add comment to improve code readability
#include <HID.h> #include <Keyboard.h> // Init function void setup() { // Start Keyboard and Mouse Keyboard.begin(); // Start Payload // press Windows+X Keyboard.press(KEY_LEFT_GUI); delay(1000); Keyboard.press('x'); Keyboard.releaseAll(); delay(500); // launch Command Prompt (Admin) typeKey('a...
Add sketch that test ultrasonic readings on sensor platform
/* Test Ultrasonic sensor readings on sensor platform This sketch is designed to test the accuracy of the Ultrasonic sensor with the battery pack and circuit of the sensor platform. This sketch takes 5 readings and averages them to help verify similar calculations used in BridgeSensorGSM sketch. The resul...
Add initial robot motor body code
/* This is a test sketch for the Adafruit assembled Motor Shield for Arduino v2 It won't work with v1.x motor shields! Only for the v2's with built in PWM control For use with the Adafruit Motor Shield v2 ----> http://www.adafruit.com/products/1438 */ #include <Wire.h> #include <Adafruit_MotorShield.h> #include "ut...
Add Arduino sketch to test encoders and leds
// Total number of input channels supported by the hardware const uint8_t numChannels = 5; const uint8_t ledPins[] = {2, 4, 7, 8, 12}; const uint8_t encoderPins[] = {5, 6, 9, 10, 11}; unsigned long currentEncoderValues[] = {0, 0, 0, 0, 0}; unsigned long previousEncoderValues[] = {0, 0, 0, 0, 0}; const unsigned long enc...
Test for accelerometer on sensorboard.
/* ADXL362_SimpleRead.ino - Simple XYZ axis reading example for Analog Devices ADXL362 - Micropower 3-axis accelerometer go to http://www.analog.com/ADXL362 for datasheet License: CC BY-SA 3.0: Creative Commons Share-alike 3.0. Feel free to use and abuse this code however you'd like. If you find it useful p...
Add project resources for Mote
#include <SoftwareSerial.h> // software serial #2: RX = digital pin 8, TX = digital pin 9 // on the Mega, use other pins instead, since 8 and 9 don't work on the Mega SoftwareSerial portTwo(8, 9); void setup() { pinMode(LED_BUILTIN, OUTPUT); // Open serial communications and wait for port to open: Serial.be...
Add temp sensor example sketch
// TimerOne library: https://code.google.com/p/arduino-timerone/ #include <TimerOne.h> #include <SPI.h> #include <BLEPeripheral.h> // define pins (varies per shield/board) #define BLE_REQ 10 #define BLE_RDY 2 #define BLE_RST 9 BLEPeripheral blePeripheral = BLEPeripheral(BLE_REQ, BLE_RDY, BLE_RST); BLEService ...
Test script for flashing LEDs on same port using AIO and DIO
/** * Use the schedule class to have two different LEDs on one JeeNode * port flash at different rates. One LED is on DIO and the other * AIO. * * This is a straight-forward modification of the sched_blinks.ino * sketch. * * Based largely on jcw's "schedule" and "blink_ports" sketches * * Changes: * - remo...
Implement IMU unit on Curie
#include "CurieIMU.h" void setup() { Serial.begin(9600); // Initialize internal IMU CurieIMU.begin(); // Set accelerometer range to 2G CurieIMU.setAccelerometerRange(2); } void loop() { float ax, ay, az; CurieIMU.readAccelerometerScaled(ax, ay, az); Serial.print("Value ax:"); Serial.print(ax); ...
Add LED widget setColor example
/************************************************************** * Blynk is a platform with iOS and Android apps to control * Arduino, Raspberry Pi and the likes over the Internet. * You can easily build graphic interfaces for all your * projects by simply dragging and dropping widgets. * * Downloads, docs, tuto...
Add SPI EEPROM 25LC040 example.
#include "mbed.h" // use fully qualified class name to resolve ambiguities with // Arduino's own global "SPI" object mbed::SPI spi(SPI_MOSI, SPI_MISO, SPI_SCK); DigitalOut cs(D10); RawSerial pc(USBTX, USBRX); static const uint8_t READ = 0x03; // read data from memory array static const uint8_t WRITE = 0x02; // writ...
Add arduino Lidar and servo sweeping code
#include <I2C.h> #include <Servo.h> #define LIDARLite_ADDRESS 0x62 // Default I2C Address of LIDAR-Lite. #define RegisterMeasure 0x00 // Register to write to initiate ranging. #define MeasureValue 0x04 // Value to initiate ranging. #define RegisterHighLowB 0x8f ...
Add blink test for Attiny85
/* Blink Turns on an LED on for one second, then off for one second, repeatedly. This example code is in the public domain. */ // Pin 13 has an LED connected on most Arduino boards. // give it a name: int led = 3; int led2 = 4; // the setup routine runs once when you press reset: void setup() { ...
Add simple demo stuff for 2x2x2 cube
#define REP(x,n) for(int x=0;x<n;x++) #define ALL REP(i,2) REP(j,2) REP(k,2) const int DELAY = 10; int cube[2][2][2]; int cols[2][2] = {{8, 9}, {10, 11}}; int rows[2] = {6, 7}; void clear() { ALL cube[i][j][k] = 0; } void setup() { REP(i,2) pinMode(rows[i], OUTPUT); REP(i,2) REP(j,2) pinMode(cols[i][j], OUTPU...
Add simple teensy throughput program
//#define USE_BINARY const int sampleRate = 8000; const long serialRate = 2000000; const int NWORDS = 20; const int WSIZE = sizeof(uint16_t); const int NBYTES = NWORDS * WSIZE; volatile bool pushData = false; typedef union { uint16_t words[NWORDS]; uint8_t bytes[NBYTES]; } MODEL; ...
Add next Arduino example - blinky with Timer1 COMPA.
/** * Copyright (c) 2019, Łukasz Marcin Podkalicki <lpodkalicki@gmail.com> * ArduinoUno/003 * Blinky with Timer1 COMPA. */ #define LED_PIN (13) void setup() { pinMode(LED_PIN, OUTPUT); // set LED pin as output TCCR1A = 0; // clear register TCCR1B = _BV(WGM12); // set Timer1 to CTC mode TCCR1B |= _BV(C...
Add first Arduino example - blinky with delay function.
/** * Copyright (c) 2019, Łukasz Marcin Podkalicki <lpodkalicki@gmail.com> * ArduinoUno/001 * Blinky with delay function. */ #define LED_PIN (13) void setup() { pinMode(LED_PIN, OUTPUT); } void loop() { digitalWrite(LED_PIN, !digitalRead(LED_PIN)); // Toggle LED pin delay(500); // wait 0.5s }
Add code to read temperature and light to display on a LCD
/* * Read temperature and light and display on the LCD * * For: Arduino Uno R3 * * Parts: * 1x LCD (16x2 characters) * 1x 10 kΩ variable resistor * 1x 10 KΩ resistor * 1x 220 Ω resitor * 1x Photocell * 1x TMP36 temperature sensor */ #include <LiquidCrystal.h> int temperaturePin = 0; int lightPin = 1; Liqu...
Add pseudoRandom Demo for Science Museum project
/* * pseudoRandom Demonstration sketch * Author: Darrell Little * Date: 04/29/2017 * This code is in the public domain */ // Array to hold the pin numbers with LED connected int ledPin[] = {11,10,9,6}; // Variable to set the delay time to blink int waitTime = 1000; // Variable to hold the random LED pin to blink i...
Add original code for writing to SD card.
#include <SD.h> #include <SPI.h> void setup() { //this is needed for the duemilanove and uno without ethernet shield const int sdCardPin = 10; int loopCount = 0; //for testing. delete before launches. Serial.begin(9600); delay(1000); pinMode(10,OUTPUT); if (!SD.begin(sdCardPin)) { Serial.pri...
Add early version of ship station demonstration software for OSU Expo
#include <AccelStepper.h> #include <MultiStepper.h> #include <math.h> /* Written for ST6600 stepper driver * PUL+ 5v * PUL- Arduino pin 9/11 * DIR+ 5v * DIR- Arduino pin 8/10 * DC+ 24v power supply * DC- Gnd on power supply & Gnd on Arduino */ // Each step is 0.12 degrees, or 0.002094395 radians ...
Add support for Arduino MKR ETH shield
/************************************************************* Download latest Blynk library here: https://github.com/blynkkk/blynk-library/releases/latest Blynk is a platform with iOS and Android apps to control Arduino, Raspberry Pi and the likes over the Internet. You can easily build graphic interfaces...
Add example for storing JSON config file in SPIFFS
// Example: storing JSON configuration file in flash file system // // Uses ArduinoJson library by Benoit Blanchon. // https://github.com/bblanchon/ArduinoJson // // Created Aug 10, 2015 by Ivan Grokhotkov. // // This example code is in the public domain. #include <ArduinoJson.h> #include "FS.h" bool loadConfig() { ...
Add STM32F103 Blue Pill example
/************************************************************** * Blynk is a platform with iOS and Android apps to control * Arduino, Raspberry Pi and the likes over the Internet. * You can easily build graphic interfaces for all your * projects by simply dragging and dropping widgets. * * Downloads, docs, tuto...
Add example for storing JSON config file in SPIFFS
// Example: storing JSON configuration file in flash file system // // Uses ArduinoJson library by Benoit Blanchon. // https://github.com/bblanchon/ArduinoJson // // Created Aug 10, 2015 by Ivan Grokhotkov. // // This example code is in the public domain. #include <ArduinoJson.h> #include "FS.h" bool loadConfig() { ...
Add 'ino' file to allow build from Arduino IDE
/* Stub to allow build from Arduino IDE */ /* Includes to external libraries */ #include <MemoryFree.h> #include <Countdown.h> #include <MQTTClient.h> #include <SoftwareSerial.h>
Include code sample for Arduino
char incomingByte = 0; const char lampCount = 4; const unsigned short doorUnlockTime = 2000; // in miliseconds bool lampStatus[lampCount]; bool doorStatus; unsigned short doorUnlockTimer; void setup() { Serial.begin(9600); pinMode(13, OUTPUT); for (int i = 0; i < lampCount; ++i) lampStatus[i] = false; ...
Add motor control arduino sketch
int motorPin = 9; int switchPin = 7; int motorStep = 0; int maxStep = 200; int minimumStepDelay = 2; String motorState = String("off"); void makeStep() { digitalWrite(motorPin, HIGH); digitalWrite(motorPin, LOW); motorStep += 1; if (motorStep > maxStep) { motorStep = 0; } } void resetMotor() { for (...
Add an example of how to determine the gain setting for a filter.
// Gain Setting Example // Demonstrates the filter response with unity input to // get the appropriate value for the filter gain setting. #include <FIR.h> // Make an instance of the FIR filter. In this example we'll use // floating point values and a 13 element filter. FIR<long, 13> fir; void setup() { Serial.begi...
Add Feather M0 WiFi example
/************************************************************** * Blynk is a platform with iOS and Android apps to control * Arduino, Raspberry Pi and the likes over the Internet. * You can easily build graphic interfaces for all your * projects by simply dragging and dropping widgets. * * Downloads, docs, tuto...
Add program to adjust pixel color with three potentiometers.
/* * neopixel_rgb_knob * * This is a test program to adjust the rgb of a strip of * neopixels useing three potentiometers. */ #include <Adafruit_NeoPixel.h> #ifdef __AVR__ #include <avr/power.h> // Required for 16 MHz Adafruit Trinket #endif // Which pin on the Arduino is connected to the NeoPixels? // On a Tr...
Add Arduino code for reporting temperature sensor data.
#include <OneWire.h> #include <DallasTemperature.h> // Change these if appropriate // The pin that sensors are connected to #define ONE_WIRE_BUS 2 // What precision to set the sensor to #define TEMPERATURE_PRECISION 11 OneWire one_wire(ONE_WIRE_BUS); DallasTemperature sensors(&one_wire); // We will store an array of...
Add Bluetooth 2.0 Serial Port Profile (SPP) example
/************************************************************** * Blynk is a platform with iOS and Android apps to control * Arduino, Raspberry Pi and the likes over the Internet. * You can easily build graphic interfaces for all your * projects by simply dragging and dropping widgets. * * Downloads, docs, tuto...
Add Arduino program for working with Analog data
const int analogInPin = A0; const int analogOutPin = 3; int sensorValue = 0; int outputValue = 0; void setup() { Serial.begin(9600); } void loop() { sensorValue = analogRead(analogInPin); outputValue = map(sensorValue, 0, 1023, 0, 255); analogWrite(analogOutPin, outputValue); // print the results to the s...
Add canbus FD receive interrupt example
// demo: CAN-BUS Shield, receive data with interrupt mode // when in interrupt mode, the data coming can't be too fast, must >20ms, or else you can use check mode // loovee, 2014-6-13 #include <SPI.h> #include "mcp2518fd_can.h" /*SAMD core*/ #ifdef ARDUINO_SAMD_VARIANT_COMPLIANCE #define SERIAL SerialUSB #else ...
Switch keyboard with resistor ladder
int notes[] = {262, 294, 330, 349}; void setup() { Serial.begin(9600); } void loop() { int keyVal = analogRead(A0); Serial.println(keyVal); if (keyVal == 1023) { tone(8, notes[0]); } else if (keyVal >= 950 && keyVal <= 1010) { tone(8, notes[1]); } else if (keyVal >= 505 && keyVal <= 515) { ...
Add separate Blynk Board example. It deserves one! ;)
/************************************************************** * Blynk is a platform with iOS and Android apps to control * Arduino, Raspberry Pi and the likes over the Internet. * You can easily build graphic interfaces for all your * projects by simply dragging and dropping widgets. * * Downloads, docs, tuto...
Add stub implementation for NodeMCU implementation
#include <ESP8266WiFi.h> const char* ssid = "FRITZ!Box Fon WLAN 7360"; const char* password = "62884846722859294257"; const char* host = "192.168.178.34"; char* clientId = "photo1"; char* requestBody = "{ \"name\":\"%s\", \"weatherData\": { \"temperature\":\"%f\", \"humidity\":\"%f\" } }"; int delayInMillis = 10...
Add arduino serial test sketch
void setup() { Serial.begin(9600); Serial.println("Application Started"); } void loop() { Serial.println("Hello From The Other Side!"); delay(1000); }
Add string equivalent example for teensy
/* Prototypical arduino/teensy code. This one sends things as chars, which allows it to be a bit more flexible, at the cost of efficiency. For example, sending the timestamp + two analog channels takes 8 bytes in the more efficient code, but ~15 bytes in this code. Additionally, you would need to parse the string on th...
Add demo which uses the Wire library
// This example demonstrates how to use the HIH61xx class with the Wire library. The HIH61xx state machine // enables others tasks to run whilst the HIH61xx is powering up etc. #include <Wire.h> #include <HIH61xx.h> #include <AsyncDelay.h> // The "hih" object must be created with a reference to the "Wire" object whic...
Add draft of Arduino Read SD/Write Lights loop
#include <SPI.h> #include <SdFat.h> #include <FAB_LED.h> apa106<D, 6> LEDstrip; rgb frame[200]; // Test with reduced SPI speed for breadboards. // Change spiSpeed to SPI_FULL_SPEED for better performance // Use SPI_QUARTER_SPEED for even slower SPI bus speed const uint8_t spiSpeed = SPI_FULL_SPEED; //-------------...
Add example of outputting an analog read value
/* AnalogReadEasyctrl Reads an analog input on pin 0. Attach the center pin of a potentiometer to pin A0, and the outside pins to +5V and ground. This example code is based on the Arduino example AnalogReadSerial */ #include "easyctrl.h" Monitored<int> sensorValue("sensorValue"); // the setup routine runs ...
Add example code for Kelvinator A/C control.
#include <IRKelvinator.h> IRKelvinatorAC kelvir(D1); // IR led controlled by Pin D1. void printState() { // Display the settings. Serial.println("Kelvinator A/C remote is in the following state:"); Serial.printf(" Basic\n Power: %d, Mode: %d, Temp: %dC, Fan Speed: %d\n", kelvir.getPower(), ...
Add validation of DS18B20 temperature calculation.
/** * @file CosaDS18B20calc.ino * @version 1.0 * * @section License * Copyright (C) 2015, Mikael Patel * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of ...
Add Kevyn's original clear button sketch
/* Kevyn McPhail Deeplocal FOB Receiving module code If Button A is pressed the the arduino returns 1, if button 2 is pressed the arduino returns 2 Button A input is PIN 3, Button B input is PIN 2, and the momentary button press input is PIN 4. On the R02A receiving module, Button A is output D2, Button...
Add file to allow saving arduino output from serial
/* Header file that allows for writing of data from arduino to pi */ #ifndef serial-print_h #define serial-print_h #include "Arduino.h" import processing.serial.*; Serial mySerial; PrintWriter output; void setup() { mySerial = new Serial( this, Serial.list()[0], 9600 ); output = createWriter( "data.txt" ); } ...
Add simple example for the library
#include <Arduino.h> #include <SPI.h> #include <ssd1351.h> // use this to do Color c = RGB(...) instead of `RGB c = RGB(...)` or ssd1351::LowColor c = RGB(...) // because it's slightly faster and guarantees you won't be sending wrong colours to the display. // Choose color depth - LowColor and HighColor currently sup...
Add example of a custom function in ethernet
#include <SPI.h> #include <Ethernet.h> #include "VdlkinoEthernet.h" byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; IPAddress ip(192,168,1,177); EthernetServer server(80); VdlkinoEthernet vdlkino(14, 6, &server); void url_get_analog_byte(void *block, char *url) { VdlkinoBlock *vblock = (VdlkinoBlock*) block;...
Add example for using Arduino to read ATU data
// Copyright 2013 David Turnbull AE9RB // // 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 agre...
Add example for sending custom data packets
#include <DSPI.h> #include <OpenBCI_32bit_Library.h> #include <OpenBCI_32Bit_Library_Definitions.h> unsigned long timer = 0; byte LEDState = 0; void setup() { // Bring up the OpenBCI Board board.begin(); timer = millis(); LEDState = 1; digitalWrite(OPENBCI_PIN_LED,HIGH); } void loop() { // Downsample...
Test for photoresistor on sensor board made in class.
#define LED P1_3 #define Sensor P1_4 float reading; void setup() { // put your setup code here, to run once: Serial.begin(9600); pinMode(LED, OUTPUT); pinMode(Sensor, INPUT); } void loop() { // put your main code here, to run repeatedly: // Turn on LED digitalWrite(LED, HIGH); // Read senso...
Test of new simple functions in L9110 library
// Test L9110 library #include <L9110.h> L9110 L9110; // setup pin for LiPo monitor int LiPoMonitor = 2; void setup() { pinMode(LiPoMonitor, INPUT); } void loop() { if (digitalRead(LiPoMonitor) == LOW) { L9110.forward(); delay(3000); L9110.fullStop(); delay(500); L9110.reverse(); del...
Add an example for Arduino Micro (Atmega32u4)
/* Example sketch for the PCF8574 for the purposes of showing how to use the interrupt-pin. Attach the positive lead of an LED to PIN7 on the PCF8574 and the negative lead to GND, a wire from Arduino-pin 13 to pin 3 on the PCF8474, a wire from the int-pin on the PCF8574 to Arduino-pin 7 and wires for SDA ...
Add low speed serial transmitter example
void setup() { pinMode(LED_BUILTIN, OUTPUT); SerialUSB.begin(2000000); } void loop() { static int counter = 0; SerialUSB.println(counter, DEC); counter = (counter + 1) % (1 << 8); digitalWrite(LED_BUILTIN, counter >> 7 ? HIGH : LOW); delay(20); }
Add On Chip Calibration example
#include<CS5490.h> #define rx 11 #define tx 12 /* Choose your board */ /* Arduino UNO and ESP8622 */ CS5490 line(MCLK_default,rx,tx); /* ESP and MEGA (Uses Serial2)*/ //CS5490 line(MCLK_default); void setup() { //Initializing communication with CS5490 //600 is the default baud rate velocity. line.begin(60...
Document how to use the Bintray repo
This is a small Java library for parsing the Cloud Foundry environment variables (VCAP_SERVICES and so on). // the first line of this file is used as a description in the POM, so keep it short and sweet! Download from Bintray: image::https://api.bintray.com/packages/pivotal-labs-london/maven/cf-env/images/download.s...
This is a small Java library for parsing the Cloud Foundry environment variables (VCAP_SERVICES and so on). // the first line of this file is used as a description in the POM, so keep it short and sweet! Download from Bintray: image::https://api.bintray.com/packages/pivotal-labs-london/maven/cf-env/images/download.s...
Undo include change in readme.
= Auxly image:http://img.shields.io/:license-mit-blue.svg["License", link="https://github.com/jeffrimko/Qprompt/blob/master/LICENSE"] image:https://travis-ci.org/jeffrimko/Auxly.svg?branch=master["Build Status"] == Introduction This project provides a Python 2.7/3.x library for common tasks especially when writing sh...
= Auxly image:http://img.shields.io/:license-mit-blue.svg["License", link="https://github.com/jeffrimko/Qprompt/blob/master/LICENSE"] image:https://travis-ci.org/jeffrimko/Auxly.svg?branch=master["Build Status"] == Introduction This project provides a Python 2.7/3.x library for common tasks especially when writing sh...
Fix spec.template.metadata.annotations for min and max scale example
// Module included in the following assemblies: // // * serverless/configuring-knative-serving-autoscaling.adoc [id="configuring-scale-bounds-knative_{context}"] = Configuring scale bounds Knative Serving autoscaling The `minScale` and `maxScale` annotations can be used to configure the minimum and maximum number of ...
// Module included in the following assemblies: // // * serverless/configuring-knative-serving-autoscaling.adoc [id="configuring-scale-bounds-knative_{context}"] = Configuring scale bounds Knative Serving autoscaling The `minScale` and `maxScale` annotations can be used to configure the minimum and maximum number of ...
Use master version in docs
= Packetbeat reference :libbeat: http://www.elastic.co/guide/en/beats/libbeat/1.0.0-rc1 :version: 1.0.0-rc1 include::./overview.asciidoc[] include::./gettingstarted.asciidoc[] include::./configuration.asciidoc[] include::./command-line.asciidoc[] include::./capturing.asciidoc[] include::./https.asciidoc[] includ...
= Packetbeat reference :libbeat: http://www.elastic.co/guide/en/beats/libbeat/master :version: master include::./overview.asciidoc[] include::./gettingstarted.asciidoc[] include::./configuration.asciidoc[] include::./command-line.asciidoc[] include::./capturing.asciidoc[] include::./https.asciidoc[] include::./f...
Update docs link to point to docs repo
= AsciiBinder image:https://badge.fury.io/rb/ascii_binder.svg["Gem Version", link="https://badge.fury.io/rb/ascii_binder"] AsciiBinder is an AsciiDoc-based system for authoring and publishing closely related documentation sets from a single source. == Learn More * See the http://www.asciibinder.org[homepage]. * Hav...
= AsciiBinder image:https://badge.fury.io/rb/ascii_binder.svg["Gem Version", link="https://badge.fury.io/rb/ascii_binder"] AsciiBinder is an AsciiDoc-based system for authoring and publishing closely related documentation sets from a single source. == Learn More * Have a gander at the https://github.com/redhatacces...
Update documentation for NPM support
:figure-caption!: image::https://travis-ci.org/mmjmanders/ng-iban.svg?branch=master[title="travis status", alt="travis status", link="https://travis-ci.org/mmjmanders/ng-iban"] image::https://app.wercker.com/status/eb4337041c62e162c5dd7af43122647c/m[title="wercker status", alt="wercker status", link="https://app.werc...
:figure-caption!: image::https://travis-ci.org/mmjmanders/ng-iban.svg?branch=master[title="travis status", alt="travis status", link="https://travis-ci.org/mmjmanders/ng-iban"] image::https://app.wercker.com/status/eb4337041c62e162c5dd7af43122647c/m[title="wercker status", alt="wercker status", link="https://app.werc...
Revert "Revert "Revert "Revert "Test trigger on push""""
= Infinispan Cluster Manager image:https://vertx.ci.cloudbees.com/buildStatus/icon?job=vert.x3-infinispan["Build Status",link="https://vertx.ci.cloudbees.com/view/vert.x-3/job/vert.x3-infinispan/"] This is a cluster manager implementation for Vert.x that uses http://infinispan.org[Infinispan]. Please see the in-sour...
= Infinispan Cluster Manager image:https://vertx.ci.cloudbees.com/buildStatus/icon?job=vert.x3-infinispan["Build Status",link="https://vertx.ci.cloudbees.com/view/vert.x-3/job/vert.x3-infinispan/"] This is a cluster manager implementation for Vert.x that uses http://infinispan.org[Infinispan]. Please see the in-sour...
Update the links to the forum
[[validator-further-reading]] == Further reading Last but not least, a few pointers to further information. A great source for examples is the Bean Validation TCK which is available for anonymous access on https://github.com/beanvalidation/beanvalidation-tck/[GitHub]. In particular the TCK's https://github.com/beanva...
[[validator-further-reading]] == Further reading Last but not least, a few pointers to further information. A great source for examples is the Bean Validation TCK which is available for anonymous access on https://github.com/beanvalidation/beanvalidation-tck/[GitHub]. In particular the TCK's https://github.com/beanva...
Remove reference to deleted scripts.
== Introduction to Regression Test Mode Bitcoin 0.9 and later include support for Regression Test Mode (aka RegTest mode). RegTest mode creates a single node Bitcoin "network" that can confirm blocks upon command. (RegTest mode can also be used to create small, multi-node networks and even to simulate blockchain reor...
== Introduction to Regression Test Mode Bitcoin 0.9 and later include support for Regression Test Mode (aka RegTest mode). RegTest mode creates a single node Bitcoin "network" that can confirm blocks upon command. (RegTest mode can also be used to create small, multi-node networks and even to simulate blockchain reor...
Add license information to docs clarifying build scan plugin license
// Copyright 2017 the original author or authors. // // 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...
// Copyright 2017 the original author or authors. // // 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...
Remove the deprecated etcd section
[id='monitoring'] = Monitoring include::modules/common-attributes.adoc[] :context: monitoring toc::[] {product-title} uses the Prometheus open source monitoring system. The stack built around Prometheus provides {product-title} cluster monitoring by default. It also provides custom-configured application monitoring a...
[id='monitoring'] = Monitoring include::modules/common-attributes.adoc[] :context: monitoring toc::[] {product-title} uses the Prometheus open source monitoring system. The stack built around Prometheus provides {product-title} cluster monitoring by default. It also provides custom-configured application monitoring a...
Fix url to odo linux binary
// Module included in the following assemblies: // // * cli_reference/openshift_developer_cli/installing-odo.adoc [id="installing-odo-on-linux"] = Installing {odo-title} on Linux == Binary installation ---- # curl -L https://mirror.openshift.com/pub/openshift-v4/clients/odo/latest/odo-darwin-amd64 -o /usr/loca...
// Module included in the following assemblies: // // * cli_reference/openshift_developer_cli/installing-odo.adoc [id="installing-odo-on-linux"] = Installing {odo-title} on Linux == Binary installation ---- # curl -L https://mirror.openshift.com/pub/openshift-v4/clients/odo/latest/odo-linux-amd64 -o /usr/local...
Add arc 42 Architecture Constraints
ifdef::env-github[] :imagesdir: https://github.com/Moose2Model/Moose2Model/blob/master/Documentation/images/ endif::[] :toc: :toc-placement!: toc::[] This documentation follows the arc42 template for architecture documentation (https://arc42.org/). 1 Introduction and Goals ======================== 1.1 Requirements ...
ifdef::env-github[] :imagesdir: https://github.com/Moose2Model/Moose2Model/blob/master/Documentation/images/ endif::[] :toc: :toc-placement!: toc::[] This documentation follows the arc42 template for architecture documentation (https://arc42.org/). 1 Introduction and Goals ======================== 1.1 Requirements ...
Split optaplanner's dev list away from drools's mailing list
= Forum (free support) :awestruct-layout: base :showtitle: == Usage questions If you have a question about OptaPlanner, just ask our friendly community: * Ask on http://www.jboss.org/drools/lists[the Drools user mailing list] (recommended). * Or ask on http://stackoverflow.com/questions/tagged/optaplanner[StackOver...
= Forum :awestruct-layout: base :showtitle: == Usage questions If you have a question about OptaPlanner, just ask our friendly community: * *http://stackoverflow.com/questions/tagged/optaplanner[Ask a usage question on StackOverflow.]* * To start a discussion, use https://groups.google.com/forum/#!forum/optaplanner...
Fix APIM version to 3.13
[[apim-kubernetes-overview]] = Kubernetes plugin :page-sidebar: apim_3_x_sidebar :page-permalink: apim/3.x/apim_kubernetes_overview.html :page-folder: apim/kubernetes :page-layout: apim3x :page-liquid: [label label-version]#New in version 3.7# == Overview APIM 3.7.0 introduces a Kubernetes plugin for APIM Gateway al...
[[apim-kubernetes-overview]] = Kubernetes plugin :page-sidebar: apim_3_x_sidebar :page-permalink: apim/3.x/apim_kubernetes_overview.html :page-folder: apim/kubernetes :page-layout: apim3x :page-liquid: [label label-version]#New in version 3.13# == Overview APIM 3.13 introduces a Kubernetes plugin for APIM Gateway al...
Order release notes from newest to oldest
[[release-notes]] == Release Notes :numbered!: include::release-notes-5.0.0-ALPHA.adoc[] include::release-notes-5.0.0-M1.adoc[] include::release-notes-5.0.0-M2.adoc[] include::release-notes-5.0.0-M3.adoc[] include::release-notes-5.0.0-M4.adoc[] include::release-notes-5.0.0-M5.adoc[] include::release-notes-5.0.0...
[[release-notes]] == Release Notes :numbered!: include::release-notes-5.1.0-M1.adoc[] include::release-notes-5.0.0.adoc[] include::release-notes-5.0.0-RC3.adoc[] include::release-notes-5.0.0-RC2.adoc[] include::release-notes-5.0.0-RC1.adoc[] include::release-notes-5.0.0-M6.adoc[] include::release-notes-5.0.0-M5...
Add travis badge + fix coverage badge
== Fusioninventory Plugin https://coveralls.io/r/fusioninventory/fusioninventory-for-glpi[image:https://coveralls.io/repos/fusioninventory/fusioninventory-for-glpi/badge.svg] This plugin makes GLPI to process various types of tasks for Fusioninventory agents: * Computer inventory * Network discovery * Network (SNMP)...
== Fusioninventory Plugin image:https://travis-ci.org/fusioninventory/fusioninventory-for-glpi.svg?branch=master["Build Status", link="https://travis-ci.org/fusioninventory/fusioninventory-for-glpi"] image:https://coveralls.io/repos/fusioninventory/fusioninventory-for-glpi/badge.svg["Coverage Status", link="https://co...
Add travis badge + fix coverage badge
== Fusioninventory Plugin https://coveralls.io/r/fusioninventory/fusioninventory-for-glpi[image:https://coveralls.io/repos/fusioninventory/fusioninventory-for-glpi/badge.svg] This plugin makes GLPI to process various types of tasks for Fusioninventory agents: * Computer inventory * Network discovery * Network (SNMP)...
== Fusioninventory Plugin image:https://travis-ci.org/fusioninventory/fusioninventory-for-glpi.svg?branch=master["Build Status", link="https://travis-ci.org/fusioninventory/fusioninventory-for-glpi"] image:https://coveralls.io/repos/fusioninventory/fusioninventory-for-glpi/badge.svg["Coverage Status", link="https://co...
Update readme with Wiki reference.
= Hawkular Android Client This repository contains the source code for the Hawkular Android application. == License * http://www.apache.org/licenses/LICENSE-2.0.html[Apache Version 2.0] == Building ifdef::env-github[] [link=https://travis-ci.org/hawkular/hawkular-android-client] image:https://travis-ci.org/hawkula...
= Hawkular Android Client This repository contains the source code for the Hawkular Android application. == License * http://www.apache.org/licenses/LICENSE-2.0.html[Apache Version 2.0] == Building ifdef::env-github[] [link=https://travis-ci.org/hawkular/hawkular-android-client] image:https://travis-ci.org/hawkula...
Adjust readme to Spring Boot 2.1
= Spring Boot and Two DataSources This project demonstrates how to use two `DataSource` s with Spring Boot 2.0. 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] migrations for the...
= Spring Boot and Two DataSources This project demonstrates how to use two `DataSource` s with Spring Boot 2.1. 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] migrations for the...
Add reference to classloader issue and workaround
= Snoop - A Discovery Service for Java EE Snoop is an experimental registration and discovery service for Java EE based microservices. == Getting Started . Start the link:snoop-service.adoc[Snoop Service] . link:service-registration.adoc[Service Registration] . link:service-discovery.adoc[Service Discovery] == Mave...
= Snoop - A Discovery Service for Java EE Snoop is an experimental registration and discovery service for Java EE based microservices. == Getting Started . Start the link:snoop-service.adoc[Snoop Service] . link:service-registration.adoc[Service Registration] . link:service-discovery.adoc[Service Discovery] == Mave...
Revert "Add spring-boot link in doc"
= CLI Connector Component :doctitle: CLI Connector :shortname: cli-connector :artifactid: camel-cli-connector :description: Runtime adapter connecting with Camel CLI :since: 3.19 :supportlevel: Preview //Manually maintained attributes :camel-spring-boot-name: cli-connector *Since Camel {since}* The camel-cli-connecto...
= CLI Connector Component :doctitle: CLI Connector :shortname: cli-connector :artifactid: camel-cli-connector :description: Runtime adapter connecting with Camel CLI :since: 3.19 :supportlevel: Preview *Since Camel {since}* The camel-cli-connector allows the Camel CLI to be able to manage running Camel integrations. ...
Edit to OLM webhook workflow
[id="olm-webhooks"] = Managing admission webhooks in Operator Lifecycle Manager include::modules/common-attributes.adoc[] :context: olm-webhooks toc::[] Validating and mutating admission webhooks allow Operator authors to intercept, modify, and accept or reject resources before they are handled by the Operator contro...
[id="olm-webhooks"] = Managing admission webhooks in Operator Lifecycle Manager include::modules/common-attributes.adoc[] :context: olm-webhooks toc::[] Validating and mutating admission webhooks allow Operator authors to intercept, modify, and accept or reject resources before they are saved to the object store and ...
Fix version order for breaking changes docs
[[breaking-changes]] = Breaking changes [partintro] -- This section discusses the changes that you need to be aware of when migrating your application from one version of Elasticsearch to another. As a general rule: * Migration between major versions -- e.g. `1.x` to `2.x` -- requires a <<restart-upgrade,full clus...
[[breaking-changes]] = Breaking changes [partintro] -- This section discusses the changes that you need to be aware of when migrating your application from one version of Elasticsearch to another. As a general rule: * Migration between major versions -- e.g. `1.x` to `2.x` -- requires a <<restart-upgrade,full clus...
Remove Why Edge? link from preamble
= Edge Documentation Edge is a starting point for creating Clojure projects. Not sure if Edge is for you? See <<why-edge.adoc#,Why Edge?>>. == Get Started Are you new to Edge? This is the place to start! . link:https://clojure.org/guides/getting_started[Install clj] (<<windows.adoc#,Additional notes for installing ...
= Edge Documentation Edge is a starting point for creating Clojure projects of all sizes. == Get Started Are you new to Edge? This is the place to start! . link:https://clojure.org/guides/getting_started[Install clj] (<<windows.adoc#,Additional notes for installing on Windows>>) . <<editor.adoc#,Set up your editor ...
Apply Spotless to User Guide
[[overview]] == Overview The goal of this document is to provide comprehensive reference documentation for both programmers writing tests and extension authors. WARNING: Work in progress! === Supported Java Versions JUnit 5 only supports Java 8 and above. However, you can still test classes compiled with lower ver...
[[overview]] == Overview The goal of this document is to provide comprehensive reference documentation for both programmers writing tests and extension authors. WARNING: Work in progress! === Supported Java Versions JUnit 5 only supports Java 8 and above. However, you can still test classes compiled with lower ver...
Use 'Main'-Label instead of type-attribute.
[[structure:Default]] [role=group,includesConstraints="structure:packagesShouldConformToTheMainBuildingBlocks"] All the blackboxes above should correspond to Java packages. Those packages should have no dependencies to other packages outside themselves but for the support or shared package: [[structure:packagesShould...
[[structure:Default]] [role=group,includesConstraints="structure:packagesShouldConformToTheMainBuildingBlocks"] All the blackboxes above should correspond to Java packages. Those packages should have no dependencies to other packages outside themselves but for the support or shared package: [[structure:packagesShould...
Clean up 5.5 M2 release notes
[[release-notes-5.5.0-M2]] == 5.5.0-M2️ *Date of Release:* ❓ *Scope:* ❓ For a complete list of all _closed_ issues and pull requests for this release, consult the link:{junit5-repo}+/milestone/37?closed=1+[5.5 M2] milestone page in the JUnit repository on GitHub. [[release-notes-5.5.0-M2-junit-platform]] === JUnit...
[[release-notes-5.5.0-M2]] == 5.5.0-M2️ *Date of Release:* ❓ *Scope:* ❓ For a complete list of all _closed_ issues and pull requests for this release, consult the link:{junit5-repo}+/milestone/37?closed=1+[5.5 M2] milestone page in the JUnit repository on GitHub. [[release-notes-5.5.0-M2-junit-platform]] === JUnit...
Fix typo in sample json
[[analysis-keyword-marker-tokenfilter]] === Keyword Marker Token Filter Protects words from being modified by stemmers. Must be placed before any stemming filters. [cols="<,<",options="header",] |======================================================================= |Setting |Description |`keywords` |A list of words...
[[analysis-keyword-marker-tokenfilter]] === Keyword Marker Token Filter Protects words from being modified by stemmers. Must be placed before any stemming filters. [cols="<,<",options="header",] |======================================================================= |Setting |Description |`keywords` |A list of words...
Add myself to the authors file
= Authors and contributors - Simon Cruanes (`companion_cube`) - Drup (Gabriel Radanne) - Jacques-Pascal Deplaix - Nicolas Braud-Santoni - Whitequark (Peter Zotov) - hcarty (Hezekiah M. Carty) - struktured (Carmelo Piccione) - Bernardo da Costa - Vincent Bernardoff (vbmithr) - Emmanuel Surleau (emm) - Guillaume Bury (g...
= Authors and contributors - Simon Cruanes (`companion_cube`) - Drup (Gabriel Radanne) - Jacques-Pascal Deplaix - Nicolas Braud-Santoni - Whitequark (Peter Zotov) - hcarty (Hezekiah M. Carty) - struktured (Carmelo Piccione) - Bernardo da Costa - Vincent Bernardoff (vbmithr) - Emmanuel Surleau (emm) - Guillaume Bury (g...
Add images directory attribute to devguide
= OmniJ Developer's Guide Sean Gilligan v0.1, July 30, 2015: Early draft :numbered: :toc: :toclevels: 3 :linkattrs: Paragraph TBD. == Introduction to OmniJ This section is TBD. For now the project http://github.com/OmniLayer/OmniJ/README.adoc[README] is the best place to get started. == JSON-RPC Clients [plantuml,...
= OmniJ Developer's Guide Sean Gilligan v0.1, July 30, 2015: Early draft :numbered: :toc: :toclevels: 3 :linkattrs: :imagesdir: images Paragraph TBD. == Introduction to OmniJ This section is TBD. For now the project http://github.com/OmniLayer/OmniJ/README.adoc[README] is the best place to get started. == JSON-RPC ...
Update documentation to current interface on cloud.rh.c
// Module included in the following assemblies: // // administering_a_cluster/dedicated-admin-role.adoc [id="dedicated-managing-dedicated-administrators_{context}"] = Managing {product-title} administrators Administrator roles are managed using a `dedicated-admins` group on the cluster. Existing members of this grou...
// Module included in the following assemblies: // // administering_a_cluster/dedicated-admin-role.adoc [id="dedicated-managing-dedicated-administrators_{context}"] = Managing {product-title} administrators Administrator roles are managed using a `dedicated-admins` group on the cluster. Existing members of this grou...
Set date for breaking Relx 4 change
2020/06/18: Concuerror integration has been added. It is currently minimal but usable. Experimentation and feedback is welcome. 2020/11/30: Support for publishing Hex releases and docs has been added. It is currently experimental. Feedback is more than welcome. 2022/03/...
2020/06/18: Concuerror integration has been added. It is currently minimal but usable. Experimentation and feedback is welcome. 2020/11/30: Support for publishing Hex releases and docs has been added. It is currently experimental. Feedback is more than welcome. 2022/03/...
Add offset examples to Zones
== Time Zones & Offset Extract a zone from a `java.time.ZonedDateTime`: ==== [source.code,clojure] ---- (t/zone (t/zoned-date-time "2000-01-01T00:00:00Z[Europe/Paris]")) ---- [source.code,clojure] ---- (t/zone) ---- ==== Create a `java.time.ZonedDateTime` in a particular time zone: ==== [source.code,clojure] ---- ...
== Time Zones & Offset Extract a zone from a `java.time.ZonedDateTime`: ==== [source.code,clojure] ---- (t/zone (t/zoned-date-time "2000-01-01T00:00:00Z[Europe/Paris]")) ---- [source.code,clojure] ---- (t/zone) ---- ==== Create a `java.time.ZonedDateTime` in a particular time zone: ==== [source.code,clojure] ---- ...
Add title image to pdf
= geo-shell Jared Erickson v0.7-SNAPSHOT ifndef::imagesdir[:imagesdir: images] include::intro.adoc[] include::workspace.adoc[] include::layer.adoc[] include::format.adoc[] include::raster.adoc[] include::tile.adoc[] include::style.adoc[] include::map.adoc[] include::builtin.adoc[]
= Geo Shell Jared Erickson v0.7-SNAPSHOT :title-logo-image: image:geoshell.png[pdfwidth=5.5in,align=center] ifndef::imagesdir[:imagesdir: images] include::intro.adoc[] include::workspace.adoc[] include::layer.adoc[] include::format.adoc[] include::raster.adoc[] include::tile.adoc[] include::style.adoc[] include...
Add generated data type definitions to Swagger documentation
:generated: ../../../target/generated-docs/asciidoc include::{generated}/overview.adoc[] include::manual_rest_doc.adoc[] include::{generated}/paths.adoc[]
:generated: ../../../target/generated-docs/asciidoc include::{generated}/overview.adoc[] include::manual_rest_doc.adoc[] include::{generated}/paths.adoc[] include::{generated}/definitions.adoc[]
Remove note about app starting up
= Spring Boot and Two DataSources This project demonstrates how to use two `DataSource` s with Spring Boot 2.1. It utilizes: * Spring Data https://github.com/spring-projects/spring-data-jpa[JPA] * https://github.com/flyway/flyway[Flyway] migrations for the two `DataSource` s * Separate Hibernate properties for each...
= Spring Boot and Two DataSources This project demonstrates how to use two `DataSource` s with Spring Boot 2.1. It utilizes: * Spring Data https://github.com/spring-projects/spring-data-jpa[JPA] * https://github.com/flyway/flyway[Flyway] migrations for the two `DataSource` s * Separate Hibernate properties for each...
Add how to use asciidoctor plugin in dev
[[development]] == Development Github repository: {datasource-proxy} === Build Documentation ```sh > ./mvnw asciidoctor:process-asciidoc@output-html ```
[[development]] == Development Github repository: {datasource-proxy} === Build Documentation Generate `index.html` ```sh > ./mvnw asciidoctor:process-asciidoc@output-html ``` Http preview ```sh > ./mvnw asciidoctor:http@output-html ```
Revert "Revert "Revert "Test trigger on push"""
= Infinispan Cluster Manager image:https://vertx.ci.cloudbees.com/buildStatus/icon?job=vert.x3-infinispan["Build Status",link="https://vertx.ci.cloudbees.com/view/vert.x-3/job/vert.x3-infinispan/"] This is a cluster manager implementation for Vert.x that uses http://infinispan.org[Infinispan]. Please see the in-sour...
= Infinispan Cluster Manager image:https://vertx.ci.cloudbees.com/buildStatus/icon?job=vert.x3-infinispan["Build Status",link="https://vertx.ci.cloudbees.com/view/vert.x-3/job/vert.x3-infinispan/"] This is a cluster manager implementation for Vert.x that uses http://infinispan.org[Infinispan]. Please see the in-sour...
Replace "the next" with "the following"
The next transformations can be applied to any class to simplify greatly the development of Multi-Tenant applications. These include: - `@CurrentTenant` - Resolve the current tenant for the context of a class or method - `@Tenant` - Use a specific tenant for the context of a class or method - `@WithoutTenant` - Execut...
The following transformations can be applied to any class to simplify greatly the development of Multi-Tenant applications. These include: - `@CurrentTenant` - Resolve the current tenant for the context of a class or method - `@Tenant` - Use a specific tenant for the context of a class or method - `@WithoutTenant` - E...
Add apachebeat to the list of beats from opensource
[[community-beats]] == Community Beats The open source community has been hard at work developing new Beats. You can check out a few of them here: [horizontal] https://github.com/Ingensi/dockerbeat[dockerbeat]:: Reads docker container statistics and indexes them in Elasticsearch https://github.com/christiangalsterer/...
[[community-beats]] == Community Beats The open source community has been hard at work developing new Beats. You can check out a few of them here: [horizontal] https://github.com/Ingensi/dockerbeat[dockerbeat]:: Reads docker container statistics and indexes them in Elasticsearch https://github.com/christiangalsterer/...
Add section on breadcrumbs endpoint
= RESTful API Endpoint specification == Nodes === Idea for accessing fields directly * RUD: /nodes/:uuid/relatedProducts/:uuid -> Pageable list of nodes * R: /nodes/:uuid/name TODO: Do we want to restrict the primitiv types to read only? The user can update the node via PUT /nodes/:uuid anyway. == Webroot == Tag...
= RESTful API Endpoint specification == Nodes === Idea for accessing fields directly * RUD: /nodes/:uuid/relatedProducts/:uuid -> Pageable list of nodes * R: /nodes/:uuid/name TODO: Do we want to restrict the primitiv types to read only? The user can update the node via PUT /nodes/:uuid anyway. == Breadcrumbs `/b...
Add note to add keys for dokku
= conoha/dokku-apps .Add pytohn-getting-started app ---- alias dokku="ssh -t dokku@conoha" cd python-getting-started dokku apps:create python-getting-started git remote add dokku dokku@conoha:python-getting-started git push dokku master ---- And this app can be available at http://python-getting-started.d.10sr.f5....
= conoha/dokku-apps First you have to run: ---- cat .ssh/id_rsa.pub | ssh conoha 'sudo sshcommand acl-add dokku dokkudeploy' ---- .Add pytohn-getting-started app ---- alias dokku="ssh -t dokku@conoha" cd python-getting-started dokku apps:create python-getting-started git remote add dokku dokku@conoha:python-gett...
Update public Jenkins job URL
= Continuous integration :awestruct-description: Check if the latest nightly build passes all automated tests. :awestruct-layout: normalBase :showtitle: == OptaPlanner We use Jenkins for continuous integration. *Show https://hudson.jboss.org/hudson/job/optaplanner/[the public Jenkins job].* This is a mirror of a Red...
= Continuous integration :awestruct-description: Check if the latest nightly build passes all automated tests. :awestruct-layout: normalBase :showtitle: == OptaPlanner We use Jenkins for continuous integration. *Show https://jenkins-kieci.rhcloud.com/job/optaplanner/[the public Jenkins job].* This is a mirror of a R...