sourcegraph: a chrome helps you read the code of GitHub repos
http://ee-fans.com/sourcegraph-a-chrome-extension-helps-you-read-code-of-github-repos/
https://redd.it/f8lopm
@r_linux
http://ee-fans.com/sourcegraph-a-chrome-extension-helps-you-read-code-of-github-repos/
https://redd.it/f8lopm
@r_linux
How to get started with linux distro development?
Hello, I have been using linux for not too long now (about half a year). I have been using Manjaro i3 edition. I have recently received my pinephone breave heart edition and I have been thinking of starting to contribute. For example, I am very interested on contribution to u/postmarkedOS. The problem is I have not done any distro development before.
What resource would you recommend as a good starting point for a beginner who wants to get their feed wet with linux distro development/contribution?
https://redd.it/f8pbhp
@r_linux
Hello, I have been using linux for not too long now (about half a year). I have been using Manjaro i3 edition. I have recently received my pinephone breave heart edition and I have been thinking of starting to contribute. For example, I am very interested on contribution to u/postmarkedOS. The problem is I have not done any distro development before.
What resource would you recommend as a good starting point for a beginner who wants to get their feed wet with linux distro development/contribution?
https://redd.it/f8pbhp
@r_linux
reddit
How to get started with linux distro development?
Hello, I have been using linux for not too long now (about half a year). I have been using Manjaro i3 edition. I have recently received my...
Google Summer of Code student applications open 16 March 2020. Want to work on a KDE project? Read the guidelines and get in touch
https://community.kde.org/GSoC
https://redd.it/f8pf06
@r_linux
https://community.kde.org/GSoC
https://redd.it/f8pf06
@r_linux
reddit
Google Summer of Code student applications open 16 March 2020....
Posted in r/linux by u/Bro666 • 4 points and 0 comments
Stuck in black screen for three days. Trying to boot from Kali linux live USB. Below image is the first thing it shows, then bunch of text appears very fast and then the dragon logo loads for a bit. Then everything goes dark and it stays that way. Please help
https://redd.it/f8r99h
@r_linux
https://redd.it/f8r99h
@r_linux
Support for the RaspberryPi4 Display Pipeline Contributed to Linux
https://lore.kernel.org/dri-devel/cover.6c896ace9a5a7840e9cec008b553cbb004ca1f91.1582533919.git-series.maxime@cerno.tech/T/#t
https://redd.it/f8tjxw
@r_linux
https://lore.kernel.org/dri-devel/cover.6c896ace9a5a7840e9cec008b553cbb004ca1f91.1582533919.git-series.maxime@cerno.tech/T/#t
https://redd.it/f8tjxw
@r_linux
io_uring Linux 5.7 feature gives polled IO huge boost
https://twitter.com/hielkedv/status/1231532586285125638?s=21
https://redd.it/f8uurc
@r_linux
https://twitter.com/hielkedv/status/1231532586285125638?s=21
https://redd.it/f8uurc
@r_linux
Twitter
frevib
#io_uring vs #epoll: simple echo server, round 2. epoll gets a final blow with io_uring's IORING_FEAT_FAST_POLL. +20% perf vs poll-send/recv. epoll: 2.6 - 5.1, thanks for the services io_uring: the new standard try it: https://t.co/rfHsPmKHx1 @axboe @pml0pes…
LPE and RCE in OpenSMTPD's default install (CVE-2020-8794)
https://www.openwall.com/lists/oss-security/2020/02/24/5
https://redd.it/f8x7dt
@r_linux
https://www.openwall.com/lists/oss-security/2020/02/24/5
https://redd.it/f8x7dt
@r_linux
reddit
LPE and RCE in OpenSMTPD's default install (CVE-2020-8794)
Posted in r/linux by u/Mcnst • 4 points and 1 comment
Anyone else feel like they can write a python noscript way faster than the equivalent bash solutions (sed, awk, printf, etc.)?
Often I want to do simple tasks and to challenge myself to not use python I lookup the bash solution using tools like sed, awk, printf, etc. But just getting through the bash syntax and how every tool has its quirks using different flags is very time consuming. I also find that any task that can't be expressed as a simple loop or pipeline takes exponentially more time to write.
For example, today I had a task of trimming the leading and trailing whitespace from every line of a text file. The awk answer `awk '{$1=$1}1'` is short but very non-obvious to me, and the regex sed answer `'s/^[ \t]*//;s/[ \t]*$//'` is a mess. Python string handling such as `str.strip()` by comparison is reasonable and can handle special characters like whitespace and backslash with no problem (vs. `read` and whatever `$IFS` is). And it should be no surprise to newbies that bash syntax is full of gotchas. It feels like I am working in a minefield of potentially code-breaking special characters.
[Some articles online](https://www.makeuseof.com/tag/sed-awk-learn/) say "everyone needs to know sed and awk" but is it really worth learning whole new syntaxes? I suppose I am repeating myself of https://stackoverflow.com/questions/107603/is-there-still-any-reason-to-learn-awk I think it's more worth my time to work a language I am familiar with rather than trying to make use of these tools. What do you think?
https://redd.it/f8yep4
@r_linux
Often I want to do simple tasks and to challenge myself to not use python I lookup the bash solution using tools like sed, awk, printf, etc. But just getting through the bash syntax and how every tool has its quirks using different flags is very time consuming. I also find that any task that can't be expressed as a simple loop or pipeline takes exponentially more time to write.
For example, today I had a task of trimming the leading and trailing whitespace from every line of a text file. The awk answer `awk '{$1=$1}1'` is short but very non-obvious to me, and the regex sed answer `'s/^[ \t]*//;s/[ \t]*$//'` is a mess. Python string handling such as `str.strip()` by comparison is reasonable and can handle special characters like whitespace and backslash with no problem (vs. `read` and whatever `$IFS` is). And it should be no surprise to newbies that bash syntax is full of gotchas. It feels like I am working in a minefield of potentially code-breaking special characters.
[Some articles online](https://www.makeuseof.com/tag/sed-awk-learn/) say "everyone needs to know sed and awk" but is it really worth learning whole new syntaxes? I suppose I am repeating myself of https://stackoverflow.com/questions/107603/is-there-still-any-reason-to-learn-awk I think it's more worth my time to work a language I am familiar with rather than trying to make use of these tools. What do you think?
https://redd.it/f8yep4
@r_linux
MUO
Every Linux Geek Needs to Know Sed and Awk. Here’s Why…
sed and awk are every Linux power user's favorite tools. But what are they? And how do you use them to process text files?
Flatcar Container Linux enters new era after CoreOS End-of-Life announcement
https://kinvolk.io/blog/2020/02/flatcar-container-linux-enters-new-era-after-coreos-end-of-life-announcement/
https://redd.it/f8y4vx
@r_linux
https://kinvolk.io/blog/2020/02/flatcar-container-linux-enters-new-era-after-coreos-end-of-life-announcement/
https://redd.it/f8y4vx
@r_linux
Kinvolk
Kinvolk: Flatcar Container Linux enters new era after CoreOS End-of-Life announcement
Flatcar Container Linux enters and new era after Red Hat announces CoreOS Container Linux End Of Life
Set sudo chmod 0750 on Admin.. how to undo
**Account Setup**
Account #1 Admin with username (called dumbfuck for this post)
dumbfuck is a default account, the first account created and a admin.
​
Account #2
Account #2 is a normal user account. We will call it bob.
Bob had acess to dumbfucks files.
I used THIS GUIDE
[https://www.howtogeek.com/190084/how-to-prevent-other-users-from-accessing-your-home-directory-in-ubuntu-14.04/](https://www.howtogeek.com/190084/how-to-prevent-other-users-from-accessing-your-home-directory-in-ubuntu-14.04/)
​
to remove bobs access to dumbfucks files
sudo chmod 0750 /home/bob
(normal user cannot see home directory of admin)
This is okay 👍
I then (being dumbfuck)
ran the same command on the admin account.
sudo chmod 0750 /home/dumbfuck
I want to reset the user permissions on the Admin so that the Admin can still see files.
Username dumbfuck can no longer view bobs files.
How can I fix the user account dumbfuck to have admin permissions again and re-open the directory of bob?!?
https://redd.it/f92bfy
@r_linux
**Account Setup**
Account #1 Admin with username (called dumbfuck for this post)
dumbfuck is a default account, the first account created and a admin.
​
Account #2
Account #2 is a normal user account. We will call it bob.
Bob had acess to dumbfucks files.
I used THIS GUIDE
[https://www.howtogeek.com/190084/how-to-prevent-other-users-from-accessing-your-home-directory-in-ubuntu-14.04/](https://www.howtogeek.com/190084/how-to-prevent-other-users-from-accessing-your-home-directory-in-ubuntu-14.04/)
​
to remove bobs access to dumbfucks files
sudo chmod 0750 /home/bob
(normal user cannot see home directory of admin)
This is okay 👍
I then (being dumbfuck)
ran the same command on the admin account.
sudo chmod 0750 /home/dumbfuck
I want to reset the user permissions on the Admin so that the Admin can still see files.
Username dumbfuck can no longer view bobs files.
How can I fix the user account dumbfuck to have admin permissions again and re-open the directory of bob?!?
https://redd.it/f92bfy
@r_linux
How-To Geek
How to Prevent Other Users From Accessing Your Home Directory in Ubuntu 14.04
If you share your Ubuntu machine with other people, you probably have multiple users set up, thinking that the other users log into their own accounts and only have access to their own home directories. However, by default, any user can access any home directory.
Local information disclosure in OpenSMTPD (CVE-2020-8793)
https://www.openwall.com/lists/oss-security/2020/02/24/4
https://redd.it/f8xc2q
@r_linux
https://www.openwall.com/lists/oss-security/2020/02/24/4
https://redd.it/f8xc2q
@r_linux
reddit
Local information disclosure in OpenSMTPD (CVE-2020-8793)
Posted in r/linux by u/Mcnst • 0 points and 1 comment
LFTP (or other) to copy file / directory with same command
Hello,
I think that I am not using lftp correctly.
Does it possible with lftp to use the same command to copy file or directory ? Actually I am doing a simple mput when it's a file and mirror when it's a directory.
I would like to use a noscript which send automatically files or directory to my personnal NAS. More precisely, when my download on Deluge is over, Execute a noscript to direct copy the fresh downloaded files/directory. But sometimes it's just a standalone file or sometimes it's a directory with sub directories
I don't find the correct syntax, i could write an IF statement but maybe we can find something more easiser and proper
If I have to use an other tool than LFTP, no problem for me ! Indeed, the best way will be a web interface to manage transfert from my Seedbox to multiple destination. Actually, I have to modify my noscript for each download depends if it's a file, directory and destination.
​
Thanks,
https://redd.it/f9854m
@r_linux
Hello,
I think that I am not using lftp correctly.
Does it possible with lftp to use the same command to copy file or directory ? Actually I am doing a simple mput when it's a file and mirror when it's a directory.
I would like to use a noscript which send automatically files or directory to my personnal NAS. More precisely, when my download on Deluge is over, Execute a noscript to direct copy the fresh downloaded files/directory. But sometimes it's just a standalone file or sometimes it's a directory with sub directories
I don't find the correct syntax, i could write an IF statement but maybe we can find something more easiser and proper
If I have to use an other tool than LFTP, no problem for me ! Indeed, the best way will be a web interface to manage transfert from my Seedbox to multiple destination. Actually, I have to modify my noscript for each download depends if it's a file, directory and destination.
​
Thanks,
https://redd.it/f9854m
@r_linux
reddit
LFTP (or other) to copy file / directory with same command
Hello, I think that I am not using lftp correctly. Does it possible with lftp to use the same command to copy file or directory ? Actually I am...