388 questions
-5
votes
1
answer
105
views
What the best setting of git eof to share files between Unix and Windows OS? [duplicate]
I have some problems because I'm sharing the git repository with some colleagues, but I'm using windows os and they, Unix, instead, so, every time I'm facing with a push, I find differences in the eof....
0
votes
0
answers
91
views
How to set git not to fiddle with newline on both windows and linux
I'm facing some issue when using a project tracked by git on both windows and linux. As suggested on other questions on windows I have
core.autocrlf=false
core.eol=<blank>
On Linux I have the ...
0
votes
0
answers
76
views
Linebreaks (CRLF) at beginning of line read from serial port via PySerial
I am trying to write commands and read responses to/from a serial port (RS232) on a laboratory pump. I have the pump connected to my PC via a USB-to-serial adaptor, and have been able to send commands ...
0
votes
0
answers
87
views
Warning: LF will be replaced by CRLF
We fetch the discrepencies of our salesforce org and our bitbucket repository and add commits with differences for each component type:
Steps for automated script:
Create a new branch and checkout to ...
1
vote
2
answers
119
views
Finding all types of end-of-line delimiters in a file [duplicate]
I have the following function to get all of the different types of end-of-line delimiters in a file. There may be one or more, so I want to return an array of all types.
function ddtt_get_file_eol( $...
1
vote
2
answers
373
views
How do loggers flush without adding an end of line to the log messages?
I have seen many loggers using operator<< to read log messages and write them on file:
template<typename T>
Logger& Logger::operator<<(Logger& l, const T& s) {
l....
3
votes
2
answers
621
views
Git attributes: `-text` vs `eol=lf`
I want to configure a git repository in a way that all checkouts use LF as line endings, even on windows if core.autocrlf is enabled. I got the following ideas from the documentation:
text means: the ...
0
votes
0
answers
708
views
pg_restore throws end of line error when the dump file is edited
using pg_dump to dump the database in a custom format archive
pg_dump -U $PG_USER -d $PG_DB -a --column-inserts -Z 0 -Fc > db.dump
i have to use subquery to create new temporary tables based on the ...
0
votes
0
answers
188
views
AWS Setup with Serverless v1 After Lambda Runtime End-of-Life
I have a few projects on AWS using the following setup:
• Cognito - (user pools)
• S3 - (frontend)
• Cloudfront - (CDN proxies)
• API Gateway - (REST APIs)
• Lambda NodeJS 14 - (backend ...
-1
votes
1
answer
958
views
What is the end of life for .NET 4.6.1 higher versions in Windows Server 2012?
There is a confusion regarding EOL for .NET FW higher than 4.6.1.
I am running an application which is based on 4.6.2 in Window Server 2012.
We are planning to upgrade our servers to Window Server ...
0
votes
1
answer
142
views
Why can't emacs elisp function 'search-forward' find carriage return characters anymore?
This code for dos2unix conversion in an emacs buffer stopped working at some point. I've been using it since the 90's (emacs 19) and I don't know exactly when it stopped working.
;;; Dos to Unix ...
2
votes
0
answers
68
views
Can't use em dash in ghostscript command on Debian [closed]
I have been searching for quite a bit, and can't seem to find a solution.
I have a ghostscript command in a PHP (7.4) Drupal specific script (not written by me), which seems to work fine. The command ...
0
votes
0
answers
193
views
Adding local files to git repo throws infinite error warning
When I am trying to add my local code to newly created git repo below error is thrown.
https://i.sstatic.net/4o3VC.png
warning: in the working copy of 'node_modules/@babel/runtime-corejs3/helpers/...
0
votes
1
answer
48
views
EOL error - Escape Newline Characters in a Python String
I wish to hand chunks of text to an API. However, I cant as python wont let me handle the text if I try saving as a variable. How do I do it? Thank you
prompt = (f"xxxx
xxxx
xxxxx
xxxx
xxxx")...
0
votes
0
answers
71
views
inpython SyntaxError: EOL while scanning string literal using platform.techsmart.codes trying to play a sound while start is pressed
I was trying to play an intro sound when the start button is pressed but no matter what i did the error kept popping up.
This was my code that was getting an error :
def intro():
intro = ['...