- 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
| " Local Override { | |
| if filereadable(expand("$VIMHOME/override.local.vim")) | |
| source $VIMHOME/override.local.vim | |
| endif | |
| " } |
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
| 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
| <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
| 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
| The fglrx shipped with Precise has some compatility issues | |
| with the kernel 3.2.0-29, which can cause a freeze when | |
| shutting down, everything stops on the plymouth screen. | |
| Replace either of them can solve this problem. |
Defination of the System Load Value: Basically, load average is the amount of traffic to your CPU(s) over the past 1, 5, and 15 minutes. Generally you want this number to be below the number of CPU(s)/cores you have. 1.0 on a single core machine means it's using the CPU to it's maximum, and anything above that means things are getting queued.
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 to add name to gists |
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 to add name to gists |
OlderNewer