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
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="POST"> | |
<input type="hidden" name="business" value="bookportal@bookportal.lk"><!--Your business account details--> | |
<input type="hidden" name="cmd" value="_xclick"> | |
<input type="hidden" name="item_name" value="Item name"><!--Buying item name--> | |
<input type="hidden" name="amount" value="item value"><!--Buying item value--> | |
<input type="hidden" name="currency_code" value="USD"> | |
<input type="hidden" name="return" value="http://localhost:8080/BookPortal/site/payment/paypalsuccess.jsp"><!--Where to return to after successful transaction--> | |
<input type="hidden" name="rm" value="2"> | |
<input type="hidden" name="cancel_return" value="http://localhost:8080/BookPortal/site/payment/paypalcancel.jsp"> <!--Where to return to after cancelling a transaction--> | |
<input type="image" name="submit" src="https://www.paypal.com/en_US/i/btn/btn_ |
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
(function () { | |
// display file information | |
function appendToResult(msg, result) { | |
var m = document.getElementById(result); | |
m.innerHTML = m.innerHTML + msg; | |
} | |
// get file information | |
function parseFile(file, resultpane) { |
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> | |
<meta charset="UTF-8"> | |
<title>D3 simple bar chart</title> | |
<script src="https://d3js.org/d3.v4.min.js"></script> | |
</head> | |
<body> |
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> | |
<meta charset="UTF-8"> | |
<title>Simple mapping tool</title> | |
<script src="assets/lib/jQuery/jquery-3.1.0.js"></script> | |
<script src="assets/lib/jquery-ui-1.12.0.custom/jquery-ui.js"></script> | |
<script src="assets/lib/jsPlumb/jsPlumb-2.1.5.js"></script> | |
<style> | |
h1 { |
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> | |
<meta charset="UTF-8"> | |
<title>D3 drawing and dragging</title> | |
<script src="https://d3js.org/d3.v4.min.js"></script> | |
<style> | |
.canvas{ | |
border:1px solid black; | |
} |
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> | |
<meta charset="UTF-8"> | |
<title>D3 mapper</title> | |
<script src="https://d3js.org/d3.v4.min.js"></script> | |
<style> | |
.canvas{ | |
border:1px solid black; |
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> | |
<meta charset="UTF-8"> | |
<title>Data Mapper tooling</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/4.2.6/d3.js"></script> | |
<style> | |
.container{ | |
border:1px solid #c9c9c9; |
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
package exchangerate; | |
import java.util.HashMap; | |
/** | |
* | |
* @author sachithra | |
*/ | |
public class CurrencyCalculator { |
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
{ | |
"request_parameter_supported": true, | |
"request_uri_parameter_supported": false, | |
"claims_parameter_supported": true, | |
"scopes_supported": ["openid", "accounts", "payments"], | |
"check_session_iframe": "https://10.100.8.13:9446/oidc/checksession", | |
"issuer": "https://10.100.8.13:8243/token", | |
"authorization_endpoint": "https://10.100.8.13:8243/authorize", | |
"claims_supported": ["zoneinfo", "picture", "postal_code", "street_address", "website", "groups", "address", "phone_number", "birthdate", "country", "preferred_username", "middle_name", "formatted", "updated_at", "email", "upn", "sub", "nickname", "given_name", "locality", "gender", "region", "family_name", "email_verified", "name", "profile", "locale", "phone_number_verified", "iss", "openbanking_intent_id"], | |
"userinfo_signing_alg_values_supported": ["RS256"], |
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
"function"!==typeof Object.create&&(Object.create=function(f){function g(){}g.prototype=f;return new g}); | |
(function(f,g,k){var l={init:function(a,b){this.$elem=f(b);this.options=f.extend({},f.fn.owlCarousel.options,this.$elem.data(),a);this.userOptions=a;this.loadContent()},loadContent:function(){function a(a){var d,e="";if("function"===typeof b.options.jsonSuccess)b.options.jsonSuccess.apply(this,[a]);else{for(d in a.owl)a.owl.hasOwnProperty(d)&&(e+=a.owl[d].item);b.$elem.html(e)}b.logIn()}var b=this,e;"function"===typeof b.options.beforeInit&&b.options.beforeInit.apply(this,[b.$elem]);"string"===typeof b.options.jsonPath? | |
(e=b.options.jsonPath,f.getJSON(e,a)):b.logIn()},logIn:function(){this.$elem.data("owl-originalStyles",this.$elem.attr("style"));this.$elem.data("owl-originalClasses",this.$elem.attr("class"));this.$elem.css({opacity:0});this.orignalItems=this.options.items;this.checkBrowser();this.wrapperWidth=0;this.checkVisible=null;this.setVars()},setVars:function(){if(0===this.$elem.children().length) |
OlderNewer