Skip to content

Instantly share code, notes, and snippets.

/* This file was generated by the Hex-Rays decompiler version 7.7.0.220118.
Copyright (c) 2007-2021 Hex-Rays <info@hex-rays.com>
Detected compiler: GNU C++
*/
#include <defs.h>
//-------------------------------------------------------------------------
@isublimity
isublimity / AL2HMIBridge.json
Created September 23, 2023 19:41
AL2HMIBridge parse SO
{
"AL2HMIBridge": {
"PrioritizingSortFilterProxyModel": {
"PrioritizingSortFilterProxyModel": "(AL2HMIBridge::PrioritizingSortFilterProxyModel *this, QObject *a2):AL2HMIBridge::PrioritizingSortFilterProxyModel",
"setPrioritizingValue": "(AL2HMIBridge::PrioritizingSortFilterProxyModel *this, const QVariant *a2):void",
"prioritizingValueChanged": "(QMetaObject *a1, void **a2):int",
"prioritizingValue": "(AL2HMIBridge::PrioritizingSortFilterProxyModel *this, int a2):AL2HMIBridge::PrioritizingSortFilterProxyModel",
"lessThan": "(AL2HMIBridge::PrioritizingSortFilterProxyModel *this, const QModelIndex *a2, const QModelIndex *a3):bool",
"metaObject": "(AL2HMIBridge::PrioritizingSortFilterProxyModel *this):void",
"qt_metacast": "(AL2HMIBridge::PrioritizingSortFilterProxyModel *this, const char *a2):AL2HMIBridge::PrioritizingSortFilterProxyModel",
@isublimity
isublimity / jparseuuid.lua
Created August 6, 2020 11:58
Nginx find in json deviceID for sharding
if ngx.req.get_method() ~= "POST" then
return
end
-- read request body
ngx.req.read_body()
local data = ngx.req.get_body_data()
-- regexp
if data then
local f = string.match(data,ngx.var.MATH_REGEXP)
if f then
0. clickhouse-server(StackTrace::StackTrace()+0x16) [0x29aae56]
1. clickhouse-server(DB::Exception::Exception(std::string const&, int)+0x1f) [0x1046ebf]
2. clickhouse-server(DB::ColumnVector<signed char>::filter(DB::PODArray<unsigned char, 4096ul, Allocator<false>, 15ul> const&, long) const+0x605) [0x2a270c5]
3. clickhouse-server(DB::MergeTreeBaseBlockInputStream::readFromPart()+0x3025) [0x2d66f05]
4. clickhouse-server(DB::MergeTreeBaseBlockInputStream::readImpl()+0xc2) [0x2d67b22]
5. clickhouse-server(DB::IProfilingBlockInputStream::read()+0x1e6) [0x235bc36]
6. clickhouse-server(DB::FilterBlockInputStream::readImpl()+0x224) [0x2bf6a64]
7. clickhouse-server(DB::IProfilingBlockInputStream::read()+0x1e6) [0x235bc36]
8. clickhouse-server(DB::ExpressionBlockInputStream::readImpl()+0x1a) [0x2c22e5a]
9. clickhouse-server(DB::IProfilingBlockInputStream::read()+0x1e6) [0x235bc36]
<pre>
<?php
function gen_uuid() {
return 'u'.mt_rand( 0,10000000000 );
}
$id=gen_uuid();
$id2=gen_uuid();