Questions tagged [raw]
204 questions
0
votes
0 answers
Pagination with Sequelize raw query
I am trying to paginate my queries but there are raw queries. So I don't know how to do it.
So far I have seen two solutions: use LIMIT but from what I have read it is not a reliable method.
The second is to use FETCH but that is not a good solution…

Lucaz
- 1
- 2
0
votes
0 answers
How to read .raw image files in MATLAB
I have a .raw image file that is encoded as uint16. When I open it in ImageJ, I can see the image dimensions immediately.
Now, when I use MATLAB, I use
fid = fopen('image1.raw')
pixelData = fread(fid,'uint16')
fclose(fid)
Now, I have the data in…

SEU
- 1,304
- 4
- 15
- 36
0
votes
0 answers
Convert latlng raw query to Eloquent query
$markerResult = Accommodation::with('images')
->whereRaw($lat <= (`lat`+(0.00898315284 * $radius)))
->whereRaw($lat >= (`lat`-(0.00898315284 * $radius)))
->whereRaw($lng <= (`lng`+(0.00898315284 * $radius)))
->whereRaw($lng >=…

Abu Sufyan
- 1
- 1
0
votes
1 answer
Problem finding the max color on an image
Here is the code for to find the max color in image but it returns always wrong coordinates.
The code search and find the max and return the 2D array of image but when he finds the max color it creates a cross and return the image with the cross…

Lilfio
- 5
- 5
0
votes
1 answer
Convert raw word document to readable document in Flutter
I'm building a Flutter app and need to read files from an API. But the API delivers raw data like:
Postman screenshot:
https://i.stack.imgur.com/tzqUA.png
Does anyone know how to parse this raw data in Flutter?
0
votes
1 answer
Make The Logic Inside The Tags {% Raw %}...{% Endraw %}
In shopify.
I have some of the code wrapped in a {% raw %}...{% endraw %} tag, but I need to make logic through if inside that tag. It goes like this:
{% raw %}
...
{%- if any != 0 -%}...{%- endif -%}
...
{% endraw %}
But this way the logic code is…

s.kuznetsov
- 14,870
- 3
- 10
- 25
0
votes
1 answer
Load and execute a full python script from a raw link?
I'm facing some problems trying to load a full python script from my pastebin/github pages.
I followed this link, trying to convert the raw into a temp file and use it like a module: How to load a python script from a raw link (such as…

DarioNCS
- 11
0
votes
1 answer
How to send gson object using retrofit
This is my cart items data getting into gson…

Faizan Ul Hassan
- 1
- 2
0
votes
0 answers
Oracle RAW read as string in Java (equivalent of UTL_RAW.cast_to_varchar2)
Oracle RAW format when read and converted to base64 works fine:
UTL_RAW.cast_to_varchar2(UTL_ENCODE.base64_encode(DBMS_LOB.substr(p_blob, len, 1)))
The above function requires looping though. But, I am trying to achieve this with mix-match of Oracle…

user3499836
- 87
- 1
- 9
0
votes
2 answers
I try API request post with body type raw to get a token but need understand what is wrong
My method to get tokenKey is :
HttpWebRequest httpRequest = (HttpWebRequest)WebRequest.Create(url);
httpRequest.Method = "POST";
httpRequest.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,…

Gabriel Carvalho
- 13
- 3
0
votes
1 answer
Changing Raw Background Color
I would like to change the background color of the raw but it wont change
i have typed but still wont change