29 January 2023
11 January 2023
vertical-align middle not working
https://christopheraue.net/design/why-vertical-align-is-not-working
1 <style>
2 .container {
3 width: 100%;
4 text-align: center;
5 border: 1px solid rgba(0,0,0,1);
6 color: #666666;
7 background-color: rgba(255,255,0,1);
8 font-weight: bold;
9 }
10 .middle {vertical-align: middle; }
11 </style>
12
13 <div class="container">
14 <br>
15 <span class="tall-bar middle"></span>
16 <span class="top"></span>
17 <span class="middle">Year2021/2022 Volunteer Recognition Event</span>
18 <span class="bottom"></span>
19 <br>
20 <br>
21 </div>
06 January 2023
Virus & threat protection engine unavailable
https://answers.microsoft.com/en-us/windows/forum/all/re-windows-defender-security-intelligence-version/6b2a9ac9-62dc-418e-bc97-ac419bcc7604?page=4
02 January 2023
01 January 2023
How to do substitution in all files at once in vim?
Vim search replace all files in current (project) folder
e.g. to substitute 'bar' for 'foo' in all Python files in current directory
Within vim, run the commands below,
:arg *.py
:argdo %s/foo/bar/gce | update
:arg *.py means we will do substitution in all Python files in current
directory
'update' means to write a file only if changes have been made.