Scripting to alter Bitbucket diff colours - css

I have quite a bad red/green colorblindess, and when I'm reviewing pull requests on BitBucket I really struggle to tell apart the red and green on it. Years ago I had a small script a friend wrote on the plugin Stylish to alter the colors (to a blue and a darker red) which was fantastic and really helped. I've lost it however and I'm not really experienced enough with this sort of coding to rewrite it.
Would anyone be able to give me some pointers for doing this?
Thanks

Windwos 10 provides Colorblind mode, it may be helpful if you are a Windows user.
Use Settings To Turn/Off Colorblind Mode
Navigate to the search box and type “color filter“.
You will see a list of search results, click Turn color filters on or off from the top.
Now you have to use the toggle button to “Turn on color filters” that is available under Use color filters.
You will see a list of color filters and color blindness filters, select the one that is suitable for you.
To quickly activate or deactivate the mode there is a keyboard shortcut to Turn On/Off Colorblind mode. You can always use Win+Ctrl+C keys to Turn On/Off your current filter.
Reference: Windows 10’s secret Colorblind mode

Related

Ride Robot Framework IDE - Mac Interface Trouble

I've just installed Ride editor on my Mac and I'm new to this. My python version is 3.9.4 on BigSur 11.4 and I'm using the dark mode theme.
I have trouble with the colors because I can barely see anything, only when something is selected. I've tried to change colors in the preferences but no luck.
I can't see the names of my files only when they are selected.
My project structure
I can't even write simple text case because I can't see what I am typing because of that yellow background and characters are white. Only after enter or when it is selected you can see what is in the field.
Test case fields
I can't make dictionary nor the list variables. I can only define them and add them values directly in the script because that window with the fields on the left is to small and I can't stretch it.
Dictionary Variables
If someone has facing the same thing or has an idea or solution at least for part of it would be great because I am out of the ideas. Thanks.
If you installed latest development from master (you probably did, so you can use with Python 3.9), you have options to change colors (and save and restore), from Tools->Preferences->General and for the Grid, Editor and Run tabs.
It would be nice to have those color settings files shared with the community. Please go to the project page and create an issue with those settings, or communicate on our Slack.

I hate this kind of border in search bar. Why does it appear?

When I click in the search bar, a blue border appears. Why does this happen in several cases?
https://i.stack.imgur.com/9EO3c.jpg
Short answer: Because the website, or possibly your browser, was set up (using css) to make it appear, because most people prefer it that way so they know which box is active.
Depending on your browser, it is probably possible to set it so that this doesn't happen (from your question, I presume that you are asking about other people's websites, not your own), though I can't give you tips on that without knowing what browser you are using.

Command prompt color changes on completion suggestions in zsh/oh-my-zsh

I have a problem that I couldn't find a solution to (maybe I'm just a horrible google user).
Anyways: I use oh-my-zsh with a custom theme and one or two plugins, but nothing too fancy. Whenever I double-press tab to bring up the completion suggestions, e.g. when using cd, my prompt's automatically colored blue (see attached image).
I have tried deactivating my theme and some stuff in ~/.oh-my-zsh/lib/completion.sh, but I couldn't find anything that helps. I just want my regular green even though I double tab.
Any help?
This answer to a related question seems to address your issue (I have not tested it myself):
https://unix.stackexchange.com/questions/16243/is-there-a-way-to-set-coloring-for-cd-tab-complete/16245#16245

Eclipse matching bracket margin mark - What is it properly called, and how to change its appearance

The question is basically just the title. In the above image, Eclipse is highlighting the function scope/block with the blue dotted pattern on the left margin. While helpful, I find the pattern visually distracting, especially using Moonrise or the Dark theme. What is this feature called, and where would I find its appearance settings/controls?
This is eclipse 4.4 with PyDev and StatET installed, though I see the same behavior with basic Java files as well.
I assume you are using Linux OS.
What is this feature called, and where would I find its appearance settings/controls?
This is called as Range indicator.You can switch off the range indicator.
How
Click Windows > Preferences. Navigate to General > Editors > Text Editors. De select Show Range indicator option.
If you want to change the colour then refer this answer https://stackoverflow.com/a/25155197/1391924

Change behavior of mouse buttons - do I have to write a driver? (Sharkoon Drakonia)

I just bought a Sharkoon Drakonia (just for information). It has 11 buttons, but only two of them (except left, right and middle button of course) can be used as 4th and 5th mouse button (eg. in games), the other ones can only be modified to behave like a double click etc. via the configurator software shipped with the mouse. So I wondered if there is a way to completely change or remap (some of) the mouse buttons to be recognized in games as for example "Mouse 6" and "Mouse 7". I think I have to write a driver for it, am I right? Is there another way to achieve my aim?
Thank you in advance!
You don't necessarily have to write a new driver - you can use some input remapping software like GlovePie (google for it). It has its own scripting language to program how input works. Most people use it to make console controllers behave like a mouse, keyboard or combination of both... But I've used it to make things kinda like what you want.
There are other software like GlovePie that can also do the job, but it's the only one whose name I can remember right now.
edit: I've just read your question more carefully. You may not be able to make a software see a mouse6 or mouse7, but you can bind some action in a game to a key in the keyboard, and then map your extra mouse buttons to be seen as if they are those keys. It works just fine.

Resources