Skip to content

Instantly share code, notes, and snippets.

package Talk16T;
import java.io.BufferedReader;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.Socket;
public class Output extends Thread {
private Socket connectionSocket;
package Talk16T;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.Socket;
public class Input extends Thread {
private BufferedReader inFromClient;
private Socket connectionSocket;
2016-05-23T16:12:42.511208 #19578] INFO -- : Parameters: {"id"=>17510250, "merchant_id"=>14984, "order_id"=>"0522789711", "accepted"=>true, "type"=>"Payment", "text_on_statement"=>nil, "branding_id"=>nil, "variables"=>{}, "currency"=>"DKK", "state"=>"new", "metadata"=>{"type"=>"card", "origin"=>nil, "brand"=>"visa", "bin"=>"100000", "last4"=>"0008", "exp_month"=>12, "exp_year"=>2019, "country"=>"DNK", "is_3d_secure"=>false, "hash"=>"4615970e9d3a77a3a8651uj0DZwrkwADM5UBWOmrt6BHVWNGql7e", "number"=>nil, "customer_ip"=>"86.52.79.119", "customer_country"=>"DK", "fraud_suspected"=>false, "fraud_remarks"=>nil, "nin_number"=>nil, "nin_country_code"=>nil, "nin_gender"=>nil}, "link"=>{"url"=>"https://payment.quickpay.net/payments/26b2c0cac2448e64a4c3d82fd432b476d668494b55faa6b96d868362d78daaf1", "agreement_id"=>53548, "language"=>"en", "amount"=>3000, "continue_url"=>"http://frank.rentapart.dk/quickpay/callback", "cancel_url"=>"http://frank.rentapart.dk/apartments", "callback_url"=>nil, "payment_methods"=>nil, "aut
Parameters: {"id"=>17510250, "merchant_id"=>14984, "order_id"=>"0522789711", "accepted"=>true, "type"=>"Payment", "text_on_statement"=>nil, "branding_id"=>nil, "variables"=>{}, "currency"=>"DKK", "state"=>"new", "metadata"=>{"type"=>"card", "origin"=>nil, "brand"=>"visa", "bin"=>"100000", "last4"=>"0008", "exp_month"=>12, "exp_year"=>2019, "country"=>"DNK", "is_3d_secure"=>false, "hash"=>"4615970e9d3a77a3a8651uj0DZwrkwADM5UBWOmrt6BHVWNGql7e", "number"=>nil, "customer_ip"=>"86.52.79.119", "customer_country"=>"DK", "fraud_suspected"=>false, "fraud_remarks"=>nil, "nin_number"=>nil, "nin_country_code"=>nil, "nin_gender"=>nil}, "link"=>{"url"=>"https://payment.quickpay.net/payments/26b2c0cac2448e64a4c3d82fd432b476d668494b55faa6b96d868362d78daaf1", "agreement_id"=>53548, "language"=>"en", "amount"=>3000, "continue_url"=>"http://frank.rentapart.dk/quickpay/callback", "cancel_url"=>"http://frank.rentapart.dk/apartments", "callback_url"=>nil, "payment_methods"=>nil, "auto_fee"=>false, "auto_capture"=>nil, "branding_id
Parameters: {"id"=>17510250, "merchant_id"=>14984, "order_id"=>"0522789711", "accepted"=>true, "type"=>"Payment", "text_on_statement"=>nil, "branding_id"=>nil, "variables"=>{}, "currency"=>"DKK", "state"=>"new", "metadata"=>{"type"=>"card", "origin"=>nil, "brand"=>"visa", "bin"=>"100000", "last4"=>"0008", "exp_month"=>12, "exp_year"=>2019, "country"=>"DNK", "is_3d_secure"=>false, "hash"=>"4615970e9d3a77a3a8651uj0DZwrkwADM5UBWOmrt6BHVWNGql7e", "number"=>nil, "customer_ip"=>"86.52.79.119", "customer_country"=>"DK", "fraud_suspected"=>false, "fraud_remarks"=>nil, "nin_number"=>nil, "nin_country_code"=>nil, "nin_gender"=>nil}, "link"=>{"url"=>"https://payment.quickpay.net/payments/26b2c0cac2448e64a4c3d82fd432b476d668494b55faa6b96d868362d78daaf1", "agreement_id"=>53548, "language"=>"en", "amount"=>3000, "continue_url"=>"http://frank.rentapart.dk/quickpay/callback", "cancel_url"=>"http://frank.rentapart.dk/apartments", "callback_url"=>nil, "payment_methods"=>nil, "auto_fee"=>false, "auto_capture"=>nil, "branding_id
//= require jquery
//= require jquery_ujs
//= require jquery.ui.all
//= require filterrific/filterrific-jquery
//= require bootstrap-sprockets
//= require lightbox-bootstrap
//= require turbolinks
//= require underscore
//= require gmaps/google
//= require gmaps-auto-complete
@import "jquery-ui/*.css";
@import "bootstrap-sprockets";
@import "_bootstrap";
@import "lightbox-bootstrap";
.nav-justified > li > a, .nav-tabs.nav-justified > li > a {
color: black;
text-decoration: none;
}
<!DOCTYPE html>
<html>
<head>
<title>Titel</title>
<%= favicon_link_tag %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<!-- google maps -->
<script src="//maps.google.com/maps/api/js?v=3.18&sensor=false&client=&key=&libraries=geometry&language=&hl=&region="></script>
<script src="https://maps.googleapis.com/maps/api/jsvv=3.exp&sensor=false&libraries=places"></script>
<script src="//google-maps-utility-library-v3.googlecode.com/svn/tags/markerclustererplus/2.0.14/src/markerclusterer_packed.js"></script>
<!DOCTYPE html>
<html>
<head>
<title>Titel</title>
<%= favicon_link_tag %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<!-- google maps -->
<script src="//maps.google.com/maps/api/js?v=3.18&sensor=false&client=&key=&libraries=geometry&language=&hl=&region="></script>
<script src="https://maps.googleapis.com/maps/api/jsvv=3.exp&sensor=false&libraries=places"></script>
<script src="//google-maps-utility-library-v3.googlecode.com/svn/tags/markerclustererplus/2.0.14/src/markerclusterer_packed.js"></script>