CSS selectors tell the browser which HTML elements your styles should apply to. Everything in CSS starts with selecting the right element.
| git config remote.origin.push HEAD |
| if configured openssh during installation with 'ubuntu' user: | |
| edit dev:~/.ssh/config and then: ssh ubuntu@... | |
| $ sudo useradd nakilon | |
| $ adduser nakilon sudo | |
| $ echo "nakilon ALL=(ALL:ALL) NOPASSWD: ALL" > /etc/sudoers.d/dont-prompt-nakilon-for-sudo-password && chmod 440 /etc/sudoers.d/dont-prompt-nakilon-for-sudo-password | |
| $ mkdir -p /home/nakilon/.ssh | |
| $ sudo cp ~/.ssh/authorized_keys /home/nakilon/.ssh/ | |
| $ sudo chmod 700 /home/nakilon/.ssh | |
| $ sudo chmod 600 /home/nakilon/.ssh/authorized_keys | |
| $ sudo chown -R nakilon:nakilon /home/nakilon |
Здесь я собираю подноготную из мира политики.
- Закрытый телеграм-канал 4chan
- Максим Кац: см. murzilka.io.
- Стас Ай, Как Просто! спросил у Андрея Сербанта почему в Яндексе так много людей, которые не любят путинскую Россию. См. твит Шепелина.
- В Avito около 06.04.2023 пользователи заметили, что на сайте появилась возможность вставлять в объявления ролики с платформы Rutube.
| #!/usr/bin/env bash | |
| # ~/.macos — https://mths.be/macos | |
| defaults write NSGlobalDomain AppleLanguages -array "en" "us" | |
| defaults write NSGlobalDomain AppleLocale -string "en_US@currency=USD" | |
| defaults write NSGlobalDomain AppleMeasurementUnits -string "Inches" | |
| defaults write NSGlobalDomain AppleMetricUnits -bool false | |
| # Finder: allow quitting via ⌘ + Q; doing so will also hide desktop icons |
В этом документе коротко собраны ключевые материалы по языку Ruby позволяющие быстро научиться использовать основные преимущества этого языка.
- http://rubykoans.com/ вход в язык, то с чего надо начать примерно 20 часов работы. Это материал от Jim Weirich создателя Rake аналога Make для Ruby.
- https://rubymonk.com/ - интерактивное обучение, советую пройти хотябы превый раздел. Тоже крайне важно.
- https://www.manning.com/books/the-well-grounded-rubyist-third-edition - первые 4 главы.
- https://youtu.be/K8uhD8mtorE блоки в Ruby, великолепный материал от Alex Chaffee.
- https://www.codewars.com необходимая практика, решение задачь 7kyu и изучение решений других пользователей.
| # Question by @Nakilon from 29.07.2021 Thursday. | |
| puts "Make an array four times bigger!" | |
| def make_four(array) | |
| array.map!{|x| x + x} | |
| (0...array.size).each do |i| | |
| array.push(array[i]) | |
| end | |
| end |
TL;DR (libera.chat version): In May 2021 Andrew Lee (legal owner of freenode.net) started to take over Freenode. Not liking that, unsure of the future, Freenode Staff resigned and moved to libera.chat.
TL;DR (freenode.net version): In April 2021 Tom Wesley (Head of Freenode Staff - a group of volunteers managing freenode services) tried to take over Freenode DNS. Andrew Lee disagreed. They went to lawyers. Tom lost. So Freenode Staff moved to libera.chat and set up everyone against Andrew, thus destroying Freenode. Andrew took over of what's left.
The past few weeks has not been fun on IRC, the drama based on false information and assumptions has been insane. I've almost entirely been silent on the drama because I know the fallout that would happen if I spoke up.
A quick TLDR - I'm quitting all IRC development. KiwiIRC project lead, IRCv3 technical board, supporting the multitude of IRC networks, the lot.
Many people seem to think that I am supporting one side in everything that is going on, so just to be clear: I am not supporting any side of the current freenode drama - there is so much false information going around from everywhere that it is impossible to support anybody.
-
use livestream_saver to download from the first segment. Can also record membership-only streams by supplying it your cookies (uses yt-dlp to download)
-
use ytarchive which basically does the same thing, except a bit better.
-
use youtube_stream_capture. You can use cookies file to get member-only streams too. Be aware that this script currently fails to download chunks as soon as the stream has ended (this might be a bug).
-
or use live-dl which does monitoring of streams too. This is a wrapper around streamlink and yt-dlp.