Посмеялся от души.
Пост, из которого можно совершенно точно выяснить почему же яндекс говно:

find . -perm -u+r # Найти всё читаемое
find . ! -perm -u+r # Найти всё нечитаемое
find . -perm -u-r # Бесстыдно нассать в глаза юзеру, не показав никакой ошибки

linux - Using find -perm to find when a permission is not set - Stack Overflow

Про xargs тут ничего нет, но наверняка буду искать xargs в поисках этой хуиты.

Впрочем, добавим и про xargs

find . ! -perm -u+r | xargs -I % echo =%=
find . ! -perm -u+r | xargs -I % chmod u+r %

Чтоб быть справедливым возмездье могло,
Лишь злом воздавать подобает за зло.


Это происходит благодаря обычаям из 1000 до н.э., когда египетские погонщики рабов обменивались мешками с глиной, один погонщик мог выстрелить в голову раба из лука (Ctrl+S) чтобы приостановить передачу, а потом послать нового продолжать нести груз (Ctrl+Q). Во имя соблюдения традиций, эти возможности перенесли в гномий терминал.

To disable Ctrl-s permanently in terminal just add this line at the end of your .bashrc script (generally in your home directory)

stty -ixon


One reason NOT to learn awk is that it doesn't have non-greedy matches in regular expressions.

I have an awk code that now I must rewrite only because I suddenly debugged that there is no such thing as non-greedy matches in awk/gawk thus it can't properly execute some regexes.


Everything dies sometime.


King Arthur: Old woman!
Dennis: Man.
King Arthur: Man, sorry. What knight lives in that castle over there?
Dennis: I'm 37.
King Arthur: What?
Dennis: I'm 37. I'm not old.
King Arthur: Well I can't just call you "man".
Dennis: Well you could say "Dennis".
King Arthur: I didn't know you were called Dennis.
Dennis: Well you didn't bother to find out, did you?
King Arthur: I did say sorry about the "old woman", but from behind you looked...
Dennis: What I object to is you automatically treat me like an inferior.
King Arthur: Well, I am king.
Dennis: Oh, king eh? Very nice. And how'd you get that, eh? By exploiting the workers. By hanging on to outdated imperialist dogma which perpetuates the economic and social differences in our society. If there's ever gonna be any progress...
Peasant Woman: Dennis! There's some lovely filth down here... Oh! How do you do?
[Dennis joins the Peasant Woman in the nearby filth patch]
King Arthur: How do you do, good lady? I am Arthur, king of the Britons. Whose castle is that?
Peasant Woman: King of the who?
King Arthur: The Britons.
Peasant Woman: Who're the "Britons"?
King Arthur: Well, we all are. We're all Britons, and I am your king.
Peasant Woman: Didn't know we had a king. I thought we were an autonomous collective.
Dennis: You're fooling yourself. We're living in a dictatorship! A self-perpetuating autocracy, in which the working classes...
Peasant Woman: Oh, there you go, bringing class into it again.
Dennis: Well, that's what it's all about! If only people would--
King Arthur: Please, please, good people, I am in haste. Who lives in that castle?
Peasant Woman: No one lives there.
King Arthur: Then who is your lord?
Peasant Woman: We don't have a lord.
King Arthur: What?
Dennis: I told you, we're an anarcho-syndicalist commune. We take it in turns to act as sort of executive officer for the week...
King Arthur: Yes...
Dennis: ...but all the decisions of that officer have to be ratified at a special bi-weekly meeting...
King Arthur: Yes I see...
Dennis: ...by a simple majority in the case of purely internal affairs...
King Arthur: Be quiet!
Dennis: ...but by a two thirds majority in the case of more...
King Arthur: Be quiet! I order you to be quiet!
Peasant Woman: "Order", eh? Who does he think he is?
King Arthur: I am your king.
Peasant Woman: Well, I didn't vote for you.
King Arthur: You don't vote for kings.
Peasant Woman: Well, how'd you become king, then?
[Angelic music plays...]
King Arthur: The Lady of the Lake, her arm clad in the purest shimmering samite, held aloft Excalibur from the bosom of the water, signifying by divine providence that I, Arthur, was to carry Excalibur. That is why I am your king.
Dennis: Listen. Strange women lying in ponds distributing swords is no basis for a system of government. Supreme executive power derives from a mandate from the masses, not from some farcical aquatic ceremony.
Arthur: Be quiet!
Dennis: You can't expect to wield supreme executive power just 'cause some watery tart threw a sword at you!
Arthur: Shut up!
Dennis: I mean, if I went around saying I was an emperor just because some moistened bint had lobbed a scimitar at me, they'd put me away!
Arthur: [grabs Dennis] Shut up! Will you shut up?!
Dennis: Ah, now we see the violence inherent in the system!
Arthur: [shakes Dennis] Shut up!
Dennis: Oh! Come and see the violence inherent in the system! Help, help, I'm being repressed!
Arthur: Bloody Peasant!
Dennis: Ooh, what a giveaway! Did you hear that? Did you hear that, eh? That's what I'm on about! Did you see him repressing me? You saw it, didn't you?


Сука блядь йбаный в рот во-первых openvpn по умолчанию настроен работать как сервер, а не как клиент. Поэтому после

apt install openvpn

нужно набрать

nano /etc/default/openvpn

и раскомментировать там


В /etc/openvpn при этом должен лежать ёбаный config.conf

root@me:/etc/openvpn# ll
total 28
drwxr-xr-x   2 root root  4096 окт 21 20:20 ./
drwxr-xr-x 142 root root 12288 окт 21 20:07 ../
-rw-r--r--   1 root root  8143 окт 21 15:35 config.conf
-rwxr-xr-x   1 root root  1301 июн 22 18:23 update-resolv-conf*

Дальше нас ждёт подарок от поцтеринга, который решил что линукс слишком прост и нужно превратить его настройку в ёбаный ад. Для этого он сделал команду

systemctl daemon-reload

о которой упоминается в /etc/default/openvpn

# If you're running systemd, changing this variable will
# require running "systemctl daemon-reload" followed by
# a restart of the openvpn service (if you removed entries
# you may have to stop those manually)

Без неё ничего не заработает. Поэтому её надо запустить. Лично у меня сейчас это работает так:

nano /etc/default/openvpn
service openvpn stop
service openvpn start
--> хуй без масла, просто нихуя не работает и всё блядь, хоть ты ебанись

nano /etc/default/openvpn
service openvpn stop
systemctl daemon-reload
service openvpn start
--> заработало сука блядь

После вышеуказанных анальных плясок с арифмометром, openvpn должен при каждом ребуте самостоятельно включаться и радовать вас свежими заграничными нулями и единицами из мира где рыжая шлюха на пенсии ещё пока работает в порту, где ей и положено, а не в доме, который по недоразумению выкрасили в белое.

I've installed xubuntu it worked good. I thought well maybe pulseaudio will work (because Skype requires it)? I've installed pulseaudio, the system got fucked up. I've got two different mixers in the top right corner which acted independently and one of them couldn't reach 100% by stucking on 93%. This made my headphones left and right channel sound on a different volume. Sigh.
I've opened terminal and typed in

sudo apt purge pulseaudio

The operation ended as expected and I have decided to listen to some music. No. No sound. What happened?
I've opened terminal and typed in


What did I see?

Why do you mute the front channel, pulseaudio? Why are you so mean and evil?
I moved the cursor to front channel by a keyboard arrows and pressed M. Front channel has been unmuted and the music started playing. I've closed alsamixer by pressing ESC and became an alcoholic. Fin.


Le solution:

DON't use .exec
Use .spawn

The function is bad, it's design is bad, it's behaviour is unpredictable, it can be replaced by .spawn, there is no fucking excuse for anyone to ever use it.

If you do like:

proc = child_process.exec(...genius code...)

It continues to flood its internal buffer even if you do not provide any callback where the buffer is meant to be used.
This function is fucking nuts!

Keep calm and 200KB is enough for everyone.

[ ]