1/26/11

How to put breaklines between tags or the great notepad++

This is a small post that will be devoted to notepad++ - which i think, is a great tool for webdeveloper. This is free, lightweight, but smart code editor. Not that it can completely replace Visual Studio, but in some ways it seems to have advantages on Microsoft technology.
Take a quick look on what can you do with this notepad:

Say  you have to modify some details xml file that have all the tags gathered in one line. If you need each tag to be displayed in separate line you can do Replace with the following options:






Now you can see the result:: each tag on his own line.



Using Regular expressions:
Say you have an CSS file in which you need replace the images url of background property:
from  To  

And for some reason the code somtimes appears in this way:


and sometimes in this way:


You cannot replace all apearances with the same way. So you need to use RegularExpresson:
Firstly replace all appearances without brackets:
And after-with brackets:
Now you can anjoy the fixed code!

Getting started with docker

It is very simple to get started usig docker. All you need to do-is download the docker desktop for your system Once you get docker syste...