instruction
stringlengths
0
30k
null
Turns out my guesses were not too bad. There was a line contained in /etc/screenrc (commented out there). ` #termcapinfo xterm* ti@:te@ ` So I created this ~/.screenrc which did it: ` termcapinfo xterm* ti@:te@ `
i'm currently writing a thesis in LateX and i'm still learning how to properly used it. My problem is that i have something like this [not aligned paragraph](https://i.stack.imgur.com/14YXK.jpg) and i want something like this [aligned paragraph](https://i.stack.imgur.com/l68lr.jpg) EDIT: Here a minimal example ...
I have the following flow with Keycloak and a service based on the Spring OAuth2 Authorization Server: - Keycloak delegates auth to Spring OAuth2 Authorization Server - Spring OAuth2 Authorization Server sends back using Authorization Grant Type request - Keycloak sends access token to a client The access token...
Customize Authorization Code claims with Spring OAuth2 Authorization Server 3.2.4
|spring-boot|spring-security|keycloak|spring-oauth2|spring-authorization-server|
null
[My window form application](https://i.stack.imgur.com/GvReX.png) How can I change this icon with another icon, I use visual studio 2017 to make this window form application. I can only change the icon of this application on the taskbar. I hope everyone can help me change this icon
Icon of Window form application
|vb.net|visual-studio-2017|icons|
null
- I use conditional resource creation for my lambda function. - When I try to build the template I get presented with the error `InvalidTemplateException Every Condition member must be a string.`. The CLI does not provide more details as to *where* something is wrong. - As my condition is a string, I'm not sure wh...
null
I try to explain the situation: - I have a QT application written in C++ and QT. - This QT application starts a separate console C++ application that runs in the background. - These two communicate using perhaps sockets, don't know yet. - Console C++ application needs to start and stop my gnuradio python sc...
Best way to start, stop and send parameters to separate Python script from C++ application?
{"Voters":[{"Id":8422953,"DisplayName":"braX"},{"Id":2530121,"DisplayName":"L Tyrone"},{"Id":17562044,"DisplayName":"Sunderam Dubey"}]}
I am using a devcontainer in Visual Studio Code. The application I'm working on has a `docker-compose.yml` file to stand up my app and a postgresql database so that I can perform testing against a working database. What this means is that I am running docker containers from inside a docker container. I use the docker-o...
Hi I am literally accessing mssql using a docker, and have done using this step: 1. docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=Password@123" -e "MSSQL_PID=Express" -p 1433:1433 -v mssqlserver_volume:/var/opt/mssql --name mssql -d mcr.microsoft.com/mssql/server:2019-CU15-ubuntu-20.04 (I use this code in cmd to crea...
sqlservr: This program requires a machine with at least 2000 megabytes of memory
|sql-server|docker|sql-server-2000|
null
Swift 5, a bit performant `NSDataDetector` approach (does quick return if string is empty) ``` swift extension String { var isValidURL: Bool { guard !isEmpty, !trimmingCharacters(in: .whitespacesAndNewlines).isEmpty else { return false } do { let detecto...
Image on while playing game: ![](https://i.stack.imgur.com/aFIiC.jpg) Image on editor: ![](https://i.stack.imgur.com/rzrgC.jpg) As in the image in editor, I applied the UI image on end border of the canvas but Its not in border, while playing the game. Final output something like this: ![][1] Is it...
if you create pull requests (black circle) and merge branch in github, you can find information of a merge commit by clicking in `22 Closed` (red circle) [![github][1]][1] [1]: https://i.stack.imgur.com/qQ9tO.png
|c++|qt|qml|exe|windeployqt|
null
|javascript|reactjs|node.js|webpack|yarnpkg-v3|
{"OriginalQuestionIds":[30680938],"Voters":[{"Id":1116230,"DisplayName":"Nico Haase"},{"Id":5947043,"DisplayName":"ADyson","BindingReason":{"GoldTagBadge":"php"}}]}
Postgres (like SQL) is strictly typed. Functions cannot change their return type on the fly - including number, names and types of columns for a function returning a row type. There are a limited workarounds, but you have to pass the required information with the function call one or the other way. ### [Polymorph...
1. Sure you did not update accidentaly to 4.27.**3** or later? I got exactly your problem, after I installed the 4.28.0 Version - see below... 2. You need Hyper-V enabled for this: is it working correctly on your machine? If you are using Windows Home Edition there is no chance: upgrade your Windows to Professional ...
Files lost from Github repository
|git|github|repository|
null
How can I call a SOAP webserver method in Vue.js?
I cannot create page access token, only user access token which expires every 2-3 months. I created facebook account, page, instagram business account, connected the ig acc with fb page. After that I created developers.facebook app and generated short lived access token (the one that expires in an hour) [permissio...
Page access token
|facebook-graph-api|access-token|
null
{"Voters":[{"Id":3689450,"DisplayName":"VLAZ"}]}
From what I understand, the primary method to accomplish this is by using the z-index. Could you share the reasons why z-index isn't working in your case? Also, don't forget to organize your table data by using table rows (< tr >). Are you looking to have a background image behind your table? If so, I suggest enclos...
I want my three-way interaction to look as closely as possible to my two-way interaction plot. Basically the same, just with two facets (called panels in my example). I would love to continue to use `sjplot` with `plot_model`. However, as soon as I pass any aesthetic argument to the threewayplot I get "Error in plot_m...
i'm coding my application in nativescript-angular and I need to use a tabview component for navigating between pages . I saw the nativescript's site example : `<TabView> <TabViewItem title="First"> <Label text="First Tab Content" textAlignment="center" verticalAlignment="center"></Label> </TabV...
Tabview component doesn't work as it should in nativescript-angular
|angular|nativescript|tabview|
null
I am trying to switch camera while recording but it doesn't work. When I am not recording it works fine. I am using [camera plugin](https://pub.dev/packages/camera). [ I am switching between cameras like this ](https://i.stack.imgur.com/OsYwx.png) I tried initializing again but it didn't work too. I am using setD...
As of this post, [`org.springframework.boot:spring-boot:3.2.4`](https://mvnrepository.com/artifact/org.springframework.boot/spring-boot/3.2.4) is a little over a week old. So if you are using some internal network you might be having issues pulling it down. I would remove the `<relativePath/>` from the `<parent>` an...
I have a custom class `CheckboxHeaderCell` inherit from `DataGridViewColumnHeaderCell` to add checkbox into any datagridview. The checkbox added successfully, but on checkbox checked event only custom class event trigger but the event in the form (method `HeaderCell_CheckedChanged`) where I added this checkbox never tr...
You could try `CascadingValue` to pass the value and the authentication logic needs more steps. 1.In both **program.cs** of your global auto render project builder.Services.AddScoped<AppStateManager>() 2.**MainLayout** @inherits LayoutComponentBase @inject AppStateManager AppState @using B...
I don't know what kind of actual resources you want to deploy, `deploymentScope` inputs of `AzureResourceManagerTemplateDeployment@3` be profoundly affected by the `targetScope` in `bicep file`. > Figuring out the scope of your deployment is critical in this problem I have coded a sample to show **two types** of...
I'm working on my first RoR 7.1.3.2 project and I've set up a simple form to take customer orders. I have an instance variable called @total and I want to be able to update this total to be equal to the sum of all number_fields, so that I get a total number of items ordered. I want this to update every time a number_fi...
Here is a working solution: ```swift struct ContentView: View { @State var stepperValue: Int = 0 @State private var modalIsPresented = false var body: some View { List([1], id: \.self) { item in Button(action: printTapped) { Stepper("\(stepperValue)", value:...
I'm not sure why you would want to use regex to find a sub-string of a string?.. but here ya go... /^(?=test).*$/ **Usage** <?php $string_to_find = 'some_string'; $search_string = 'some_string_that is longer'; $regex = '/^(?='.$string_to_find.').*$/'; // ...
Do we need to generate Privacy manifest for SDKs or the SDKs will take care of it themselves? As I was going through the documentation I'm unable to understand the whether I have to take care of the Privacy manifest or the SDKs maintenance team will take care off it or we both have to work upon it. While Uploadin...
Do we need to generate Privacy manifest for SDKs or the SDKs will take care of it themselves
|ios|xcode|app-store|mobile-development|privacy-manifest|
We have a Google Form where users submit details of projects they want my colleagues to work on. Data from the Forms comes through to a Google Sheets spreadsheet. The responses can be edited by whoever has the right URL i.e. even though Person A submits the form, Person B can edit it later. I'm not a developer but ...
Got the same problem with a cloudformation property from RDS (manual [here][1]). Error when copilot tries to build the cloudformation template: ```jsx Requested attribute Port must be a **readonly** property in schema for AWS ::RDS::DBCluster. Rollback requested by user. ``` My template had: ``` dbPort:...
I need to build a query that finds me all US under epics where labels is not empty. `project = xxx AND issuetype = "User Story" AND "Epic Link" IS NOT EMPTY AND "Epic Link" IN (epicOf("labels IS NOT EMPTY"))` It doesn't work, i get an error "Cannot find functionJQL "epicOf(labels IS NOT EMPTY)". Can anyone...
List of US under Epic with label
|jira|jql|
null
Bit fields don't have a storage but they have memory location of same size as the scalar type you had supplied, therefore alignment usually is at least of same size, but order in a is not defined until a zero-sized field is encountered - "non-zero bit-field sequence of same type". In your case , on little-endian sys...
using the code below i need to be able to pass different server names into the URI dynamically. is there a way to do that? i have tried to pass it as a string and i get the error listed below. i also tried to pass it as a uri and that also errors. If i hard code @"\myserver" into `theNetCache.Add(new Uri(@"\myser...
howcan i pass a variable as a uri
|c#|uri|
*const date = ref(new Date(2024, 1, 19)) <v-date-picker v-model="date" :rows="2" :step="1" class="bg-surface" locale="tr" />* [enter image description here](https://i.stack.imgur.com/0Er7c.png) I am using vue nuxtjs vuetify. I want to show more than one selected date in date picker. I tried the Multiple feature...
After a few hours and doing some learning here is a working copy. Was super helpful to go through and manually add the key and the repo after the image had booted. Thanks for the help guys! ``` FROM ubuntu:22.04 LABEL maintainer="Taylor Otwell" ARG WWWGROUP ARG NODE_VERSION=20 ARG POSTGRES_VERSION=1...
Is it possible to map the relationship chain [![`TableA` --N:1--> `TableB` --N:1--> `TableC`][1]][1] using just `EntityA` and `EntityC`, without an explicit `EntityB`? This is what I'm trying to avoid: ```java EntityA entityA; entityA.getEntityB().getEntityC(); ``` Sometimes `EntityB` adds nothi...
JPA ...ToOne relationship skiping over intervening tables
|jpa|
I created a web app from scratch using the default .Net template for MVC (ASP.NET Core web app) using Auth with "Individual Accounts" option and SDK 8, and my problem is I'm not able to authenticate a user, at least `SignInManager.IsSignedIn(User)` always returns false. `Program.cs`: var builder = WebApplicat...
{"OriginalQuestionIds":[33145885],"Voters":[{"Id":1491895,"DisplayName":"Barmar","BindingReason":{"GoldTagBadge":"mysql"}}]}
<?php $servername = "localhost"; $username = "root"; $password = ""; $database = "my_db"; /* You should enable error reporting for mysqli before attempting to make a connection */ mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT); $...
How do I dynamically update an instance variable using forms?
|ruby-on-rails|ruby-on-rails-7|
I have a SQL Server database column that is of type NVarchar and is filled with standard Persian characters. when I'm trying to run a very simple query on it which incorporates the LIKE operator, the resultset becomes empty although I know the query term is present in the table. Here is the very simple example query wh...
``` // ignore_for_file: unused_element import 'package:faker/faker.dart'; import 'package:flutter/material.dart'; import 'package:jiffy/jiffy.dart'; import '../../helpers.dart'; import '../models/models.dart'; import '../widgets/widgets.dart'; class MessagesPage extends StatelessWidget { const Messages...
I experimented with observer API and setting the rootMargin to line up with the piano keys, but couldnt get it working. What I ended up doing was just doing the math to scale with the window height. Here is my code in the case anyone ends up coding something like this: ``` useEffect(() => { if (playback_vi...
|sql-server|t-sql|
To effectively mock a static method in your code using Mockito, follow these steps: Add the dependency to your pom.xml for Maven projects or build.gradle for Gradle projects: For Maven ```xml <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-inline</artifactId> <version>5.2.0</versi...
You must do the test like this, assuming that the different field types inherit from a base field class: ``` vb If TypeOf field Is DoubleField Then ```
I tried using the suggested answers of increasing the json and urlencoded limit. But the issue persisted because it was working on local but not on the server URL. The issue was with the nginx server so I had to increase the limit too using the answer from here. https://stackoverflow.com/a/75095803/14405473 By a...
I use netleague order in netmeta package of R for my network meta analysis netleague(net2, digits = 2, ci = FALSE) However, it showed indirect effect in lower triangle and direct effect in upper triangle. I just want it to show the reciprocal number in the upper triangle for league table instead of direct ...
How can I show the reciprocal number in upper triangle of league table in R?
I want to make a matrix of QQ plots like the one posted here [Sample set QQ plot comparing different elements to each other] . Below is a condensed version of my data frame. For each scan (a-c), I want a QQ plot to compare the grain size (numerical values below the element names) for each chemical element (s, fe, cr, ...
I have been trying to figure out how to get my contact form in my website to send to my email when someone submits. I am using Google Clouds Instance and hosting on google domains. I tried to go with a process_form.php but it doesn't work even when I installed php already using the SSH in the instance. I went wi...
How to make my form send the submitted info to my email
|php|html|email|google-cloud-platform|contact-form-7|
null
From the error message, It seems that there is a wrong argument passed to the validateRootDirectory() function. From what I could find by a quick look at the source: When using [`uploadArtifact(artifactName, filesToUpload, rootDirectory, options)`](https://github.com/actions/upload-artifact/blob/ef09cdac3e2d3e60d...
Try playing with pulseio True/False: dhtDevice = adafruit_dht.DHT11(board.D17, use_pulseio=True)
I'm making a Sign-up interface that contains: username, password and confirm password. It must check the regex of the username and the password. But whatever i input, it keeps being wrong The username[1] use JTextField The password[1] and confirmPassInput use JPasswordField ``` if ( nameLargeButton.equals("Sign...
What is wrong with my Regex Checking method?
|java|regex|
null
Why is this not working? In create GET, I am receiving an optional idEnt parameter. If I call in browser MyController/Create/5, it shows view ok, and even client validation works ok, but on form submit, the POST action method in controller is not being hit... why? (it does not thrown any exception either, it ...
Please be informed that to indicate the IP Version in MyDAC there is a property "IPVersion". This property can take three values: - ivIPBoth - specifies that either Internet Protocol Version 6 (IPv6) or Version 4 (IPv4) will be used; - ivIPv4 (default) - specifies that Internet Protocol Version 4 (IPv4) will be us...
I upload Outlook Calendar events via CSV files on a regular basis. I am familiar with that process, however, I have not been able to preserve line breaks in the description. Ideally, I would like to be able to use HTML code to write the event description with proper formatting. I have tried using `ALT-ENTER` to crea...
null