351 questions
1
vote
2
answers
99
views
Git ignore all files directly in folder
Suppose you have the following folder structure:
a
├─ b
│ ├─ b1.txt
│ └─ b2.txt
├─ a1.txt
└─ a2.txt
.gitignore
How do you tell Git to ignore a1.txt, a2.txt and all other files directly in the &...
-2
votes
3
answers
121
views
Ignore more than one row for a pattern in bash
While listing some logs, I get the following pattern:
id:Batch1
1:processed
id:Batch2
1:processing and some info
I get multiple rows like this and they are not sorted in any way. There is no pattern ...
1
vote
0
answers
98
views
Ignore all printed messages to avoid "No results. Previous SQL was not a query."
I am trying to execute a SQL script on SQL Server in Python using pyodbc and the driver ODBC 18 (Windows OS). The script produces a dataset with some rows in output and, during the execution, it ...
0
votes
1
answer
140
views
How to add ignore_bins for coverpoint which is defined in base class
How should I add ignore_bin in child class for a coverpoint which is defiened in base class?
I tried extending base covergroup but it shows compilation errors for keyword extend in this context ...
0
votes
1
answer
176
views
ignoring characters in lex/flex input or: understanding YY_INPUT
I'm parsing files with words that need to be spell checked. The input is in RTF-format.
The words to be checked have \- strings in them designating the predetermined breaking point where a word should ...
0
votes
1
answer
115
views
Hide Extension-less C++ Complied Executables on Mac CLion
I'm using CLion to practice competitive programming, so each cpp source file is compiled on its own, without using things like CMake. The problem is, on MacOS, the executables have no extension, so I ...
0
votes
0
answers
38
views
How to git exclude source files on the webserver but keep it on all other repos updating all past commits
I looked in many answers but I could make it work.
I am working with Adobe Animate games, so the source files are big .FLA files, I noticed that if I could ignore these files (more than 600) on our ...
0
votes
1
answer
200
views
When the TipKit notification popovers, ignore the tip, the 'present sheet' button will be non-functional. (iPhone SE and simulator devices)
import SwiftUI
import TipKit
@main
struct TipKit_WithPresentPageApp: App {
var body: some Scene {
WindowGroup {
ContentView()
.task {
try? ...
1
vote
0
answers
81
views
istanbul ignore next not working for @ContentChildren(ElementRef, {descendants: true}) set inputs(inputs: QueryList<ElementRef>)
I am trying to write jest test for this function. Since there is no business logic , I would like to ignore the entire function. I tried to ignore it by adding a ignore text before the function and ...
1
vote
1
answer
128
views
Is there a Git equivalent to Plastic's hidden_changes.conf?
Plastic defines the hidden_changes.conf file as such:
Hiding changes with hidden_changes.conf
Just like you sometimes need to ignore private files with ignore.conf, there are scenarios where you don’...
0
votes
0
answers
129
views
How to git ignore everything apart from some select files and directories
I'm having some trouble getting my .gitignore in just the way I want it. I've looked at previous questions on StackOverflow and I've also asked ChatGPT but I just can't get the result I want.
This is ...
1
vote
1
answer
681
views
VSCode, how to exclude settings.json from editor.formatOnSave
I set editor.formatOnSave to true in settings.json, so every files (e.g. python, json, jsonc, etc.) is formatted on save. But I don't want to format automatically only when I edit settings.json.
I ...
2
votes
2
answers
4k
views
Mapstruct ignore field, warning unmapped target properties
I am using mapstruct in Java and I need to get rid of warning: Warning: Unmapped target properties: "t3". I have the following structure:
class A {
String t1;
String t2;
}
class B {
...
2
votes
3
answers
95
views
R strsplit ignore some text
I'm working on a survey, and many of the written categories on an answer are separated by commas. I have used gsub successfully in order to separate them, like this.
sss6 <- str_trim(unlist(...
0
votes
1
answer
124
views
How can I ignore certain expressions from being compared using Difflib library
I want to create logic which will interact with the Difflib.ndiff() function that can compare text. Currently I want it to check text reports which show data from the test files. My problem stems from ...