Skip to content

Instantly share code, notes, and snippets.

SELECT G.STORE_CODE,
G.BARCODE,
G.SKU,
CAMPAIGN,
VANILLA,
SELF_BUY,
NAME as name,
SEGMENT_NAME as segmentName,
HAS_IMEI as hasImei,
@mustafaguven
mustafaguven / gist:0f3e79f4852de7a93017ecb2364035b3
Created December 14, 2021 09:04
template karsilastirmalar
S921094
S072734
S066930-07
S373300
S245100
S324400-01
S074964
@mustafaguven
mustafaguven / gist:cfe800e53311fffc658b88ae6ee371ad
Created December 14, 2021 09:03
cursor her store u gez takipli icin summary ve serial number tablolarini karsilastir
DECLARE
HAS_ERROR INTEGER;
IMEI_NAME VARCHAR2(500);
IMEI_COUNT VARCHAR2(500);
SUMMARY_NAME VARCHAR2(500);
SUMMARY_COUNT VARCHAR2(500);
BEGIN
{
"status": 200,
"error": null,
"data": {
"content": [
{
"name": "Sword SES BOMBASI SW1210 LEMON BLACK ",
"categoryCode": "fcd5eb55-e640-435c-8299-c516a6c9e94a",
"brandCode": "b525e49e-0bf2-4d59-ba8f-6c8471dd4194",
"modelName": "SES BOMBASI SW1210 LEMON BLACK",
mvn clean spring-boot:run
# if the app is setup correctly the following should pull metrics compatible with prometheus
curl http://localhost:9080/actuator/prometheus
# to publish a message call
curl -XPOST -H "Content-Type: application/json" -d '{"text": "hello"}' http://localhost:9080/publish
# to publish in a loop
while true; do curl -XPOST -H "Content-Type: application/json" -d '{"text": "hello"}' http://localhost:9080/publish; sleep 1; done;
Localhost:8081/sync/?date=202005031000
{
“message”: null,
“status”: “1”,
“data”: {
“products” : [
ilk 10unu donuyosun
/*
* Copyright 2013 Andrew Neal
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
{"Success":200,
"Data":{
"date": "03.07.2014",
"city":"New York",
"User":{
"name": "03.07.2014",
"address":"New York"
}
}
}