You first should figure out what process is eating away your CPU.
open a terminal with ctrl+alt+t
execute the command top
note the process using the most cpu
If the process isn't a system process, kill it with sudo pkill [processname] with [processname] the name of the process you want to kill. If it is a system process, don't kill it, but try to google the name and figure out what functionality it has in Ubuntu. Then you can proceed to turn it of (in e.g. you system settings).
If you’ve ever tried to use the RichTextToolbar that is showcased in the Gwt Showcase, you will quickly find out that it’s not actually built into GWT. Many GWT developers have experienced this WTFery, as their hopes to conveniently import RichTextToolbar have been dashed. It is supposedly so that developers are not locked into using that toolbar, but of course, a good default is better than no default…
As you can see here, multiple bugs have been filed about this exact issue since 2008, to no avail! Drats, I guess it is one of those things that has low priority because there’s a work-around, but it does affect a good number of developers, which should count for something.
Anyway, to use it in your code:
Navigate to <path>/gwt-2.0.3/samples/Showcase/src/com/google/gwt/sample/showcase/client/content/text on your computer, and you should see a bunch of icons, RichTextToolbar.java and RichTextToolbar$Strings.properties.
Copy RichTextToolbar.java and RichTextToolbar$Strings.properties and paste them into your source code folder and modify the package names accordingly.
Copy all the icons and paste them somewhere (I created a folder <project>/client/icon)
In RichTextToolbar.java, above each “Image Resource…”, you will need to indicate the source of the image. For example,
if the directory you copied RichTextToolbar.java is under client.
That’s it, a little annoying, but hopefully it will find its way into GWT itself soon, though don’t hold your breath.
Also, you can easily play around with the Toolbar– I removed the bottom row of ListBoxes that give you lots of control over background and foreground colors, font and font sizes (I don’t want my users to have that much control over how my website looks!), and it ends up looking like this:
Hope that helps, and that it will save a few people some time!
Here is a simple way to solve #1045 – Access denied for user ‘root’@'localhost’ (using password: NO) error…
Just follow the steps:
Note: [WAMP_PATH] is the path to the wampserver directory in your computer so it can be anything. Default (C:\wamp).
1. First, go to [WAMP_PATH] > apps > phpmyadmin3.5.1.
2. Then find and open config.inc.php in your text editor
3. Now find $cfg['Servers'][$i]['password'] = ”; and change it with $cfg['Servers'][$i]['password'] = ‘admin’; (You can put anything in place of admin as your password, this is only a test password).
4. Now find $cfg['Servers'][$i]['AllowNoPassword'] = true; and replace it by $cfg['Servers'][$i]['AllowNoPassword'] = false;.
5. Thats it now save that file.
6. Now restart the wampserver. To do this left-click the wamp icon in the windows taskbar (Notification one), a box will pop up then just click on Restart all Services.
Yeah! You have successfully resolved the error. If you face any error make sure to comment or email me.
For login page getting
1.find $cfg['Servers'][$i]['auth_type'] and change the value like
$cfg['Servers'][$i]['auth_type'] = 'cookie';
2.save the page.
3.restart the server.
for info see the link video.