October 22, 2024
Chicago 12, Melborne City, USA
pdf

SyncFusion signing a pdf document with a timestamp from external authority

I am signing PDF files with a digital signature. I am using SyncFusion as a PDF library and GlobalSign as a certificate provider/authority. When signing documents with an external party, implementing the IPdfExternalSigner interface, in the "Sign" method, I am supposed to give out a byte array named "timeStampResponse". My guess is, the response from

Read More
templates

Power Automate date conversion error when using planner/outlook template

I am trying to create a flow that will add/create an event in Outlook Calendar when a task is assigned in Planner. I have found a template that seems to accomplish this however, when trying to test I receive the following error that the date input isn’t valid because of the timezone: Below are the

Read More
security

OS Security update on a VM where WSO2 API Manager is installed

Our client wants to update the OS on both Test and production VMS, and add the below security packages The question here is if these packages could somehow affect the stable operation of the WSO2 APIM server The current installation has the following info : WSO2 Api Manager Version : Version 4.2.0 JVM Version :

Read More
SQL

Select unrelated in a n:m relationship

I have a typical many-to-many relationship resolved by a join table, as shown here: For this question the sample data is: People: PersonID Name P001 Alice P002 Bob P003 Carlos P004 David Courses: CourseID Course C001 Algebra C002 Biology C003 Chemistry Attendance: CourseID PersonID C001 P001 C001 P002 C001 P003 C002 P002 C002 P003 C003

Read More
CSS

TailwindCSS – avoid purge of generative classes

I would like to prevent Tailwind from purging some classes. They are generated in the component eg. className=`text-${size}` Tailwind does not know it will result in text-sm, text-base and text-lg even if size variable is a union of type Size = "sm" | "base" | "lg"; Is it possible to achieve that without using full

Read More
C++

Generic QuickSort implementation struggles with a lot of strings

Ok basically i made this quicksort implementation in C for uni that is supposed to be able to recieve any type of array and sort it. For a stress test I was provided a records.csv file with 20mil lines structured like this: <id [int]>,<field1 [string]>,<field2 [int]>,field3 [float]> My algorithm has to sort the file lines

Read More
jQuery

Solving scope issue while using jQuery ready function

How can I solve this scope issue: I am trying to update an old project. HTML file includes JS file. after some code from the JS is running, it calls back a function myFunc() from the HTML. In the new code, I need to add jQuery ready function to the HTML file. so I get

Read More
HTML

Why Isn't My Complete Case Working Anymore? It Used to Work

I’m stuck with an issue in my Laravel application. My form submission process used to work perfectly, but now it’s giving me issues here is my controller for decline and approved cases <?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\declinecases; use App\Models\pendingcases; use App\Models\fullfillmentcases; use App\Models\received; use App\Models\RequestOrderModel; use Illuminate\Support\Facades\Session; class CaseController extends Controller { public

Read More
Android

Selecting and loading a *.json file using Expo DocumentPicker in older versions of Android

In React Native Expo project, I am using Expo DocumentPicker to select a JSON file and load it into the application. On modern version of Android there is no problem with this, in file explorer I select the desired JSON file and upload it. But on older versions of Android( 7, 8) I can’t select

Read More
PHP

Receiving invalid credentials at Endpoint

I am working on a Webhook API in Postman. In Postman, I have entered the username, password, and account code in the Headers. I am then sending the below payload directly to the website’s endpoint: { "email": "myemail@yahoo.com", "overwrite": true, "fields": { "first_name": "John", "last_name": "Doe", "country": "Chile", "mrc_c3": "300.00", "mrc_date_c3": "10/16/24" } } Using

Read More