Can StyleCop automatically fix anything?

No, frustratingly. That’s why Style Cop is counter-productive. Consistent formatting looks nice, but there’s little productivity benefit to it (what really makes code hard to read is length and indirection). Perfect spacing is not worth spending hours adjusting lines by hand. Of course, if there were an automated tool to achieve consistent formatting, I’d hook … Read more

Hotkey to open cmd with administration rights in current folder from Explorer

Complete shortcuts are listed here Link to the answer Right-click Start & choose Command Prompt or Command Prompt (Admin) from the Quick Link menu. You can also use keyboard shortcuts for this route: Windows key + X, followed by C (non-admin) or A (admin). Type cmd in the search box, then press Enter to open … Read more

Sublime Text: how to make shortcut for inserting text?

Select the Key Bindings – User item under Sublime’s Preferences, then add the following example line: {“keys”: [“ctrl+shift+c”], “command”: “insert_snippet”, “args”: {“contents”: “hello!”}} This will add a CTRL+SHIFT+C shortcut to insert the hello! snippet. By the way, don’t forget to add a comma to the previous key binding hash so that all but the last … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)