Categories
Development

Patching SQL Server LocalDB

I have an installation of SQL Server 2017 LocalDb (v14.0.1000.169). I want to patch this installation using the latest CU an in an unattended manner. When I run the setup.exe from SQLServer2017-KB4508218-x64, however, it says I have don’t have an appropriate version installed. C:\test\extracted>setup.exe /action=patch /allinstances /quiet /IAcceptSQLServerLicenseTerms Microsoft (R) SQL Server 2017 14.00.3223.03 Copyright […]

Categories
Development

How do I create a variable from a fixture file in a before statement in Cypress?

I am storing user mocked user creds in a fixture file, and i want to access that data in a before statement, so that each test in that file can have access to a username and password variable. I Know that I can pull in the fixture file and then pull out the creds each […]

Categories
Development

Is it possible to redirect STDOUT to a Logger?

I have a class ChildProcess from childprocess gem. It expects me to configure logging this way: process = ChildProcess.build(…) process.io.stdout = Tempfile.new(“/tmp/file.txt”) However, I don’t have a file to log to. Instead, I have an instance of Logger class. I need to find a way to create a wrapper around Logger in order to make […]

Categories
Development HTTP

How to identify HTTPS traffic (not by port) and forward it to different port

I have a server with an HTTPs transparent proxy listening on port 8080. Any incoming traffic on port 443 to the server is redirected to the proxy (to port 8080). The rest of the traffic is going through the server without interruptions. Now, i would like to identify any HTTPs communication which is not going […]

Categories
Development

Azure VM suspends running software when not connected through Remote Desktop

I created a new Azure Windows VM, on which we installed our custom .NET software (not a service) that sends out payslips for a client using Microsoft Outlook 2019. Our software opens a new Outlook email, inserts the necessary text, attaches the payslip, and sends the email. Whilst connected through Remote Desktop, using the local […]

Categories
Development

Lack of debugging information in, well, debugger

Currently I am using Clion IDE plus latest version of Open Watcom v2 windows 32 bit compiler to develop some 16 bit MS-DOS application. The problem I have is I don’t see all required debugging information when using watcom windows debugger (wdw.exe). Being specific, I see global variables, global and any other types of functions, […]

Categories
Development

How do I return component to ag-grid cellRenderer

Product id grid column needs to link to product details page. I am using ag-grid cellRenderer option to return component which will go to product details page. cellRenderer: (params) => { return ( {params.value}); } My routing is: I just need a link in that cell that will direct me to the details page.

Categories
Development

Enter a specific number into input field [on hold]

I need to create script for input specific number ( example: 100 or 500 or 1,000 ) so user can’t input ( example: 125 or 245 ). Is there solution to disable second number to be 2-9 just to be avalible 0 then user will be able to input only 100. <input type=”number” name=”kol” id=”kol” […]

Categories
Development

How to edit my code with this instructions

Well I have this requirements : Student class 3 properties in the Student class 2 methods in the Student class 3 instances (objects) of the Student class I did properties, class, objects and i dont get it what I should do using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace test2 { public […]

Categories
Development

How can i assure that data saves consistently in a flat file, before the route redirects in a node / express application?

I’m currently working on a Node / Express app that uses flat files for storage. The application uses a classic Model View Controller design pattern. The problem is that the routing in the controller seems to redirect before disk writing operations complete. Originally, I tried to write my controllers as synchronous code, but even when […]