Тёмный

Add a Simple LOADING BAR To Your Shell Scripts! 

Cheesed Up
Подписаться 4 тыс.
Просмотров 80 тыс.
50% 1

Опубликовано:

 

22 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 57   
@benzo522
@benzo522 2 месяца назад
Cheese@fridge lol
@sonap8620
@sonap8620 2 месяца назад
lmao even
@blackIce504
@blackIce504 6 дней назад
Love it, this should jaz up my scripts that i have for things.
@sterlingphoenix
@sterlingphoenix 9 часов назад
This is the third time I've seen someone tough filename before editing it... and I'm not sure why. vi (or any other editor) will happily save the new file for you.
@kaosce
@kaosce 2 месяца назад
Would it not be simpler to write terminal_width / max_count characters instead of doing the 2 loops thing?
@cheesed_up
@cheesed_up Месяц назад
This video is so old that I honestly have no idea what you are talking about - and you are probably right :)
@ixin645
@ixin645 Месяц назад
i was thinking of achieving that with some kind of a buffer for the current tty and using clear to update it to the next one (instead of remembering cursor position)
@jomix282
@jomix282 2 месяца назад
Great job, very interesting, thanks for the video
@sharpfang
@sharpfang 2 месяца назад
echo -n for no newline.
@slendi9623
@slendi9623 2 месяца назад
Ain't that a gnu extension
@sharpfang
@sharpfang 2 месяца назад
@@slendi9623 Dunno, it's been over 20 years since I last used non-gnu unix-like.
@FsFs3mk-u9n
@FsFs3mk-u9n 2 месяца назад
He clearly stated POSIX compliance in the video, echo -n isn't
@martinrocket1436
@martinrocket1436 2 месяца назад
And for n in $(seq 5) for five repetitions with n holding the integers from 1 to 5.
@martinrocket1436
@martinrocket1436 2 месяца назад
​@@FsFs3mk-u9n good point! Thank you!
@thomashenden71
@thomashenden71 8 дней назад
Tired of waiting for an uknown time watching forever spinning wheels? ❂ Well - let’s MPBGA! "MAKE PROGRESS BARS GREAT AGAIN!" 😄
@cheesed_up
@cheesed_up 8 дней назад
I love this!
@khoaho1446
@khoaho1446 2 месяца назад
Thank you sir
@shenmuea
@shenmuea Месяц назад
great video! How can I implement this in a system update script I made?
@cheesed_up
@cheesed_up Месяц назад
I think there should be info about this in the readma (see description for the link to the project). But essentially, you copy these functions to your script and call them at appropriate times.
@Chemaclass
@Chemaclass Месяц назад
Super cool!
@Anonymous-pm3qz
@Anonymous-pm3qz 22 дня назад
is it possible to use it with arch linux's pacman ?
@cheesed_up
@cheesed_up 22 дня назад
Hmm, not sure what you mean. Pacman has it's own implementation built in - and it's probably written in C, not in shell script. I hope I answered your question, sorry if I misunderstood it :)
@null11q
@null11q 27 дней назад
Cool
@owenpierce
@owenpierce 17 дней назад
echo with -n flag won't print the trailing new line character similar to printf for anyone wondering
@cheesed_up
@cheesed_up 16 дней назад
It's not posix compliant though :/
@EverythingTechTime
@EverythingTechTime 25 дней назад
Looking at the thumbnail made me realize I've been writing too much brainfk
@cheesed_up
@cheesed_up 24 дня назад
RIP in peace - I just died of laughter.
@Fernando-du5uj
@Fernando-du5uj 2 месяца назад
Cool. Thanks
@Exotic69420
@Exotic69420 2 месяца назад
nice shell
@BestHacksForever
@BestHacksForever Год назад
thanks! i subbed!
@SugarBeetMC
@SugarBeetMC 2 месяца назад
for Python: pip install tqdm
@friedrichmyers
@friedrichmyers 2 месяца назад
And you will forever stay a fucking mediocre dev
@friedrichmyers
@friedrichmyers 2 месяца назад
Shit developers use such ways and don't learn
@fuzzboi
@fuzzboi 2 месяца назад
Soo good developers have to know how to display a loading bar for your shell script?😂
@friedrichmyers
@friedrichmyers 2 месяца назад
@@fuzzboi Good developers have to know that it is stupid to use too many packages when simple logic can do the work. Remember what happened to leftPad? Become a good developer and then bother replying.
@fuzzboi
@fuzzboi 2 месяца назад
@@friedrichmyers go and touch some grass buddy. A good developer knows what is worth spending time on and what is not.
@pavelyankouski4913
@pavelyankouski4913 2 месяца назад
ASCII stuff
@laughingvampire7555
@laughingvampire7555 2 месяца назад
fuck posix compliance
@cheesed_up
@cheesed_up Месяц назад
:0
Далее
How programmers flex on each other
6:20
Просмотров 2,4 млн
The 3 Laws of Writing Readable Code
5:28
Просмотров 650 тыс.
#kikakim
00:17
Просмотров 8 млн
These Are Too Smooth 😮‍💨
00:57
Просмотров 7 млн
*Next-door 10x Software Engineer* [FULL]
4:50
Просмотров 723 тыс.
Transform Your Scripts With Bash Simple Curses
16:15
Просмотров 110 тыс.
Creating a window - Software from Scratch (Ep. 1)
1:04:12
How to Crack Software (Reverse Engineering)
16:16
Просмотров 640 тыс.
Become a shell wizard in ~12 mins
12:25
Просмотров 254 тыс.
The Midpoint Circle Algorithm Explained Step by Step
13:33
How to think like A GENIUS Programmer
6:29
Просмотров 254 тыс.