- Gist Naming Format: [Language]+[Title]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| came across several problems with unity tonight: | |
| 1. window border missing. No Dash, no laucher, only blank desktop. | |
| <C-R>+<Alt>+t can call terminal, but actually no use of it, and | |
| it comes without title bar. | |
| unity --reset | |
| unity --replace | |
| gtk-window-decorator --replace | |
| all above can't help, some can bring me back to normal for only 10 | |
| seconds or so. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <h2>Events</h2> | |
| <p> | |
| Why does this fail with the event manager? Because when we're in the | |
| constructor, we don't yet have an <code>EventManager</code> instance! | |
| The event manager instance is injected after instantiation. As such, we | |
| need to attach to it once we know we have an event manager. Which is... | |
| when it's set. This can be done very simply by overriding the | |
| <code>setEventManager()</code> method. In the next example, we'll | |
| define a listener for the "dispatch" event that redirects if certain |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This is nothing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| try again |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " Local Override { | |
| if filereadable(expand("$VIMHOME/override.local.vim")) | |
| source $VIMHOME/override.local.vim | |
| endif | |
| " } |
NewerOlder