View pairwise_max_product.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'bigdecimal' | |
# Input the number of numbers | |
n = readline | |
# Input the list of numbers | |
array_list = readline.split(' ') | |
# Initializing the variables | |
max1 = BigDecimal("0") | |
max2 = BigDecimal("0") | |
min1 = BigDecimal("0") |
View wsdl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/apps/scm/altItem/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" name="pdhsoap" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" targetNamespace="http://xmlns.oracle.com/apps/scm/altItem/"> | |
<wsdl:documentation xmlns:oer="http://xmlns.oracle.com/oer"> | |
<name>pdhsoap</name> | |
<description>Sample WSDL</description> | |
<oer:lifecycle>Active</oer:lifecycle> | |
<oer:operation name="check_altitem"> | |
<description>Sample Operation</description> | |
</oer:operation> | |
</wsdl:documentation> |
View UpdateTPIWithBlankEndDate.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<soapenv:Envelope | |
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" | |
xmlns:typ="http://xmlns.oracle.com/apps/scm/productModel/items/tradingPartnerItems/tradingPartnerItemServiceV2/types/" | |
xmlns:trad="http://xmlns.oracle.com/apps/scm/productModel/items/tradingPartnerItems/tradingPartnerItemServiceV2/" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<soapenv:Header/> | |
<soapenv:Body> | |
<typ:updateTradingPartnerItem> | |
<typ:tradingPartnerItem> | |
<trad:TradingPartnerItemId>300000063693002</trad:TradingPartnerItemId> |
View BLOG_XML_02062020.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 1. --> <trad:EndDate>NULL</trad:EndDate> | |
<!-- 2. --> <trad:EndDate>nil</trad:EndDate> | |
<!-- 3. --> <trad:EndDate></trad:EndDate> |
View UpdateTPIWithEndDate.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<soapenv:Envelope | |
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" | |
xmlns:typ="http://xmlns.oracle.com/apps/scm/productModel/items/tradingPartnerItems/tradingPartnerItemServiceV2/types/" | |
xmlns:trad="http://xmlns.oracle.com/apps/scm/productModel/items/tradingPartnerItems/tradingPartnerItemServiceV2/" > | |
<soapenv:Header/> | |
<soapenv:Body> | |
<typ:updateTradingPartnerItem> | |
<typ:tradingPartnerItem> | |
<trad:TradingPartnerItemId>300000063693002</trad:TradingPartnerItemId> | |
<trad:EndDate>2019-09-21</trad:EndDate> |
View todo.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<title>Sample To-Do</title> | |
<style type="text/css"> | |
section {margin: 0 auto;width: 100%;} | |
h3, h5, li {float: left;width:100%;} | |
ul {list-style: none;} | |
input[type=checkbox], p { float:left;margin: 0;} | |
</style> |
View fastled_arduino.ino
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <FastLED.h> | |
int led = 13; // Usually the orangle led is set at pin 13. | |
#define LED_PIN 6 // data pin to be connected to WS2812B | |
#define NUM_LEDS 60 | |
#define LED_TYPE WS2812B // make sure to choose the correct LED TYPE. | |
#define COLOR_ORDER GRB | |
#define BRIGHTNESS 200 |
View edq_script_proc.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
addLibrary("http"); | |
var output1; | |
var xmlHttp = new XMLHttpRequest(); | |
xmlHttp.open("GET", "http://demo7684243.mockable.io/curr_rates", false);// Here goes your web service URL | |
xmlHttp.send(); | |
var responseData = xmlHttp.responseText; | |
var dataJSON = JSON.parse(responseData); | |
var baseCurr = dataJSON["base"]; |
View sample_data_for_edq_proc.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"base":"EUR","rates":{"CAD":1.4469,"HKD":8.4742,"ISK":139.3,"PHP":55.538,"DKK":7.471,"HUF":339.28,"CZK":25.344,"AUD":1.6565,"RON":4.805,"SEK":10.5813,"IDR":15221.86,"INR":77.9195,"BRL":4.7741,"RUB":71.2368,"HRK":7.4605,"JPY":120.13,"THB":34.664,"CHF":1.0606,"SGD":1.5204,"PLN":4.3094,"BGN":1.9558,"TRY":6.6981,"CNY":7.6329,"NOK":10.2113,"NZD":1.7273,"ZAR":16.4555,"USD":1.0875,"MXN":20.806,"ILS":3.7429,"GBP":0.8415,"KRW":1322.29,"MYR":4.5952}} |
View sample_data_for_edq_proc.csvalues
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+--------+--------------+------------+-----------------+ | |
| Value | Convert From | Convert To | Converted Value | | |
+--------+--------------+------------+-----------------+ | |
| 100.14 | INR | USD | | | |
| 290.19 | INR | GBP | | | |
| 310.05 | INR | EUR | | | |
| 110.67 | INR | CAD | | | |
| 200 | EUR | EUR | | | |
| 10 | EUR | GBP | | | |
| 3 | EUR | INR | | |
NewerOlder