This file contains 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
async function orderCompliesWithMML() { | |
let data = { | |
room_id: d.room_id, | |
person_id: d.person_id, | |
currency_id: ctrl.currency_id, | |
delivery_date: d.delivery_date, | |
ignore_balance: ctrl.ignore_balance, | |
price_type_id: priceTypeIds(), | |
payment_type_id: d.payment_type_id, |
This file contains 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
select t.Company_Id, | |
(select k.Name | |
from Md_Companies k | |
where k.Company_Id = t.Company_Id) Company_Name, | |
t.Assortment_Id, | |
(select k.Name | |
from Tmcg_Assortments k | |
where k.Company_Id = t.Company_Id | |
and k.Assortment_Id = t.Assortment_Id) Assortment_Name, | |
t.Product_Id, |
This file contains 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
with Input_Item_Amount as | |
(select case t.Coa_Id | |
when 101336 then | |
'M' | |
when 101356 then | |
'P' | |
when 101360 then | |
'G' | |
end Inventory_Kind, | |
k.Source_Id Manufacture_Id, |
This file contains 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
select count(*) | |
from (select distinct Product_Id | |
from Mfg_Manufacture_Outputs | |
union | |
select distinct Product_Id | |
from Mfg_Manufacture_Inputs); |
This file contains 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
with Input_Item_Amount as | |
(select case t.Coa_Id | |
when 101336 then | |
'M' | |
when 101356 then | |
'P' | |
when 101360 then | |
'G' | |
end Inventory_Kind, | |
k.Source_Id Manufacture_Id, |
This file contains 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
with Manufacture_Items as | |
(select 'I' Item_Kind, | |
Mi.Company_Id, | |
Mi.Input_Item_Id Item_Id, | |
Mi.Manufacture_Id, | |
Mi.Product_Id, | |
Mi.Inventory_Kind, | |
Mi.Quantity, | |
null Amount |
This file contains 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
#include <iostream> | |
#include <queue> | |
#include <fstream> | |
#define TIMESTAMP_A 2000 //milliseconds | |
#define TIMESTAMP_B 200 //milliseconds | |
#include <thread> | |
#include <mutex> | |
#include <map> |
This file contains 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
import threading | |
import time | |
var = 0 | |
mutex = threading.Lock() | |
def runner0(): | |
i = 0 | |
global var | |
while i < 1000000: |
This file contains 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
import threading | |
import time | |
var = 0 | |
def runner0(): | |
i = 0 | |
global var | |
while i < 1000000: |
This file contains 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 uz.akfa.qrscanner; | |
import androidx.appcompat.app.AppCompatActivity; | |
import androidx.core.app.ActivityCompat; | |
import android.Manifest; | |
import android.content.Context; | |
import android.content.pm.PackageManager; | |
import android.graphics.Camera; | |
import android.os.Bundle; |