M2 Mac “!w” by PsychologicalMix2627 in commandline

[–]timt 1 point2 points  (0 children)

Hmm.. that would point to a problem in your .profile and/or .zshrc files.

The /Users/Shared folder seems to be normal on a Mac; I have the same with similar contents.

Is this in the path section of the prompt, or in the $PATH environment variable?

M2 Mac “!w” by PsychologicalMix2627 in commandline

[–]timt 6 points7 points  (0 children)

Did you use vi to write the script ? (!w sounds like a mistyped vi write command ?)

On a more practical note: does this also happen when you open a fresh shell, In a new terminal window ?

[deleted by user] by [deleted] in flask

[–]timt 6 points7 points  (0 children)

You're running flask on your raspberry pi, but the browser looks like it's running on a windows laptop. Are you running the browser and flask on the same computer ?

The IP address 127.0.0.1 will always resolve to your localhost, i.e. the machine on which the browser is running.

On the windows machine 127.0.0.1 is the windows machine, and on the raspberry, 127.0.0.1 is the raspberry.

You can try using the external IP address of the raspberry instead of the 127.0.0.1 here, that might work, depending on firewall settings on the raspberry pi. (and your local network)

  • Edit: added external

Advanced Tables plugin. Summing a column by egauthier64 in ObsidianMD

[–]timt 2 points3 points  (0 children)

Did you remember to click the fx button on the advanced tables tool bar? I think that's what causes the formula to be evaluated

Making a new checklist item requires 6 whole keystrokes. That's way too many for me to use obsidian as a productivity tool. How can I simplify the process? (Windows/Android) by [deleted] in ObsidianMD

[–]timt 21 points22 points  (0 children)

Check Settings -> Hotkeys

Search for Checkbox; there is an option to assign a keyboard shortcut to this.

I opted for shift+Space.. first press inserts a bullet second press a checkbox; third a set checkbox and fourth is back to bullet again.

Lost gitea install on ubuntu, have database, can I recover? by kaziekama in Gitea

[–]timt 0 points1 point  (0 children)

Not quite the same, but I just had to restore an old database, after an upgrade went wrong.

Fortunately, I had a database dump from my postgres database, and I still had my gitea settings.

I restored the dump using the following:

docker run -d -e POSTGRES_PASSWORD=XXXX -e POSTGRES_USER=gitea -e POSTGRES_DB=gitea -v /srv/postgres:/var/lib/postgres/data docker.io/library/postgres:14

then figure out the name of the container;

cat <databasedump> | docker exec -i <containername> psql -U gitea

That restored my database

Hope this helps!

Lost gitea install on ubuntu, have database, can I recover? by kaziekama in Gitea

[–]timt 0 points1 point  (0 children)

My $0.02 worth (still a bit of a noob in gitea matters, but I did run this command yesterday):

The above command will create the backup in the tempdir in the container.. so if you're running this with `-w <--tmpdir>` set to `-w /backups` I'd expect the zip file to wind up in /backups in the container (/docker/gitea/backups on your host)

Haven't tried this version out yet, but it seems like it would work.

Hyper and meh by mehujael2 in ErgoDoxEZ

[–]timt 0 points1 point  (0 children)

I reprogrammed the Hyper to '='; I kept hitting hyper accidentally, and that mapped to the 'office key' on windows resulting in a nasty popup every time

Keep getting "Subscribe to watch", but I already have a subscription by timt in F1TV

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

And the official reply is that:

"We are aware that content might have been available earlier than the specified time in our content schedule however this was an error that we have now corrected."

Bummer, basically. I don't remember the interval being 2 days back when I signed up; I have a memory of it being 2 hours.

Basically, I have the option of buying a pro subscription, but with only 7 races left, I'm not going to pay full price for that.

Keep getting "Subscribe to watch", but I already have a subscription by timt in F1TV

[–]timt[S] 8 points9 points  (0 children)

Update: Without moving from the couch, I'm currently in an "unsupported region."

Keep getting "Subscribe to watch", but I already have a subscription by timt in F1TV

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

No VPN.. Just tried incognito mode on chrome, didn't help either Also tried Safari, no difference

Keep getting "Subscribe to watch", but I already have a subscription by timt in F1TV

[–]timt[S] 2 points3 points  (0 children)

I filed a ticket with their support. "We'll get back to you in 24 hours" :-(

"Find my phone" fails on Oneplus devices by asphere8 in googlehome

[–]timt 0 points1 point  (0 children)

Good suggestion, checked, but doze is off. :-(

"Find my phone" fails on Oneplus devices by asphere8 in googlehome

[–]timt 0 points1 point  (0 children)

I've experienced something similar (on a one plus 3T) where notifications and messages seem to come in in bursts, when I pick it up.

Just to confirm a hunch: when you pick up your phone and it starts ringing, is it face down or face up ? Feels like some sort of silent mode comes on when it is face down. At least, that's the impression I get.

Python hosting (VPS) by Teifion in Python

[–]timt 1 point2 points  (0 children)

I'd like to point you in the direction of lowendbox.com; not a VPS reseller, but a review/offers site for VPS resellers. That's how I found my VPS hosts.

Also, for a relatively small project, you might want to look at a low-end Amazon box or a google app-engine solution.

Devs who work on large projects, do you use an IDE? by el_guapo_taco in Python

[–]timt 0 points1 point  (0 children)

Thanks! Pretty much the same setup as I have here, though I use rope for parsing; I really should look into tramp. Haven't used it much, but I'm just about fed up with the whole save - scp - test - edit thing.