This file contains hidden or 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 stubs; | |
| import java.io.IOException; | |
| import org.apache.hadoop.conf.Configured; | |
| import org.apache.hadoop.conf.Configuration; | |
| import org.apache.hadoop.fs.Path; | |
| import org.apache.hadoop.util.Tool; | |
| import org.apache.hadoop.util.ToolRunner; | |
| import org.apache.hadoop.io.IntWritable; |
This file contains hidden or 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 stubs; | |
| import java.io.IOException; | |
| import org.apache.hadoop.conf.Configured; | |
| import org.apache.hadoop.conf.Configuration; | |
| import org.apache.hadoop.fs.Path; | |
| import org.apache.hadoop.util.Tool; | |
| import org.apache.hadoop.util.ToolRunner; | |
| import org.apache.hadoop.io.IntWritable; |
This file contains hidden or 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
| { | |
| "first_name": "Anura", | |
| "last_name": "de silva", | |
| "username": "anura1993", | |
| "email": "[email protected]", | |
| "password": "123", | |
| "street_address": "No 5B, Polwatta Road", | |
| "city": "Horana", | |
| "state": "WES", | |
| "zip_code": "12400", |
This file contains hidden or 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
| { | |
| "type": "error", | |
| "code": 500, | |
| "msg": "Your card has expired.", | |
| "body": { | |
| "raw": { | |
| "code": "expired_card", | |
| "doc_url": "https://stripe.com/docs/error-codes/expired-card", | |
| "message": "Your card has expired.", | |
| "param": "exp_month", |
This file contains hidden or 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
| { | |
| "type": "error", | |
| "code": 500, | |
| "msg": "An error occurred while processing your card. Try again in a little bit.", | |
| "body": { | |
| "raw": { | |
| "code": "processing_error", | |
| "doc_url": "https://stripe.com/docs/error-codes/processing-error", | |
| "message": "An error occurred while processing your card. Try again in a little bit.", | |
| "param": "", |
This file contains hidden or 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
| { | |
| "type": "error", | |
| "code": 500, | |
| "msg": "Your card's security code is incorrect.", | |
| "body": { | |
| "raw": { | |
| "code": "incorrect_cvc", | |
| "doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc", | |
| "message": "Your card's security code is incorrect.", | |
| "param": "cvc", |
This file contains hidden or 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
| { | |
| "type": "error", | |
| "code": 500, | |
| "msg": "Your card was declined.", | |
| "body": { | |
| "raw": { | |
| "code": "card_declined", | |
| "decline_code": "generic_decline", | |
| "doc_url": "https://stripe.com/docs/error-codes/card-declined", | |
| "message": "Your card was declined.", |
This file contains hidden or 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
| { | |
| "type": "error", | |
| "code": 500, | |
| "msg": "Your card's security code is incorrect.", | |
| "body": { | |
| "raw": { | |
| "code": "incorrect_cvc", | |
| "doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc", | |
| "message": "Your card's security code is incorrect.", | |
| "param": "cvc", |
This file contains hidden or 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
| @extends ('layout') | |
| @section('content') | |
| <style> | |
| /* | |
| ##Device = Desktops | |
| ##Screen = 1281px to higher resolution desktops | |
| */ |
This file contains hidden or 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
| #not_null_order_count | |
| select count(*) not_null_order_count, DATE_FORMAT(orders.created_at, "%Y-%m-%d") as order_date from `orders` inner join `order_items` on `order_items`.`order_id` = `orders`.`id` where exists (select * from `order_items` where `orders`.`id` = `order_items`.`order_id` and exists (select * from `articles` where `order_items`.`article_id` = `articles`.`id` and `manufacturer_id` = ?)) and `order_items`.`tariff_id` is not null and `orders`.`created_at` between ? and ? group by `order_date` order by `order_date` asc | |
| #null_order_count | |
| select count(*) null_order_count, DATE_FORMAT(orders.created_at, "%Y-%m-%d") as order_date from `orders` inner join `order_items` on `order_items`.`order_id` = `orders`.`id` where exists (select * from `order_items` where `orders`.`id` = `order_items`.`order_id` and exists (select * from `articles` where `order_items`.`article_id` = `articles`.`id` and `manufacturer_id` = ?)) and `order_items`.`tariff_id` is null and `orders`.`created_at` between ? and ? group by |