Questions tagged [raw]

204 questions
0
votes
1 answer

How do I send to an IP address with PF_PACKET?

I'm trying to learn how to program PACKET_MMAP based application so I can get performance gains. I want to start by learning how to send packets to a specified IP address. I've been learning by borrowing sections of code from …
James Read
  • 419
  • 2
  • 7
  • 13
0
votes
1 answer

The Order doesn't work when use Raw Query in GORM v2

It seems that Order API doesn't work on the raw query in v2, but the sort is ok when using SQL instead. The code below works differently in gorm v1 and v2. sql := getSql() params := getParams() rows, err :=…
0
votes
0 answers

How can I make a bayer image and become a debayer again? (demosaicing)

My goal is to blur the picture a bit using a bilinear debayer. This is to embody the dirty image of the VHS days. As a graphic major, I tried to reproduce it with various graphic tools, but did not get the desired quality result. I want that subtle…
moaiman
  • 1
  • 1
0
votes
1 answer

Nexus raw repository vs maven repository

What is the advantage of using the Maven repository over using the raw repository if they both have same purpose of storing a file? We can upload the .jar file to either of the repositories.
0
votes
0 answers

Django execute sql raw

I want to print the result by running a mssql query on any page in my postgresql project, how can I do it? for exam. SELECT TOP(11) * FROM dbo.UserObject WITH (NOLOCK) WHERE u_logon_name='cc@gmail.com' My default db setting is postgresql but I…
tcblue
  • 179
  • 3
  • 12
0
votes
1 answer

Oracle converting a function to a trigger

I have the following function, which works,that I would like to convert into a INSERT/UPDATE trigger for the column hash_pk. I'm struggling with syntax errors trying to convert this to a trigger. Could someone please help me out. Secondly, would…
Pugzly
  • 844
  • 3
  • 14
0
votes
1 answer

Oracle INSERTING into RAW with UTL_RAW.cast_to_raw

I ran into some code that was never implemented (see below). CREATE TABLE encryption_values ( NAME VARCHAR2(6), VALUE NVARCHAR2(100) ); / insert into encryption_values select 'key' name, rawtohex ( rpad…
Pugzly
  • 844
  • 3
  • 14
0
votes
0 answers

How can I download a CSV file from res/raw folder?

Suppose I have a sample.csv file in my project res/raw folder. Now in an activity, there is a button "Download CSV", when click this button then the CSV file is download to the user's external storage.
Tanveer Hasan
  • 247
  • 2
  • 9
0
votes
0 answers

insert or update raw datatype in oracle

I have a source database and I should insert or update some rows in another DB based on my source DB. My Problem is when updating or inserting raw datatypes, just half of row value comes in target DB. my raw part of code is: v_raw …
mona shiri
  • 57
  • 8
0
votes
2 answers

How to group sql table by considering data in the same column as per previous raw data

Actual start / end time columns are representing instruction start/end dates. But real instruction proceeds until both Min, Aim or Max changes. So, I need to group by the raws as per Min-Aim and Max group. I can't use directly them as group by,…
Yusuf Mert
  • 49
  • 1
  • 8
0
votes
1 answer

Has Android Camera2 Api Bayer mipi 10rggb raw image format support?

I am working on camera2 api update for my project where I used the camera library before. While using the camera library, I can take images in Jpeg and Raw (Bayer mipi 10rggb) formats, but currently I can only get images in Jpeg format. When I look…
Talha Ç
  • 74
  • 1
  • 8
0
votes
1 answer

Error while Loading varbinary data into oracle raw column

Create table temp(col raw(40)); Insert into temp values(0x02900000AB45GH38); Error: ORA-00917: missing comma
Mouni
  • 1
  • 3
0
votes
0 answers

What is the equivalent column for sql server uniqueidentifier datatype in oracle database?

I need to extract uniqueidentifier column data from sqlserver and load it into oracle database. I tried raw(16), but I am getting invalid parameter binding error.
Mouni
  • 1
  • 3
0
votes
0 answers

How can I transform a shellcode into raw bytes ? (Python)

I have a simple shellcode like this : buf =("\xfc\xe8\x8f\x00\x00\x00\x60\x31\xd2\x89\xe5\x64\x8b\x52\x30" "\x8b\x52\x0c\x8b\x52\x14\x0f\xb7\x4a\x26\x8b\x72\x28\x31\xff" "\x31\xc0\xac\x3c\x61\x7c\x02\x2c\x20\xc1\xcf\x0d\x01\xc7\x49").... And I want…
UVision
  • 11
  • 4
0
votes
1 answer

What is counterpart of raw.githubusercontent in gitlab?

How to view unprocessed versions of files? I want to use it for curl install script, but didn't find what counterpart is in gitlab.