Make Hudson Successful Build Icon Blue instead of Green - hudson

I upgraded my Hudson server to the latest version, and now the successful build icon is green rather than blue. I want it to be blue.
Before, there was an option (which I wasn't interested in) to install a plugin to make the icon green. Now, it seems with Hudson I have no choice.
I tried going into .hudson/war/webapp/images and renaming all the "green" image files to "greenx" and renaming all the "blue" image files to "green".
It didn't work -- the icon is still green.
I then searched for "green.png" in my entire C drive to make sure I didn't miss any green image files. I found some I missed, and renamed them.
It didn't work -- the icon is still green.
I then restarted Hudson.
It didn't work -- the icon is still green.
Finally, I restarted my whole computer.
It didn't work -- the icon is still green!
I don't know what to do now. How can I change the green icon back to blue like it used to be?

I would say upgrade to Jenkins, where this behaviour remains optional via the Green Balls plugin.
If you must use Hudson, then according to the change where this supposed "bug" was fixed, you can re-enable the blue balls on the global configuration page.
There should be an option called "Use blue ball as legend for success instead of green ball."

Related

Why does big black box appear over my GRUB2 theme when booting?

I have created a GRUB2 theme, which gives me a screen like this:
But when I select one of the items to boot, before it boots, for about 5 seconds, it writes a big black box over the screen, like this:
Where is this black box coming from? It is clearly bigger than the menu box - is there some way I can stop it from appearing?
The files for the alien theme can be found on GitHub here:
https://github.com/edhartnett/alien_theme
Turns out that the big black box cannot easily be turned off.
It is the terminal-box, an area for text messages to appear. The theme and user have no control over it or its appearance.
There is reportedly a patch that can help, located here:
https://build.opensuse.org/package/view_file/openSUSE:12.3:Update/grub2/grub2-enable-theme-for-terminal-window.patch?expand=1
The patch was removed from GRUB2. You can review this bug report for reason why it was removed:
https://bugzilla.opensuse.org/show_bug.cgi?id=776244
I have not tried this patch or tried looking at the GRUB2 source code.
You can create a modified version of your background image and stick it in the terminal box for a seamless image, other than a tiny box outline:
For most users, the box will displays the messages:
Loading Linux %s ..." ${version}
Loading initial ramdisk...
For even more messages in the box (it's kind of neat), edit /etc/default/grub file find the line containing LINUX and remove quiet splash from the parameters. Save the file and run sudo update-grub.
Notes on recorded image
I attempted to use a cellphone with tripod but auto-exposure and auto-focus made it hopeless.
Then I installed VirtualBox 5.1 on Ubuntu 16.04 and used Video Capture. Unfortunately I had to scale grub down from 1920x1080 to 1024x768 for VB to work properly. As such the image is skewed in Virtualbox and you don't see the perfect fit that my normal grub boot has.
Edit your regular background image, cut most of the right side, repaste it shifted left and up. Save it as the modified background image.
In /etc/default/grub add the line GRUB_BACKGROUND= with the modified image location and name.
You might have to modify /etc/grub.d/00_header as per this thread. I did this on my machine.
The sample grub image is missing bootup messages because Virtualbox is intercepting and hiding them.
Full answer in Ask Ubuntu

Xcode project navigator background color

When a window is active in xcode project navigator background color blue, and when two or more it is default. How to make that it was always defaulted?
http://imgur.com/a/B2VFr
There's two ways to change colors in Xcode.
First is the "Fonts & Colors" tab in Xcode's preferences, which look like this:
That doesn't change the color of the files in the Project Navigator, though. To do that, in System Preferences there's a tab helpfully named "General", you can change the settings for your system in it. Here's what it looks like for me now:
I chose "Graphite", and that changes selected files in the Project Navigator to have gray surrounding the filenames.
So, the problem was on the system side. The wallpapers color mixed with color of IDE. I reduced transparency. So that was it.

How to change inspections column background color in PhpStorm?

Code inspections are highlighted on the right-side of the editor as red/yellow lines. I want to change the background color of the entire column (not the color of individual inspections).
In previous versions of PhpStorm (with the Darcula theme), the column was a grey color. In PhpStorm 10, it is now transparent. Is there a way to change the background color?
Not really. That color is part of the IDE Theme which is not user configurable.
But you can show some background there:
Help | Find Action...
Look for Registry there (exact match)
Once got inside Registry window look for editor.transparent.scrollbar and uncheck it (user modified values will be displayed in bold .. so make sure you have changed it, not just "Click and that's enough")

pending add image asp.net mvc 5 visual studio

I get a "Pending add" message when I hover over the "+" sign in front of an image (whether in .png, .gif, or .jpg format) that I've just added to a project. Even though Visual Studio shows a thumbnail of the image when I hover over its name in the Solution Explorer, it is not showing up as the background of the body of my page. (When I alternately assign a background color in that same body section, that color DOES show up.) Don't know why it would matter, but I added this image by right-clicking my new Images folder and adding an existing item.
I've already gone through answers involving Pending changes, and none of those are helpful here. Any suggestions for getting this image to stop "Pending add" and be added already, so that it will render, please? Thank you.
Commit your changes, that's all.
In other words, the icons on the left are the status of source control. So, it is saying that this is a new item that you added into the project. So, you now need to add it to the source control.
When you do your commit, it will detect the new file and you will have option of adding it at that time.
If the image was excluded you would have to include it to be shown. As you figured out, this doesn't mean it's not included in project.
The "Pending add" info indicates that it's not yet "Checked in" (when sharing a project).
If someone gets confused with this, it's probably the usage of wrong path or something else.
I had this problem. I deleted the image files from Solution Explorer and re-added them, and the images were immediately checked in.

How to have the Sublime Text console showing color instead of the color codes

I have a build system output in the console. However it is showing color code instead of the actual colorized text.
[37;46;1mTest file: static/tests/casperjs/login/test.js
How can I apply a color theme to the console output?
Thanks!
Unfortunately sublime doesn't support this. I ended up writing a plugin that parses the output and converts it into a colored version (for a subset of colors, ones we use in our testing framework).
If you would like to look into that, or if anyone stumbles upon this in future here are some tips..
I detect output in the plugin with an on_modified event listener and a view
with no name (view.name()). This does not uniquely identify the output pane
so you'll have to do a bit more than that, I found no other easy way (unless
you want to hook into your build plugin and act directly on the view it generates).
To make the color changes, I remove the color codes (view.erase()) and add color to the
regions marked by those codes with view.add_regions(). The colors I add are
ones I manually insert into a custom theme, as again there seems to be no
other way. Also, for some reason it seems you can't add a color with the
exact background of the active theme (it inverts it or something), so I set
the color's backgrounds to something just different.
As you can tell, it's a hacky, ad hoc solution, otherwise I would release it on Github.
You can also check out SublimeREPL, it does console text coloring