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
public interface JKHServiceController { | |
UserJKH getUserInfo(final String login); | |
void registerNewUser(final UserJKH userJKH); | |
void login(final String login, final String password); | |
void pay(final String login, final String SMS); |
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"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><certificateNumber xmlns="https://allpay.kz">36</certificateNumber><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#WithComments"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>PVIv9uHD71ppV09xm8Fx6K45u1w=</DigestValue></Reference></SignedInfo><SignatureValue>f+GjHzmTmzjuzVQOxipfF5qlp8VHJx2U8bxI6YYryPEL3d9ly8NqQ1VC2heQvGIpInfb24TWcIM+ | |
lxKdWBW+nm3zRMfUjVIEQzMC6/KieeZJ0GPMxInRxArsx52uHV09IGCpMXHKyCnD9Qs+0y7E/sC0 | |
ciJPBEg+17VIMmrO3bQ=</SignatureValue></Signature></SOAP-ENV:Header><soap:Body><ns2:declineTransaction xmlns: |
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"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><certificateNumber xmlns="https://allpay.kz">36</certificateNumber><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#WithComments"/><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><DigestValue>gZtqv3E2cvxv3etns9T7IA1w7GQ=</DigestValue></Reference></SignedInfo><SignatureValue>SlTFKlMwhS8y7ibG8gvWzUX50fYU0Y/QbJXMwJ9wtRgYc/Kp0q302RxjTQLeDqrYowq2KPKWkkfg | |
X7jjOjfrZLleq6iLj58+DhArlj37eLY3NDmAMk6UZ2jfuEh+tmkgMqTQZ96XFzF6aMV201d8Tagi | |
eHI0iGEoDVd7zPQjbpc=</SignatureValue></Signature></SOAP-ENV:Header><soap:Body><ns2:completeTransaction xmlns |
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"?> | |
<WSReq:WebShopRequest xmlns:WSReq="http://allpay.kz/xsd/1.0.0/WebShopRequest.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://allpay.kz/xsd/1.0.0/WebShopRequest.xsd"> | |
<WSReq:ShopName>shop1</WSReq:ShopName> | |
<WSReq:InvoiceNumber>45622</WSReq:InvoiceNumber> | |
<WSReq:Merchant> | |
<WSReq:MerchantID>95989</WSReq:MerchantID> | |
<WSReq:WalletID>95989</WSReq:WalletID> | |
</WSReq:Merchant> | |
<WSReq:TotalCost>100.0</WSReq:TotalCost> | |
<WSReq:SuccessLink>http://127.0.0.1:8080/webshop-integration-rest/transactions.jsp</WSReq:SuccessLink> |
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
<%@ page contentType="text/html; charset=UTF-8" %> | |
<html> | |
<head> | |
<!-- Bootstrap core CSS --> | |
<%--<link href="css/bootstrap.min.css" rel="stylesheet">--%> | |
<!-- Latest compiled and minified CSS --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous"> | |
<!-- Material Design fonts --> | |
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:300,400,500,700" type="text/css"> |
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
private boolean checkAlertMethod(String method){ | |
return method.equals("Push Notifications") || method.equals("Email") || method.equals("SMS"); | |
} |
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
public class HelloWorld | |
{ | |
public static void main(String[] args) | |
{ | |
String a = "Hello"; | |
String b = "World"; | |
System.out.println(a == new String("Hello")); |
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
/** | |
* User: Sanzhar Aubakirov | |
* Date: 12/22/16 | |
*/ | |
public class Test { | |
public static void main(String[] args) { | |
Child c = new Child(); | |
c.A(); | |
} |
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'?> | |
<server xmlns="urn:jboss:domain:4.0"> | |
<extensions> | |
<extension module="org.jboss.as.clustering.infinispan"/> | |
<extension module="org.jboss.as.connector"/> | |
<extension module="org.jboss.as.deployment-scanner"/> | |
<extension module="org.jboss.as.ee"/> | |
<extension module="org.jboss.as.ejb3"/> |
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
public void extractTfidfVector() throws Exception { | |
final IndexReader indexReader = indexerMany.readIndex(); | |
final TFIDFSimilarity tfidfSIM = new DefaultSimilarity(); | |
final Map<String, Double> termToTFIDF = new HashMap<>(); | |
final Map<String, Integer> termToNumber = new HashMap<>(); | |
final Fields fields = MultiFields.getFields(indexReader); | |
final Terms bodyTerms = fields.terms("body"); | |
final TermsEnum iterator = bodyTerms.iterator(); | |
BytesRef term; | |
while ((term = iterator.next()) != null) { |