Agility0971

joined 3 years ago
[–] Agility0971@lemmy.world 3 points 3 months ago

Thats why you keep a second stick nearby

[–] Agility0971@lemmy.world 1 points 3 months ago* (last edited 3 months ago) (2 children)

I'll rephrase: VPN server is someone elses computer

[–] Agility0971@lemmy.world -3 points 3 months ago (6 children)

Vpn is someone elses computer

[–] Agility0971@lemmy.world 33 points 4 months ago (4 children)

Your concerns are valid.

In my opinion the easiest solution, if you don't know what youre doing (or dont wanna care) would be to use exclusively an immutable distro. That would lock you out of tweaking the system, but also heavily limit any potential malware. This should be sufficient imo:

  • keep system up to date
  • dont run programs or commands from unofficial channels
  • have firewall enabled and running
  • make offline backups of user files
  • use immutable distro
[–] Agility0971@lemmy.world 1 points 4 months ago

airgapped 2FA

[–] Agility0971@lemmy.world 2 points 4 months ago

One could implement a finger based pin code where numbers 0-9 maps to unique fingers. Maybe that could somehow work?

[–] Agility0971@lemmy.world 2 points 4 months ago

Why not create methods in the struct? Type would be just a pointer to a function. Ez

[–] Agility0971@lemmy.world 8 points 4 months ago (1 children)

Odd that lang parameter is the last argument. makes more sense to have it being the first one

[–] Agility0971@lemmy.world 3 points 5 months ago

Just use the curtains

[–] Agility0971@lemmy.world 2 points 5 months ago* (last edited 5 months ago) (2 children)

From cli you cannot right now. Thought you ment through GUI. The discussion about this is ongoing in 3718 and in 1687. Go and hit thumbs up on them.

[–] Agility0971@lemmy.world 2 points 5 months ago

Uninstall app from overview

20
submitted 1 year ago* (last edited 1 year ago) by Agility0971@lemmy.world to c/linux@lemmy.ml
 

Can someone explain why this would make the command wait forever? What is tee waiting for?

echo "test" | sudo tee newfile

What would be a scriptable workaround for such cases?

Edit: this command would not terminate in zsh. This works fine in bash tho.

 

Do anyone know how to disable the touchscreen on wayland? All I find is only relevant for x11

21
submitted 2 years ago* (last edited 2 years ago) by Agility0971@lemmy.world to c/selfhosted@lemmy.world
 

I'm looking for a simple remote system monitoring and alerting tool. Nothing fancy. Do you know of any? Features:

  • monitors CPU, memory and disk space
  • can accept multiple hosts to watch
  • has some sort of alerting system
  • can be deployed as a single docker container
  • can be configured using a text file
  • configs can be imported and exported inside the docker compose file

I like uptime-kuma but it only records the uptime. Other containers I've found seemed to be overly complicated. They requires multiple docker containers for log aggregation etc...

 

In every country there are several mobile service providers. And with current EU regulations no mobile provider can charge extra for traveling within EU. Mobile providers in my country are definitely more expensive that average European mobile plan. I was wondering, can I downgrade my current plan to only keep my current phone number and purchase a plan from a cheaper mobile provider in another EU country with unlimited data and just use roaming all the time since I'm in EU? What are your thoughts? Do you know about a cheap mobile data plan?

1
Apple MacBook SSDs (lemmy.world)
submitted 2 years ago* (last edited 2 years ago) by Agility0971@lemmy.world to c/hackintosh@lemmy.world
 

I've picked up an old MacBook air 2013 from trash without battery and ssd. I want to see if I can bring it back to life. Apparently Apple does not use standard SSD. Do you know about any adapters in the market that would make it possible to use a standard SSD? I don't want to spend money on non standard SSDs that works only on macs. I don't even know if it work even at this point.

 

Hi, what do you use to cooperate on simulink projects? I tried using git on GitHub at first but the issue is that GitHub has a size limitation on blobs. It suggested to use git-lfs however that filled the storage space up almost instantly. is there any other solutions you've found useful?

 

has anyone had any success with squad 6.0 yet?

1
submitted 3 years ago* (last edited 3 years ago) by Agility0971@lemmy.world to c/neovim@sopuli.xyz
 

I'm using NvChad and in ~/.config/nvim/lua/core/mappings.lua there is a keybinding for LSP code action:

  ["<leader>ca"] = {
    function()
      vim.lsp.buf.code_action()
      -- TODO: write buffer to file
    end,
    "LSP code action",
},

this keybinding applies the code action, but does not write to file. I want to write changes to file as soon as I've applied the code action.

How can I use the documentation at https://neovim.io/doc/ to find the correct function? I've tried looking for a write() function but I could not find anything I can call from lua.

view more: next ›