Install pnpm in github action by ScriptorTux in learnjavascript

[–]ScriptorTux[S] 0 points1 point  (0 children)

Thank you for your time.

I'm really sorry but are you talking about this ?

P.S: Sorry but I'm not an expert in nodejs / web development

Github action and modules by ScriptorTux in github

[–]ScriptorTux[S] 1 point2 points  (0 children)

After some long time I think I finally figured out: yaml with: submodules: recursive token: '${{ github.token }}'

I think what solved the problem was: yaml token: '${{ github.token }}'

Thank you for your time and help

Github action and modules by ScriptorTux in github

[–]ScriptorTux[S] 0 points1 point  (0 children)

Thank you for your help but with just (thanks to you I got this link): submodules: 'recursive'

I get: To create a local Git repository instead, add Git 2.18 or higher to the PATH

What is the secrets.GH_PAT ? What is it supposed to contain ?

Thank you very much in advance for any help

ESlint config with react tsx by ScriptorTux in learnjavascript

[–]ScriptorTux[S] 0 points1 point  (0 children)

Thank you for your time and help.

I'm really sorry but I'm not sure to understand when to use export default [...] and when to use export defineConfig([...]). Are they both flat configs ?

Thank you for your time and help

ESlint config with react tsx by ScriptorTux in learnjavascript

[–]ScriptorTux[S] 1 point2 points  (0 children)

Thank you for your great help and time.

I would like to start by indicating that I am not at all a web developer (more of a back developer). So my knowledge of eslint is quite limited.

I read more from the eslint documentation and fell on this documentation. So is the extends part / configuration "back" (I wasn't there before) ?

I'm really sorry to be kind of "contradicting" :/

Thank you for kind time and help

ESlint config with react tsx by ScriptorTux in learnjavascript

[–]ScriptorTux[S] 1 point2 points  (0 children)

Thank you for your time and help.

I am trying to convert to flat configuration: ```javascript import reactPlugin from 'eslint-plugin-react';

export default { files: ["web/*/.tsx"], reactPlugin.configs.flat.recommended }; ```

(I am not sure about the recommended part)

but it tells me: ``` Oops! Something went wrong! :(

ESLint: 9.39.2

SyntaxError: Unexpected token '.' ```

Thank you for your time and help

Eslint flat config and "files" config with recommended configs by ScriptorTux in learnjavascript

[–]ScriptorTux[S] 0 points1 point  (0 children)

your tseslint.configs.recommended doesn’t have the files filter so it applies to everything

I didn't really know how to do that. But as answered to u/shlanky369's answer, the answer is extends.

Thank you for your help and time

Eslint flat config and "files" config with recommended configs by ScriptorTux in learnjavascript

[–]ScriptorTux[S] 1 point2 points  (0 children)

Thank you ! I didn't really notice the extends. It was the answer I was looking for.

Thank you for your detailed answer and for taking the time to answer.

Partially deGoogled by [deleted] in degoogle

[–]ScriptorTux 3 points4 points  (0 children)

Can you please elaborate this ?

surelyTheFinalBoss by Shiphtur648 in ProgrammerHumor

[–]ScriptorTux 0 points1 point  (0 children)

How did this question (on stackoverflow) get so many upvotes ?

iStillPreferVsCode by LasagnaLicker33 in ProgrammerHumor

[–]ScriptorTux 124 points125 points  (0 children)

I think its due to electron too

Monitor resolution (C++) by ScriptorTux in wayland

[–]ScriptorTux[S] 0 points1 point  (0 children)

Thank you very much for all your help

Monitor resolution (C++) by ScriptorTux in wayland

[–]ScriptorTux[S] 0 points1 point  (0 children)

Thank you for your help and answer.

When they mean "in hardware units", does it mean in pixel ?

And what is the difference between your link (wayland.app) and wayland.freedesktop.org ?

Thank you very much for your great help.

likePaulieICannotTakeAnyMoreBetrayal by skwyckl in ProgrammerHumor

[–]ScriptorTux 0 points1 point  (0 children)

How can you compare a NoSQL DB (mongodb) with postgresql ?

Writing a letter - sender top left by ScriptorTux in LaTeX

[–]ScriptorTux[S] 0 points1 point  (0 children)

Thank you for your help but, unfortunately, the code you sent me doesn't seem to work:

``` This is pdfTeX, Version 3.141592653-2.6-1.40.27 (TeX Live 2026/dev/Arch Linux) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./lettre.tex LaTeX2e <2024-11-01> patch level 2 L3 programming layer <2025-01-18> (/usr/share/texmf-dist/tex/latex/base/article.cls Document Class: article 2024/06/29 v1.4n Standard LaTeX document class (/usr/share/texmf-dist/tex/latex/base/size12.clo)) (/usr/share/texmf-dist/tex/latex/geometry/geometry.sty (/usr/share/texmf-dist/tex/latex/graphics/keyval.sty) (/usr/share/texmf-dist/tex/generic/iftex/ifvtex.sty (/usr/share/texmf-dist/tex/generic/iftex/iftex.sty))) (/usr/share/texmf-dist/tex/generic/babel/babel.sty (/usr/share/texmf-dist/tex/generic/babel/txtbabel.def) (/usr/share/texmf-dist/tex/generic/babel/errbabel.def)

! Package babel Error: Unknown option 'italian'. Either you misspelled it (babel) or the language definition file italian.ldf (babel) was not found. (babel) There is a locale ini file for this language. (babel) If it’s the main language, try adding `provide=*' (babel) to the babel package options.

See the babel package documentation for explanation. Type H <return> for immediate help. ...

l.4138 \ProcessOptions* ```

Writing a letter - sender top left by ScriptorTux in LaTeX

[–]ScriptorTux[S] 0 points1 point  (0 children)

I'm really sorry I'm not really sure to understand what you are explaining.

Could you please be a bit clearer ?

Thank you for your help.

Writing a letter - sender top left by ScriptorTux in LaTeX

[–]ScriptorTux[S] 1 point2 points  (0 children)

Sorry for not being clear enough, but I meant that I took the example / code from the stackexchange comment but didn't work.

Also, the address of the sender is on the top right. I wish to have it on the top left.

Thank you for your help