Adding a Keyboard Shortcut to VIM

The below example will show you how to use Ctrl + k as a keyboard shortcut to execute the following key sequence when you are in insert mode : <esc>:wq<Enter> Example open ~/.vimrc file go to the bottom of the file add the following lineinoremap <C-k> <esc>:wq<Enter> save and close file exit and restart terminal

adventures in SQL: using ‘where’ and ‘having’

I was of the understanding that the where clause which is used like a filter, cannot use aggregate functions for filtering. Furthermore, if you want to filter using an aggregate function, you need to use the having clause. My misunderstanding was that, if I use a having clause, I couldn’t use a where clause. I… Continue reading adventures in SQL: using ‘where’ and ‘having’

wordpress waylay

Today I installed WordPress! I did a manual installation. It was straightforward for the most part, until I tried making my first blog post. When I tried submitting my first post (the very one you’re looking at now), WordPress would respond with “Publishing failed. You are probably offline.” I found the answer to my issue… Continue reading wordpress waylay

Published
Categorized as WordPress