Початок завжди найскладніший: сумніви, страх невдачі, думки про те, що вже занадто пізно. Але кожен великий шлях починається з першого кроку. Як зробити його впевнено?
Ось три правила, які допоможуть почати з нуля:
1️⃣ Діяти, навіть якщо не ідеально. Не чекайте, поки все буде ідеально підготовлено. Почніть із тим, що маєте, і там, де ви є. Ви здивуєтеся, як багато можна зробити маленькими кроками.
«Якщо чекати на ідеальні умови для того, щоб почати щось робити — можна ніколи не почати».
2️⃣ Оточити себе підтримкою. Ваше оточення впливає на ваш успіх. Спілкуйтеся з тими, хто вже досягнув бажаного, або з людьми, які вірять у вас. Підтримка важлива, особливо на початку.
«Оточення формує ваші горизонти».
3️⃣ Фокусуватися на процесі, а не на результаті. Не порівнюйте себе з тими, хто вже далеко попереду. Зосередьтеся на тому, що робите сьогодні, і поступово будуватимете своє майбутнє.
🌟 Пам’ятайте: Усі колись починали з нуля. Головне — не зупинятися через страх чи сумніви. Маленькі кроки щодня ведуть до великих змін.
Стрілкові функції в JavaScript – це не просто скорочений синтаксис, а справжні магічні стріли, які можуть зробити ваш код більш читабельним та зручним. Ось декілька цікавих речей, які ви можете робити з ними:
Короткі функції з одним виразом: Стрілкові функції ідеально підходять для коротких функцій, які повертають один результат. Наприклад:
Лексичне прив’язування this: Стрілкові функції автоматично прив’язують this до контексту, в якому вони були створені. Це уникне багатьох проблем, зокрема при роботі з об’єктами та подіями.
Ланцюги обіцянок (Promises): Стрілкові функції можна використовувати в асинхронних операціях:
Windows built-in Remote Desktop Connection makes it possible to access the computer remotely. Wonder can you check remote desktop connection history? The answer is Yes! Here in this part, we provide you with two methods to view connection history of Remote Desktop on Windows 10, 11. Check the RDP connection history via Event Viewer.
Step 1. Press Win + R to invoke the Run dialog box, then type in “eventvwr.msc” and press OK to open Event Viewer.
Step 2. Navigate here: Applications and Services Logs > Microsoft > Windows > TerminalServices–RemoteConnectionManager > Operational. Right-click Operational and choose Filter Current Log.
Step 3. The EventID of Remote Desktop Services is 1149. Then enter 1149 to filter the log.
Step 4. Then you will get an event list with the history of all RDP connections to this server.
Step 5. Click one of them, then you can see the details of the RDP connection, including IP address, computer name, login time, etc.
This article will show how to grow a partition on your Linux partition to fill the entire disk using growpart. This is useful if you have resized a virtual machine disk, or moved to a larger disk on your desktop or laptop Linux system.
Step 1: Listing and Identifying Storage Devices
To expand the filesystem on your resized disk, you’ll need to first locate the disk using the lsblk command, execute it by running:
lsblk
And you will see output similar to the following listing storage devices and the partitions on them:
Above, you can see that disk sda has a size of 50 gigabytes, but that the volume containing the root partition (sda3) is only 29.5 gigabytes – there is unused space on the storage device.
There may be multiple entries in the output from lsblk – you’ll need to identify the disk you have resized by the size and utilization – it should be apparent which disk has unused space. Usually on single-disk machines, the first and only storage device will be named sda.
You will also need to know the name of the partition your wish to grow – in this case sda3 – usually identified by it having the root mount point of /.
Step 2: Installing growpart
growpart is a utility that makes it super easy to grow a partition. It’s part of the cloud-guest-utils package. Note that while this package is intended to work on cloud-hosted virtual machines, the growpart utility also works just fine on physical machines.
On Debian and Ubuntu, run:
sudo apt install cloud-guest-utils
On Arch, run:
pacman install cloud-guest-utils
On RedHat, run:
yum install cloud-utils-growpart -y
Step 3: Grow your Partition
Once growpart is available, growing a partition to use the entire remaining disk space is as simple as running:
sudo growpart /dev/sda 3
You’ll need to specify the correct partition name above, replaceing sda 3 (note the space! the device and partition number are separated when using growpart) if necessary. growpart is executed with no additional parameters – if the size parameter is not specified, it will default to the available size of the partition.
Now that the partition has been expanded, the file system must be also using resize2fs:
sudo resize2fs /dev/sda3
Note that the space has disappeared in the device path again.
You will see output similar to:
Confirming the change. Once this final step is done, reboot:
If using systemd-resolved as your DNS resolver (i.e. the hosts line of your /etc/nsswitch.conf file includes the word resolve and/or /etc/resolv.conf contains the line nameserver 127.0.0.53), then this command will flush its cache:
This will encode the video to H.264 video and AAC audio, using the default quality. To change the quality for the video, use a different CRF value, where lower means better, e.g. 20 or 18. For audio, 100% is the default quality. Increase the value for better quality.
For the AppleTV specifically, this is what Apple says it supports:
H.264 video up to 1080p, 30 frames per second, High or Main Profile level 4.0 or lower, Baseline profile level 3.0 or lower with AAC-LC audio up to 160 kbit/s per channel, 48 kHz, stereo audio in .m4v, .mp4, and .mov file formats
So, you could use the following command to force the 30 Hz frame rate and High profile:
Allow everything on WLAN1 that has a signal above -87dBm (eg, signal between -86 and+120 dBm) , and allow even that signal to drop below -87 dBm for 30 sec.
The allow is authenticate (associate) and forwarding (connect to other clients). The allow-signal-out-of-range is needed because devices are in their hands, so the signal fluctuates, but I prefer not to drop them immediately.
To stop the weak signal connections on WLAN1 the next line is needed. For everything with signal between -87 and -120 dBm there is no authentication allowed.
The allow-signal-out-of range is short here (1 sec) because this is used for roaming clients that are sticky to their first AP, but they may come back very soon to this AP, and I prefer not to deny them longer than needed.
In first two lines we create some label which contains some directive db width string “Hello World!“, and last symbol 10 – line feed. Directive is like variables in high level programming languages.
Directive db can use 1 byte for writing information and can write constants from -128 to 255 and can write symbols and strings.
Next create label _start: and width command mov we write some data in processor address (register):
mov rax, 1 – move 1 in register rax – in this string we call data recording. mov rdi, 1 – This register response for input and output stream. When we send 1 in register rdi we say processor to work width standard output stream. mov rsi, message – we write address of our string in register rsi. mov rdx, 14 – we write count bytes of our string in register rdx.
Next we make system call width command syscall.
mov rax, 60 – we put number 60 in register rax – this is system call for exit.
And again make system call width command syscall.
At the end of program we run command section .data
Width command global _start we run our program from label _start.
Width command section .text we declare text part of our code