Sabitlenmiş Tweet
Babak
1.2K posts

Babak
@bkeyvani
Pythonista, Data Analyst, Web Developer, Machine Learning enthusiast / Data Scientist-to-be, Technologist, Geek, Aspiring Robotisist, & Hobbyist
Katılım Ocak 2009
731 Takip Edilen141 Takipçiler

Hey @codewithanthony
Thanks for the great video explanations. I was wondering if you could shed some light on the following.
I can't figure out why the comparison in `f2` evaluates to `False`.
Doesn't python evaluate the right hand of the `==` first?
1/ 2
#Python

English
Babak retweetledi

3 ways to delete in insert mode - build edits you can repeat with dot:
• ctrl-h – Delete previous char
• ctrl-w – Previous word
• ctrl-u – Entire line (except indent)
👉 Read the tip: bit.ly/3onx4CM
📨 Subscribe for more: bit.ly/vimtricks
English
Babak retweetledi

Stanford has released Prof. Manning's NLP course for free (!!!) on Youtube if you are interested in diving deeper into NLP.
It starts with the very basic word2vec and expends to:
-> Domain adaptation for supervised sentiment
-> Retrieval augmented in-context learning
-> Advanced behavioral evaluation
-> Analysis methods
-> More NLP methods
Happy A.B.L y'all!
youtube.com/watch?v=PSGIod…

YouTube
English
Babak retweetledi

Stay in search mode in Vim by using Ctrl-g and Ctrl-t after searching for a pattern, instead of pressing enter. Refine your pattern faster this way.
Read the tip: bit.ly/2Gq6p6u
Subscribe for free Vim tips: bit.ly/vimtricks
English
Babak retweetledi

Quickly add empty lines above and below with Unimpaired 👉 bit.ly/3aC7uDq
[ + space - Add line above
] + space - Below
According to our stats, this is the most hated VimTrick we've published. 🤷♂️
📨 Subscribe for (better) #vim tips: bit.ly/vimtrickspace
GIF
English
Babak retweetledi

Vim's gn command will go to the next match and select it. On the blog post, we show how to build repeatable operations by combining this with other commands.
👉 Read the tip: bit.ly/3rUgUS3
📨 Subscribe for more: bit.ly/vimtricks
English
Babak retweetledi
Yeah, so I helped the Excel team with this. Excited that it's out! techcommunity.microsoft.com/t5/excel-blog/…
English
Babak retweetledi

Use g; to jump back to your last change in Vim:
• :changes - Show list of changes
• g; - Jump to previous
• g, - Jump to next
👉 Read the tip: bit.ly/2G0u0dL
🖥️ Watch the tip: bit.ly/31zYqvM
📨 Join for weekly Vim tips: bit.ly/vimtricks
English
Babak retweetledi

Sort lines in Vim:
• :sort - sort all lines
• :sort! - sort in reverse
• :sort u - remove dupes and sort
• :sort i - ignore case
• :sort n - sort numerically
👉 Our tutorial has more ways: bit.ly/3gxMUFm
📨 Subscribe for weekly Vim tips: bit.ly/vimtricks
GIF
English
Babak retweetledi
Babak retweetledi
Babak retweetledi

Jump between methods or functions in Vim with ]m:
• ]m jump to beginning of next method
• ]M end of next
• [m beginning of previous
• [M end of previous
👉 Read the full tip: bit.ly/31aCtDo
📨 Subscribe for weekly Vim tips: bit.ly/vimtricks
GIF
English
Babak retweetledi

Did you know you can access man pages from Vim?
• leader K - Press with the cursor on any word to open the man page for that command
• :Man command - Open that command's man page
👉 Use cases on the blog: bit.ly/30f2aS9
📨 More Vim tips: bit.ly/vimtricks
English
Babak retweetledi
Babak retweetledi

Use to undo all your changes in insert mode, but stay in insert mode.
I like this better than using and u and then reentering insert mode.
Read the tip: bit.ly/36zOCEq
Subscribe for more tips like these: bit.ly/vimtricks
English
Babak retweetledi

Change case inside a substitution pattern:
• \U – uppercase everything after
• \L – lowercase
• \u – uppercase next char
• \l – lowercase
• \e or \E – stops changing
👉 Read the tip: bit.ly/2Joqo78
📨 Sign up for our Vim tips newsletter: bit.ly/vimtricks
English
Babak retweetledi

Extract lines from a file by visually selecting them and then using :w path/to/file
Then reselect the last visual selection with gv and press d to delete.
👉 Tutorial: bit.ly/36SvyAb
📨 Subscribe for weekly Vim tips: bit.ly/vimtricks
English
Babak retweetledi

Use & in your replacement patterns to insert the matched text. For example, adding markdown links to URLs:
%s/https.*/[&]()/g
👉 Read the tip: bit.ly/35pafab
📨 Subscribe to our newsletter: bit.ly/vimtricks
English
Babak retweetledi

Did you know Vim can read and edit Zip and other archives out of the box? Works with gzip, tar, and even files that use Zip under the hood like xlsx and docx!
👉 Read the post: bit.ly/31J7vlG
📨 Get our newsletter: bit.ly/vimtricks
English









