Open your terminal.
In the root directory run the command:
sudo nano /etc/bluetooth/main.conf
| # www.fduran.com | |
| # Create Java KeyStore from SSL certificate for domain example.com | |
| # Change format from cert.crt PEM (----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----) to DER | |
| openssl x509 -in cert.crt -inform PEM -out cert.der -outform DER | |
| # create KeyStore cert.jks for your domain ("alias" in keytool, "common name" or CN in openssl req) | |
| keytool -import -trustcacerts -alias example.com -file cert.der -keystore cert.jks |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <beans xmlns="http://www.springframework.org/schema/beans" | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xmlns:spring="http://www.springframework.org/schema/beans" | |
| xmlns:cxf="http://cxf.apache.org/core" | |
| xsi:schemaLocation=" | |
| http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd | |
| http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd"> | |
| <cxf:bus> | |
| <cxf:features> |
| INFO 2017-11-15 09:25:46,189 [[cashbox-test].HTTP_Listener_Configuration.worker.01] org.apache.cxf.services.ProxyService.ProxyServicePort.ProxyServicePortType: Outbound Message | |
| --------------------------- | |
| ID: 1 | |
| Encoding: UTF-8 | |
| Content-Type: text/xml | |
| Headers: {SOAPAction=["http://soap.vindicia.com/v21_0/Account#fetchByEmail"]} | |
| Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns0:fetchByEmail xmlns:ns0="http://soap.vindicia.com/v21_0/Account"> | |
| <auth> | |
| <version>21.0</version> | |
| <login>xxxxx</login> |
| ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDX/HanLm3N4s4m7bf8I1EwZyPElc5UbudOoS6kqIoCWrDgwZjhabzCxHaAyj+UP3G6Bj2wOfhwfDOA/imVBqVbHFq+0rwpfo47Ur8jc07fW7jKPhi0hi4MabMR8P+rqdcgRuxeo1qIgL1mmczgQQPhrEUpJOXVxEjr4Ih+DoFswL7l0GQcLZMkqRjM7vlYqCwQMG3ef2/L51Z2GaeaSotmud9YU3HPnhhaZHphqcyHuVPvdcqNyLJ7WX+6N2sryWZ1iLTnP0N7nAec8NbDTlTO7Q19dlqYPjiIa5eiBt6aveBAbItaHUY7llNf7H/F2H1mNbnUfl5S/Rr/xkcAWbKj alex@alexs-MacBook-Pro.local |
| <catch-exception-strategy when="#[message.inboundProperties.'http.status' == 403]" doc:name="403"> | |
| <message-properties-transformer doc:name="Message Properties"> | |
| <add-message-property key="http.status" value="403"/> | |
| <add-message-property key="Content-Type" value="application/json"/> | |
| </message-properties-transformer> | |
| <choice doc:name="Choice"> | |
| <when expression="#[message.inboundProperties.'http.status' == 403]"> | |
| <dw:transform-message doc:name="Transform Message" metadata:id="fc8f73d9-01b7-46a5-bfca-891462b91778"> | |
| <dw:input-payload mimeType="application/json"/> |
| public string ExtractReply(string text, string address) | |
| { | |
| var regexes = new List<Regex>() { new Regex("From:\\s*" + Regex.Escape(address), RegexOptions.IgnoreCase), | |
| new Regex("<" + Regex.Escape(address) + ">", RegexOptions.IgnoreCase), | |
| new Regex(Regex.Escape(address) + "\\s+wrote:", RegexOptions.IgnoreCase), | |
| new Regex("\\n.*On.*(\\r\\n)?wrote:\\r\\n", RegexOptions.IgnoreCase | RegexOptions.Multiline), | |
| new Regex("-+original\\s+message-+\\s*$", RegexOptions.IgnoreCase), | |
| new Regex("from:\\s*$", RegexOptions.IgnoreCase), | |
| new Regex("^>.*$", RegexOptions.IgnoreCase | RegexOptions.Multiline) | |
| }; |
| user nginx; | |
| worker_processes 2; | |
| error_log /var/log/nginx/error.log; | |
| pid /var/run/nginx.pid; | |
| events { | |
| worker_connections 1024; | |
| } |
| import java.util.Scanner; | |
| public class Binary | |
| { | |
| public static String convertToBinary(int decnumber) | |
| { | |
| String binaryString = " "; | |
| if (decnumber > 0) | |
| { | |
| binaryString = Integer.toBinaryString(decnumber); |
| Use jenv is an easy way. | |
| 1.Install jenv | |
| curl -s get.jenv.io | bash | |
| 2.Config jenv | |
| cd ~/.jenv/candidates/ | |
| mkdir java | |
| cd java |