Transparency issue in vim - macvim

Whenever I source my .vimrc file, the the transparent background ends at the last line, or until I create new lines within the current buffer, instead of making the entire window background transparent. In other words half of my window is transparent and the other half is dark.
The set transparency=10 option is currently enabled in my .gvimrc file at the moment. Just out of curiosity, why does macvim respond this way? Is there a fix for this, other than just putting that option in my .vimrc file?

Related

How to make button movable in google sheet?

I am making a GUI-based data management system using google sheet and app script. I have inserted two buttons using the draw option. But I cannot move that button to the bottom of the sheet where it needs to be. Whenever I tried to move that button a red line is appearing there; as you can see on the image. So please help me what should I do?enter image description here
The red line in simply a rule line. Its purpose is to help you line up the drawings. In your screenshot, the rule line shows that the bottom of Update currently lines up with the bottom of Next.
You can go ahead and drag across the line to move a drawing further down. To make drag and drop easier, you may want to temporarily unassign scripts in the buttons, or select a button by right-clicking it and then move it using the arrow keys rather than the mouse.

CSS Font Images

another quick question. I've seen this multiple times now in different code sets. Someone calls for an image from the css
HTML:
<i class="icon-map-marker2"></i>
CSS
.icon-map-marker2:before {
content: "\e6f9";
}
Which gives the output of this:
As you can see the picture isn't transparent background. I was looking to edit it to give it transparency, but can't seem to find out how. I've also tried things with the CSS like:
style="background-color:rgba(0, 0, 0, 0.5);"
// Changing the last value's number though and stuff like that
opacity: 1;
// etc
I want to keep the gold color, but have a transparent background! Thanks for the assistance!
An example is on Canvas' live preview - Hover Home -> One Page: http://preview.themeforest.net/item/canvas-the-multipurpose-html5-template/full_screen_preview/9228123?_ga=2.252490057.1116575863.1496646725-686174233.1494200798
Try adding css for a tag for background color:
a{
background:transparent;
}
Background coming form .fbox-icon this div.. just add css for that
.feature-box.fbox-bg.fbox-center .fbox-icon {
background-color:transparent;
}
An option... Download the photo and save it as a png with a transparent BG.
Personally I use Photoshop though there is a free software called Gimp - Free & Open Source Image Editor that will allow you to format transparent photos and then save them as .png.
Typical method involved saving an image locally, editing and
exporting as transparent png.
Right click the hosted photo in your browser and then choose Open Image In New Tab
Right click on the image within the newly opened tab and select Save link as, then choose your destination folder.
Open your image editor software, see my link below for GIMP if needed.
Typically, if you have a good contrast between the BG and the
image or the background is one solid color, as is in your case. You can pull the image out of the background by using the Magic Wand tool.
You can also use the lasso tool to make the selection, where you sort of draw around the selection. However, this method is a bit more tedious and time consuming.
Once you have your image selected apart from the background you wish to remove, simply hit the delete button to delete the selected pixels. *MAKE SURE YOU HAVE THE BACKGROUND SELECTED AND NOT THE IMAGE WHEN YOU DELETE!
Only need feather if you have soft edges, if not skip feathering.
Feather: Feather the selection. Under Select->Modify->Feather. Enter a low number like .5 though you may need to experiment to find the right amount
to feather your softer edges, when needed. Then select the inversion and delete the selected inversion to apply the feather and soften your edge.
Now export your image as a .png file and host it so you can link to the new transparent image.
In PhotoShop, you would choose File->Save For Web Choose PNG-24 and select Transparent
Note the size, preview if needed, then save.
Now re-host within your websites image file structure or online at imgur or other img site and link to the newly posted
transparent pic.

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

Make Hudson Successful Build Icon Blue instead of Green

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."

Google Spreadsheet - how to modify image that has assigned script?

Everywhere I've read, it says to create a "button" in Google Spreadsheet you need to insert an image and assign a script to it. Easy enough. Done.
Now how do I modify that image? Clicking on the image runs the script. I cannot right-click the image for any context menu. I cannot select the image in any other way. I cannot ever remove the image now.
Perhaps Slav was using a Mac when he tried it the first time. Strangely, in this specific scenario, the Mac equivalent of right-clicking (which is CTRL+click) really does not work. What works is CMD + click.
While you can "assign a script" to an image, you can also do so to a drawing - which is much easier to customize. Either way, you end up with a picture in the spreadsheet, and when you click on it a script is triggered.
To edit this behavior, just right-click the image or drawing. (I know you said you did this, but it DOES work. Just click - then let go.) An anchor will appear on the image or drawing, and from there you can access a menu to edit or delete the image or change the attached script.
So that was tricky to me because the anchor was invisible in my image; it had a black background. If you can't see the anchor on your image follow these steps:
Right click on the image, You should find that it now has resize handles
Move your cursor to the top right of the image until it changes to a hand that points with the index finger (like when you hover over a link)
Click
Do whatever you want (Edit, delete... etc.)