All Issues
24,993 verified issues
Test if element is in array in bash
Is there a nice way of checking if an array has an element in bash (better than looping through)? Alternatively, is there another way to check if a number or string equals any of a set of predefined constants?
How can I send gpg encrypted mail automatically from the linux command line?
How can I send gpg encrypted mail automatically from the linux command line? I'm a little stumped on this one, I've tried using mutt but it doesn't encrypt mail unless it's used interactively. Does anyone know if you can use the build in mail command to do this some how?
How to align columns in output from a UNIX command?
I used to know of a command -- an actual command mind you, not sed/awk magic -- that formatted its input to be aligned in columns. For example, if you ran: But if you ran the output through the command which I've forgotten the name of: Does anyone know the name of that command?
Remove Recent List in VLC Players on Windows 7
VLC player is one of the item most used on my Windows 7 machine. When I click "Start", I\it appears as "pinned" at the program list. When I mouse over to the VLC players, I will see a list of recently played videos. Now, is there anyway I can remove the recent list? I tried to remove the recent lis…
Quickest way to see hidden files on Windows?
I have a bunch of folders in my Documents library that were automatically generated by various programs. In order to reduce clutter, I have made these folders hidden, because 99% of the time I don't want to see them. However, there are times where I do want to see them--what is the fastest way for …
Determine pixel alpha value in photoshop
I want to see alpha value for given pixel in Photoshop, is it possible?
Emoji characters not displaying correctly on Windows 7
Is there a specific font or something I need to install/download/configure in order to see emoji characters? Emoji are picture characters/emoticons often used in Japanese webpages and messages. People can post these from their phones to a site like Twitter, but when I try to read them on my PC (run…
How can I limit the usage time for an user profile in Windows?
I have 4 kids so the battle for time on the living room computer never ceases, I am also implementing an attempt at some level of control over how much time the kids get based on their behavior etc during the week. Ideally I would like to be able to set each profile up to have only a certain allotm…
how to disable Play with Windows Media Player contextual menu?
in Windows (Vista), when viewing a folder, when right clicking on a item, there's the menu “Play with Windows Media Player”. How to set it so such submenu does not show? (not sure I want to uninstall Windows Media Player though) I have no problem if modding Registry is required, just need to know w…
Keep a window always on top in Mac OS X
In Linux I can right click on any window, and there is an option I can select to keep the window on top of other Windows. Does Mac OS X have this kind of functionality? If not, then is there some kind of program for Mac OS X that will enable this?
Windows 7 alt-tab window disappears to back when aero peek is enabled
There is a strange bug with Aero Peek and Alt-Tab where the Alt-Tab window itself is sent all of the way to the back, and is obscured by whatever window may be being previewed in front of it. While it still works for switching tabs, it's extremely annoying to not be able to see what other windows a…
Is there a way to disable IPv6 in Google's Chrome?
I'm developing websites in a Windows 7 machine. When I've installed Firefox I've found some performance issue specially on connecting to the localhost, googling around I've discovered that it's related to the use of IPv6 by the browser to resolve urls. Using and setting to true the problem is gone.…
How to find the architecture of OS installed
I'm using Core 2 Duo. From Intel website I found that it is a 64-bit architecture CPU. Long back I've installed Ubuntu OS on this machine. But I'm not sure if I installed the x86-32 or x86-64 version of Linux. I want to know which version of Linux I'm using. How can I get to know that? How do I fin…
How can I justify plain text in Linux?
I'm composing a plain text (.txt) document that has left-and-right justified paragraphs. I manually add spaces, breaking words with hyphens if necessary, until the lines are uniform length. To use an example from my document, a paragraph like this: will end up looking like this: How can I do this? …
Extra configuration required for ssh-agent forwarding?
This guide does a great job explaining how ssh-agent works across multiple systems. I'd like to get forwarding set up as it is in the last set of diagrams, but I'm having trouble tracking down the steps required to do so. For some machines on my network, I can ssh from A to B, then B to C, without …
Converting grayscale shades into alpha channel
I have a gray-scale image. I need to convert gray-scale tones to transparency data in alpha channel using Adobe Photoshop. Say if the area is black, then no transparency. The white areas will be converted to full transparent pixels in alpha channel. How to do it? Update: This is sample file, which …
How can I lower the volume of my USB headphones?
Yes, I really am asking how to turn down the volume. But first, some more detail: My headphones are http://www.edimensional.com/product_info.php?cPath=22&products_id=122 They are really loud. I usually have to keep them on the lowest setting. If the source material is louder than average, I have to…
Can I transfer .epub to the kindle via usb?
I'm just in love with the new Kindle 3. Is it currently possible to transfer my epub files to the device via usb? I know, it's not allways been working...
Difference between UnxUtils and GnuWin32?
I am a Windows user who wants programs like grep and sed along with other utilities like ls, cut etc in my command prompt. I came across 2 packages which would accomplish this UnxUtils GnuWin32 I would like to know what is the difference between the two both feature wise and more importantly perfor…
Adding a new language to Notepad++
What's the easiest way to add a custom language to Notepad++ for highlighting support? After some research, I see two ways: User-Defined Language: simple way of adding a new language based on tokens, but can't use the default color scheme (colors are assigned absolutely)? Lexer plugin: A custom C++…