Tag: Regular expression

Nov 17

How to: Override a Location directive on NginX

How to: Override a Location directive on NginX Sometimes when coding you are in need to re-use a lot of the logic across different systems but find yourself needing to overwrite some of that functionality on a special case. In this particular scenario I needed to overwrite a Location directive on NginX. What do I …

Continue reading »

Dec 15

How to: Find a file in Ubuntu using complex criteria (or not)

How to: Find a file in Ubuntu using complex criteria  (or not) Sometimes you need to find a file and all you know is the extension or the beginning of the file name. A powerful flexible search to look in all sub directories for files that match a criteria is important. Ubuntu comes with such a command …

Continue reading »

Oct 26

How to: Use Regex to create instructions out of a list of inputs

How to: Use Regex to create instructions out of a list of inputs Using Notepad++:   Use Regex to identify the inputs you want to put inside a command: (bd{1,3}.d{1,3}.d{1,3}.d{1,3}b) Then Replace it with the command identifying the matched Regex on the search: <add ipAddress=”1″ allowed=”false” />