The ActivationPolicy
I added in an attempt to replicate what wg-quick
produces, as I recall.
The ActivationPolicy
I added in an attempt to replicate what wg-quick
produces, as I recall.
Do you notice anything wrong with my config? https://github.com/systemd/systemd/issues/30495
Do you notice anything wrong with my config? https://github.com/systemd/systemd/issues/30495
Oh, so it’s all about consent? Huh.
pavucontrol
probably the best option given your distro. Go with that.
I never learned how that happened. We suspected that someone might have sneakily applied them during production or before delivery, as the trains were brand-new.
I doubt they were “official” stickers 😉
When the Munich public transport introduced new trains around 20 years ago some of them had porn images stuck to the inside of legs of some of the benches. You can be sure that teenage boys find them.
The numbers quickly dwindled but it took the company years until they had them all removed.
Ain’t that the truth. But I love the workflow they offer. You don’t have to go looking for new windows. You can easily pin applications to virtual desktops and I prefer the multihead model they use over the one used by gnome or KDE.
Imagine posting a screenshot of a gif.
You can’t expect the user to have one.
It’s only useful during development there.
Bullshit!
module/__init__.py
:
__all__ = ["foo", "bar"]
module/foo.py
:
def foo():
print("foo")
module/bar.py
:
def bar():
print("bar")
module/baz.py
:
def baz():
print("baz")
main.py
:
from module import *
from module import baz
if __name__ == "__main__":
print("main")
foo.foo()
bar.bar()
baz.baz()
Output:
$ python main.py
main
foo
bar
baz
No errors, warnings or anything.
Renders correctly for me
You could guard it.
__init__.py
:
_GUARD_SOME_UTILITY_FUNCTION = True
from .utilities import SomeUtilityFunction
utilities.py
:
def SomeUtilityFunction():
if not _GUARD_SOME_UTILITY_FUNCTION:
raise SomeException("Helpful error message")
Take this with a grain of salt, as I’m typing this on my phone and haven’t actually tried it.
Alternatively there’s the import-guard
package on PyPI. No idea if it’s any good, though. Just something a quick search brought up.
Edit:
Ok, I tried my suggestion and it doesn’t work.
That’s not correct. __all__
is not a whitelist. It is only the list used for
from module import *
If you have a module with submodules foo
, bar
and baz
and __all__ = ["foo", "bar"]
it will not prevent you from importing baz
manually. It just won’t do it automatically.
Accidentally flashed a live image (PCBSD, IIRC) onto my 1TB external HDD instead of the thumb drive. Lost years of collected music and movies that night. I learned two things:
dd
is nicknamed ‘disk destroyer’ for good reason.You can either try to contact the seller and ask for the password or just erase the UEFI settings by shorting some jumper or something. There should be instructions how to do that for your specific model.
Imagine being too stupid to properly hold your phone.
Why the /s? It’s true!
Flohmarkt? Seems simple enough.