Skip to content

Instantly share code, notes, and snippets.

View chanakaDe's full-sized avatar
Amor vincit omnia.

Chanu De Silva chanakaDe

Amor vincit omnia.
View GitHub Profile
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;
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;
{
"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",
{
"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",
{
"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": "",
{
"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",
{
"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.",
{
"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",
@extends ('layout')
@section('content')
<style>
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
#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