Blog: 2023-08-23: Difference between revisions

From razwiki
Jump to navigation Jump to search
(Created page with "Legendary comment https://github.com/hashicorp/vagrant/issues/1673#issuecomment-28287711")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Legendary comment https://github.com/hashicorp/vagrant/issues/1673#issuecomment-28287711
Legendary comment https://github.com/hashicorp/vagrant/issues/1673#issuecomment-28287711

Coreutils ls is having a problem with this filename:

'06 The Bitter Suite (Pájaro - Evil Eye - Tennessee Train).flac'

it renders as:


'06 The Bitter Suite (P'$'\303\241''jaro - Evil Eye - Tennessee Train).flac'

But exa and this coreutils written in rust: https://github.com/uutils/coreutils

don't have that issue.

So I built that coreutils with <code>make</code>, and put its ls in /usr/local/bin:

sudo cp ~/forks/uutils-coreutils/target/debug/ls /usr/local/bin/

Now that ls is found:

$ which ls
/usr/local/bin/ls

Problem solved.

----

Now I'm setting up a local vagrant machine to configure nginx, and I realized the cookies weren't working, here's the reason:

https://stackoverflow.com/questions/27254013/why-does-the-session-cookie-work-when-serving-from-a-domain-but-not-when-using-a

Latest revision as of 13:57, 23 August 2023

Legendary comment https://github.com/hashicorp/vagrant/issues/1673#issuecomment-28287711

Coreutils ls is having a problem with this filename:

'06 The Bitter Suite (Pájaro - Evil Eye - Tennessee Train).flac'

it renders as:


'06 The Bitter Suite (P'$'\303\241jaro - Evil Eye - Tennessee Train).flac'

But exa and this coreutils written in rust: https://github.com/uutils/coreutils

don't have that issue.

So I built that coreutils with make, and put its ls in /usr/local/bin:

sudo cp ~/forks/uutils-coreutils/target/debug/ls /usr/local/bin/

Now that ls is found:

$ which ls
/usr/local/bin/ls

Problem solved.


Now I'm setting up a local vagrant machine to configure nginx, and I realized the cookies weren't working, here's the reason:

https://stackoverflow.com/questions/27254013/why-does-the-session-cookie-work-when-serving-from-a-domain-but-not-when-using-a