Click here to Skip to main content
16,016,076 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Wordle 1,186 - 4 4 me Pin
pkfox16-Sep-24 21:33
professionalpkfox16-Sep-24 21:33 
GeneralRe: Wordle 1,186 - 4 4 me Pin
ChandraRam16-Sep-24 23:47
ChandraRam16-Sep-24 23:47 
GeneralRe: Wordle 1,186 Pin
Sander Rossel16-Sep-24 21:33
professionalSander Rossel16-Sep-24 21:33 
GeneralRe: Wordle 1,186 Pin
StarNamer@work16-Sep-24 21:33
professionalStarNamer@work16-Sep-24 21:33 
GeneralRe: Wordle 1,186 6/6 Pin
den2k8816-Sep-24 22:21
professionalden2k8816-Sep-24 22:21 
GeneralWordle 1,186 - 5/6 Pin
ChandraRam16-Sep-24 23:46
ChandraRam16-Sep-24 23:46 
GeneralRe: Wordle 1,186 Pin
Cp-Coder17-Sep-24 2:51
Cp-Coder17-Sep-24 2:51 
GeneralBeyond Compare and WSL Pin
Jeremy Falcon16-Sep-24 15:18
professionalJeremy Falcon16-Sep-24 15:18 
Posting this since it's not so easy to find online. But, if you find yourself using WSL and use Beyond Compare (outside of git) on the Windows side, here's a doodle to make your life easier.

In your bash or zsh resource file, add this function and re-source it or logout and back in.
function bcomp() {
  local path='/mnt/c/Progra~1/Beyond~1/BComp.exe'
  "$path \"$(wslpath -aw "$1")\" \"$(wslpath -aw "$2")\""
}

Now, in your Linux install you can simply do bcomp file1 file2 anywhere and have BC pop up with the diff on your Windows machine.

Tada!

Edit: Here's a git config for using BC in WSL for poops and giggles too. So you can use difftool inside WSL and have it pop up in BC on Windows.
[user]
  name = Bro Dude
  email = brod@dude.com
[diff]
  tool = bc
[difftool "bc"]
  cmd = /mnt/c/Progra~1/Beyond~1/BComp.exe "$(wslpath -aw \"$REMOTE\")" "$(wslpath -aw \"$LOCAL\")"
  path = /mnt/c/Progra~1/Beyond~1/BComp.exe
  trustExitCode = true
[merge]
  tool = bc
[mergetool "bc"]
  cmd = /mnt/c/Progra~1/Beyond~1/BComp.exe "$(wslpath -aw \"$REMOTE\")" "$(wslpath -aw \"$LOCAL\")" "$(wslpath -aw \"$BASE\")" "$(wslpath -aw \"$MERGED\")"
  path = /mnt/c/Progra~1/Beyond~1/BComp.exe
  trustExitCode = true
[difftool]
  prompt = false
[mergetool]
  prompt = false
Jeremy Falcon


modified 17-Sep-24 10:49am.

GeneralComputer Nerds - Quirks and Habits Pin
Steve Raw16-Sep-24 15:05
professionalSteve Raw16-Sep-24 15:05 
GeneralRe: Computer Nerds - Quirks and Habits Pin
Jeremy Falcon16-Sep-24 15:21
professionalJeremy Falcon16-Sep-24 15:21 
GeneralRe: Computer Nerds - Quirks and Habits Pin
jmaida16-Sep-24 15:59
jmaida16-Sep-24 15:59 
GeneralRe: Computer Nerds - Quirks and Habits Pin
Steve Raw17-Sep-24 5:17
professionalSteve Raw17-Sep-24 5:17 
GeneralRe: Computer Nerds - Quirks and Habits Pin
Choroid17-Sep-24 10:33
Choroid17-Sep-24 10:33 
GeneralRe: Computer Nerds - Quirks and Habits Pin
PIEBALDconsult16-Sep-24 15:43
mvePIEBALDconsult16-Sep-24 15:43 
GeneralRe: Computer Nerds - Quirks and Habits Pin
Amarnath S16-Sep-24 17:23
professionalAmarnath S16-Sep-24 17:23 
GeneralRe: Computer Nerds - Quirks and Habits Pin
CPallini16-Sep-24 19:58
mveCPallini16-Sep-24 19:58 
GeneralRe: Computer Nerds - Quirks and Habits Pin
David Crow17-Sep-24 2:31
David Crow17-Sep-24 2:31 
GeneralRe: Computer Nerds - Quirks and Habits Pin
dandy7217-Sep-24 2:40
dandy7217-Sep-24 2:40 
GeneralRe: Computer Nerds - Quirks and Habits Pin
Kornfeld Eliyahu Peter17-Sep-24 2:45
professionalKornfeld Eliyahu Peter17-Sep-24 2:45 
GeneralRe: Computer Nerds - Quirks and Habits Pin
Cp-Coder17-Sep-24 2:54
Cp-Coder17-Sep-24 2:54 
GeneralRe: Computer Nerds - Quirks and Habits Pin
0x01AA17-Sep-24 4:49
mve0x01AA17-Sep-24 4:49 
GeneralRe: Computer Nerds - Quirks and Habits Pin
PIEBALDconsult17-Sep-24 8:33
mvePIEBALDconsult17-Sep-24 8:33 
GeneralIsrael's H2OLL unveils first full-scale water-from-air system in Negev Pin
Daniel Pfeffer16-Sep-24 11:14
professionalDaniel Pfeffer16-Sep-24 11:14 
GeneralRe: Israel's H2OLL unveils first full-scale water-from-air system in Negev Pin
jmaida16-Sep-24 14:29
jmaida16-Sep-24 14:29 
GeneralRe: Israel's H2OLL unveils first full-scale water-from-air system in Negev Pin
den2k8816-Sep-24 22:23
professionalden2k8816-Sep-24 22:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.