~/dev/
, with project/org subdirectories
- 0 Posts
- 27 Comments
mlfh@lemmy.mlto Linux@programming.dev•Russia Mulls Forking Linux in Response to Developer Exclusions494·9 months agoThe real challenge facing a kremlin linux fork isn’t opposition, it’s deciding what to do once they realize there aren’t any maternity wards in the kernel they can shoot ballistic missiles at.
mlfh@lemmy.mlto Linux@lemmy.ml•ssh won't ask for password unless i force `PubkeyAuthentication=no`152·9 months agoIf you’re trying to have password auth be a second layer on top of key auth (requiring a password after connecting with your ssh key), you can add the following to your server’s sshd_conf:
AuthenticationMethods "publickey,password"
/dev/sda is the whole raw disk - you typically don’t want to directly interact with /dev/sda, unless you are partitioning or overwriting it. There are a few layers between that device and the files:
- raw disk - /dev/sda
- disk partition - /dev/sda1
- luks container - when unlocked, mapped to /dev/mapper/{name}
- ext4 filesystem inside the luks container, mounted somewhere like /mnt, /media, etc
You’ll need to find where that ext4 filesystem is mounted, and run the chown command on that. You can run
lsblk
and see a tree of the above hierarchy, with the ext4 filesystem’s mountpount shown in the right-hand column.
Nikita Khrushchev, in his own memoir, stating clearly that the USSR could not have won the war on its own:
I would like to express my candid opinion about Stalin’s views on whether the Red Army and the Soviet Union could have coped with Nazi Germany and survived the war without aid from the United States and Britain. First, I would like to tell about some remarks Stalin made and repeated several times when we were “discussing freely” among ourselves. He stated bluntly that if the United States had not helped us, we would not have won the war. If we had had to fight Nazi Germany one on one, we could not have stood up against Germany’s pressure, and we would have lost the war. No one ever discussed this subject officially, and I don’t think Stalin left any written evidence of his opinion, but I will state here that several times in conversations with me he noted that these were the actual circumstances. He never made a special point of holding a conversation on the subject, but when we were engaged in some kind of relaxed conversation, going over international questions of the past and present, and when we would return to the subject of the path we had traveled during the war, that is what he said. When I listened to his remarks, I was fully in agreement with him, and today I am even more so.
-Khrushchev, Nikita Sergeevich; Khrushchev, Serge (2004). Memoirs of Nikita Khrushchev: Commissar, 1918–1945. Penn State Press. pp. 638–639.
mlfh@lemmy.mlto Ask Lemmy@lemmy.world•What instances do you block and/or contain the most trolls?674·10 months agoI blocked hexbear and lemmygrad to stop the firehose of kremlin/beijing propaganda cluttering up my feed and that made my lemmy experience worlds better. There’s only so many times you can read “special military operation” used unironically…
mlfh@lemmy.mlto World News@lemmy.world•Japan says Chinese military violated territorial airspace for first timeEnglish27·11 months agoThe Y9 in question here though is slow, fat, and low - max speed of 360kn and a service ceiling of 10,000m. It’s a cargo plane with EW stuff on it.
mlfh@lemmy.mlto World News@lemmy.world•Russia complained that its 'peaceful' people don't deserve to be invadedEnglish92·11 months agoGet fucked, Russia.
Ctrl+r was a life-changer when I first learned it.
I’d recommend a full battery calibration before running the command one more time, if you haven’t already (charge the battery fully, leave it on the charger at 100% for a while, then fully discharge until it shuts itself off, leave it for a bit, then fully recharge while off). If the calibrated values line up with a full:design ratio of ~80%, especially with a 10-year-old battery with almost 700 cycles on it, my take is that’s pretty great.
That said, I think the best way to get an accurate feel for the health of an old battery is to put it through one full cycle of normal use and time how long it takes to die.
Best gun-pants ergonomics, tucked in the front
mlfh@lemmy.mlto Linux@lemmy.ml•Software for remote desktop with phone confirmation to use on untrusted machines15·1 year agoIf you’re genuinely worried about this, you shouldn’t be using untrusted machines for remote access.
mlfh@lemmy.mlto Linux@lemmy.ml•Software for remote desktop with phone confirmation to use on untrusted machines6·1 year agoApache Guacamole might be a good option. “Clientless” (browser-based), supports various mfa, uses ssh/vnc/rdp on the backend.
However, if the data on that machine is sensitive, or if that machine has access to other sensitive things on your network, I’d suggest caution in allowing remote access from untrusted machines on the wider internet.
The resolution is actually quadrupled by doubling the value of both axes. In this case going from 1500x1424 (2.1MP) to 3504x3327 (11.7MP) multiplies the total number of pixels by 5.4
With the same level of jpeg compression you’d expect it to jump from 700KB to roughly 4MB. Since both images are the same file format, the rest of the file size difference is likely attributable to less jpeg compression being used in the larger image.
mlfh@lemmy.mlto World News@lemmy.world•Ukrainian Olympic weightlifter Oleksandr Pielieshenko dies in war with RussiaEnglish52·1 year agoHe volunteered.
mlfh@lemmy.mlto Ask Lemmy@lemmy.world•What documentaries feel the most like strolling through a calming art museum on a pleasant spring day?11·1 year agoThe BBC Historic Farm Series is a collection of docuseries about daily life on English/Welsh farms from the Tudor period to WW2, with each series following a group of people spending a full year on a farm in each period. They show you all the ins and outs of life as it would have been in each era, and it’s like traveling back in time, a living museum.
The first series, Tales From The Green Valley, is available in full on archive.org, and is my favorite of the bunch. One episode per month of a year, on a little farm in Stuart-era England. It’s lovely.
The only legitimate commands for a non-root shell are
sudo -i
,exit
, andecho "yee haw"
mlfh@lemmy.mlto Linux@lemmy.ml•Please share your power optimizations to maximize battery life30·1 year agopowertop is a cool tool that can analyze your machine and provide a list of suggested power optimizations
I actually have my whole home directory like that for that reason haha
bin - executables dev - development, git projects doc - documents etc - symlinks to all the local user configs med - pictures, music, videos mnt - usb/sd mountpoints nfs - nfs mountpoints smb - smb mountpoints src - external source code tmp - desktop