Тёмный
theteachr
theteachr
theteachr
Подписаться
A teacher aims at changing the way things are taught, and make the world a better place. I mostly teach programming, but you can occasionally expect something that's !programming.
Counting Sort
3:48
Год назад
[c][explained] Destructive XOR
2:29
Год назад
[vim] The Normal Command
2:28
2 года назад
Getting Control on the Shell
3:25
2 года назад
[vim] Formatting JSON
1:25
2 года назад
[vim] Marks
2:27
2 года назад
[vim] Silly Comment Box
1:59
2 года назад
[vim] Copying Recent Files
4:19
2 года назад
[vim] The Block Mode
0:58
2 года назад
Tiny Channel Update
0:26
2 года назад
02 Vim
8:55
2 года назад
01 Vim
12:35
2 года назад
[vim] Macros
1:40
2 года назад
[vim] Navigation Across Lines
3:34
2 года назад
[css] Flex vs Grid
4:38
2 года назад
[bash][zsh] The Bang
3:30
3 года назад
[vim] Text Objects
2:40
3 года назад
[vim] Getting Around Without CAPS
0:47
3 года назад
Комментарии
@taimoorfazal8832
@taimoorfazal8832 День назад
Amazing and brief tutorial
@friedrichmyers
@friedrichmyers 2 дня назад
When do we use Macros and when do we use Void pointers? I can create a macro and it will create things for me as well. But it will be different everytime.
@abrarnizam4921
@abrarnizam4921 6 дней назад
Explaining the algorithm using colors instead of index numbers made it so much easier to understand. 🙏🙏
@abdullah5802
@abdullah5802 15 дней назад
What I would do is make generic functions that can operate on a linked list with any data type by using macros and such and let the user create the struct with the datatype he wants.
@CylonNumber2
@CylonNumber2 19 дней назад
which we could see what keystrokes you are typing
@w3jd4n
@w3jd4n 23 дня назад
i kept rechecking if the speed was at 1.25 but maybe i couldn't catch on because english isn't my first language
@morzatt
@morzatt Месяц назад
I recently started your videos about C, and I really love them all. I just came by to say thanks for sharing your content, and I hope to see way more of them.
@theteachr
@theteachr Месяц назад
I forgot to mention that you can't edit the number with a cursor free to move between the digits.
@strongleong3717
@strongleong3717 Месяц назад
Cool video, but structs without typedef is hurting my soul 😅 You can do something like this: ``` typedef struct MyStruct { // fields } MyStruct; MyStruct *var = NULL; ``` If you need to reference type in itself, you must declare typesef separatly from declaring struct: ``` typedef struct Node Node; struct Node { Node *next; }; ``` Also naming struct is not nessecary (if you don't nest this struct): ``` typedef struct { // fields... } MyStruct; ```
@theteachr
@theteachr Месяц назад
Something I picked up from Linus. He despises typedeffing. You can read more on "linus on typedef". Maybe it'll soothe your hurt soul a little bit.
@alitoto5452
@alitoto5452 Месяц назад
You should get more views. I usuallyt never comment but this was so good thanks bro
@cpjchute
@cpjchute Месяц назад
Time Complexity: O(2n) Space Complexity: Best: O(1) Avg: O(n) Worst: O(n)
@theteachr
@theteachr Месяц назад
Complexity analyses of this algorithm are not straight forward because it not only depends on the size of the input, but also its nature.
@mithrandirek1813
@mithrandirek1813 Месяц назад
Don't store a data pointer in node, store the data itself, let user alloc nodes with enough space
@mndtr0
@mndtr0 Месяц назад
Cool. Btw what color scheme? (sorry for often question)
@theteachr
@theteachr Месяц назад
Everforest
@mndtr0
@mndtr0 Месяц назад
@@theteachr Thanks!
@nahblue
@nahblue Месяц назад
So confused by this until I realized :vim is short for :vimgrep
@alicenNorwood
@alicenNorwood Месяц назад
Actually very useful thing for Vim users. Shared it on my X 😊
@theteachr
@theteachr Месяц назад
Thanks for the crosspost!
@ArthurSchoppenweghauer
@ArthurSchoppenweghauer Месяц назад
*installs vscode*
@petaro
@petaro Месяц назад
I'm curious what font you use? It looks great!
@theteachr
@theteachr Месяц назад
I think it's Input Mono.
@ChrisCox-wv7oo
@ChrisCox-wv7oo Месяц назад
Another option if you have a large document but don't want to json clean it all. Highlight the Json block (V) and perform the same command :'<'>! python -m json.tool
@codenocode
@codenocode Месяц назад
subscribed
@Jonas-Seiler
@Jonas-Seiler Месяц назад
odd, didn’t need a tutorial for vscode
@vikas2__4
@vikas2__4 Месяц назад
@Dellvmnyam
@Dellvmnyam 2 месяца назад
Suffer
@dog4ik
@dog4ik 2 месяца назад
You are so back
@mihaipauldtru
@mihaipauldtru 2 месяца назад
There's something about using vim to work on helix source but I can't quite put my finger on it. Kinda like using your car to take your bicycle for a walk.
@no_name4796
@no_name4796 Месяц назад
You walk your bike!?
@KavinSood-pk9br
@KavinSood-pk9br 2 месяца назад
lovely to see you back!
@fakt7814
@fakt7814 2 месяца назад
I waited for the punchline but it never came...
@theteachr
@theteachr 2 месяца назад
I hope you can :cope with it.
@lucianchauvin8587
@lucianchauvin8587 2 месяца назад
such an important thing to know
@macunaima2664
@macunaima2664 2 месяца назад
cool! now show how to cope with my anxiety using vim
@RenderingUser
@RenderingUser 2 месяца назад
the only non clickbait clickbait
@sanderbos4243
@sanderbos4243 2 месяца назад
Cool feature!
@freemasry-gr8hw
@freemasry-gr8hw 2 месяца назад
damn this is so cool, i didn't know about that !
@not_herobrine3752
@not_herobrine3752 2 месяца назад
guess the edlin user will have to cope with merely being able to search buffers
@brockdaniel8845
@brockdaniel8845 2 месяца назад
neovim <3
@arterius169
@arterius169 2 месяца назад
I can do the same with ctrl+f in a normal IDE. Why even bother?
@LLlAMnYP
@LLlAMnYP 2 месяца назад
Just checked in vscode. Regexps don't work.
@mariusz7238
@mariusz7238 2 месяца назад
​@@LLlAMnYP Then you gotta read some more about vscode
@mariusz7238
@mariusz7238 2 месяца назад
@arterius169 ctrl+shift+f for search between files
@theteachr
@theteachr 2 месяца назад
You can't have your IDE when on a remote ssh session. It's far more likely that the machine you're ssh'd into has a GNU/Linux OS that shipped with Vim :)
@theteachr
@theteachr 2 месяца назад
There will be a .* labelled button for turning RegEx on.
@gustadev276
@gustadev276 2 месяца назад
hey bro, what's your theme and font family ? I appreciate your neovim
@theteachr
@theteachr 2 месяца назад
Everforest and MonoLisa
@marcsfeh
@marcsfeh 2 месяца назад
return of the king
@tanish3293
@tanish3293 2 месяца назад
y leave together java :c
@theteachr
@theteachr 2 месяца назад
What do you mean? I'm still on it.
@kritischparken
@kritischparken 2 месяца назад
made up problem
@MohammadLsk
@MohammadLsk 2 месяца назад
Glad to see you back
@korigamik
@korigamik 2 месяца назад
Writing cope instead of copen is a new warcrime
@theteachr
@theteachr 2 месяца назад
You know you can :se is?
@aliasgarkhimani9204
@aliasgarkhimani9204 2 месяца назад
Wake up babe.... theteachr just posted
@aliasgarkhimani9204
@aliasgarkhimani9204 2 месяца назад
Glad to see you back m8 :)
@theteachr
@theteachr 2 месяца назад
Glad to be back too! Thanks a lot m8 :D
@darylbubuneatitonarh7971
@darylbubuneatitonarh7971 2 месяца назад
I have awaited your return for almost 12 months. I loved the Data Structures videos. Please do more of them.
@theteachr
@theteachr 2 месяца назад
In the |> line.
@clashofindia6056
@clashofindia6056 2 месяца назад
You are amazing❤.
@drewdwyer6875
@drewdwyer6875 2 месяца назад
Thank you for this video!
@quanghai6169
@quanghai6169 2 месяца назад
cool!!
@tomdeu79
@tomdeu79 2 месяца назад
The issue is your expression in the loop! just change "<=" to "<" and it works fine! .. and also if your text is only a single letter! Or in other words : there is no issue with XOR as long as you don't swap a digit with itself (you need 2 things for a swap)
@Oxytocin_NA
@Oxytocin_NA 3 месяца назад
gerat explanation and animations, you sir indeed are the teachr
@believe-in-righteousness
@believe-in-righteousness 3 месяца назад
iPhone is not so smart
@EnDeRBeaT
@EnDeRBeaT 3 месяца назад
You could've also used Visual Block Mode for this! <c-v>8jI'<esc><c-v>8j$A',<esc>
@theteachr
@theteachr 3 месяца назад
There can be a lot of ways to solve a problem, but some will be better than others.