All Issues
24,993 verified issues
It is possible to make autocompletion in Powershell work like in bash?
I love Powershell, but coming from a Linux background there is a few things that is really bugging me. Like for example how the default auto completion works. For example: Get-PS expands to "Get-PSBreakpoint" which is the first matching command. In bash if there is only one command matching bash wi…
file:// to point a relative file to current directory
I use file:// to point to local file. Can't I use file:// to point to the local file relative to current directory? I mean the current directory by where the file containing the file:// is located. I need file:// to link a file in Leo. With Leo, I use file:// to link to a local file, and I want to …
What are some good practices for making sure my laptop battery serves its full life?
Basically, I'm looking for some do's and don'ts. Is it bad to keep my laptop plugged in when I'm not using it (majority of the time)? Is it bad to plug it in once I've finished using it (with it having something like 30% or 70% life left)? This question comes up often and the answers are usually th…
Run an SQL Query With a Parameter from Excel 2007
I have a query in an Excel table. I followed this to do it. But how can I add a parameter from a cell into my query? I am looking for a way to do this: The Cell.A2 does not work. But how can I add in something like it, so that the contents of a cell are used in my query?
rsync: failed to set times on "<dir path>"
I am trying to rsync files from one server to another but getting this error rsync: failed to set times on "/dept/intranet/dept/atest/.": Operation not permitted (1) Can someone help me why so ? I guess it is some permissions issue. This is my command:
Are there any negative effects of disabling the Last Access timestamp?
In Windows, you can disable the last accessed timestamp by setting NtfsDisableLastAccessUpdate to 1, for instance by executing this from the command line (the computer must be restarted before it takes effect): I want to do so there is less disk activity on . Might this cause any negative effects o…
Highlight console search output, while displaying entire command output
When I use e.g. I get the pattern I search highlighted. When I want some more context around each hit, grep has the , and parameters. However, I want to display the whole file (or whatever command output) and highlight a certain pattern. Does such a highlight command or tool exist?
Can audio go to both the speakers and a bluetooth headset simultaneously
I have a hearing impaired person in the house and want to equip her with a bluetooth headset while the rest of us listen over the speakers. I am able to connect the headset and get it to play by setting it as the default speaker. Problem is that the speakers are then turned off. Working with window…
Easy way to switch default sound output device
I want an easier way to change my default sound device from my sound card to my usb headset. Currently it takes a very precise right click, a left click, another right click, and two more left clicks. Ideally i could just have it swap with a shortcut key. (it was a little easier in XP but not by mu…
How to delete a folder containing trailing spaces
I have a bunch of folders on my hardrive that have trailing spaces in them (I have no idea how they got there). I need to rename and/or delete them, but Windows won't allow me to do this. Is there a way around this problem? I've tried to delete it via the commandline, but that did not work. I'm run…
Git vs. Portable git
I don't do my system reinstalls that often, and the last time I looked there was only "regular" git on the download list. Now I see they pushed out the portable variant as well ... only I haven't been able to find what exactly do they entail by "portable" ... since git needs enviromental variables …
Advantages of cat'ing file and piping to grep
Are there any additional advantages of cat'ing a file and piping it to grep, besides convenience? The convenience being that, when I retrieve commands such as those below from my history, the cursor is at the end of the line, so it is easy to modify the command with different text to grep against t…
Copy to system clipboard instead of vim buffer
I would like to set Y and P to copy and paste directly to the system clipboard instead of vim buffer. I don't want any additional commands. Just the normal ones, but they should copy to and paste from the system clipboard and bypass the vim buffer. How can I achieve this? I'm running vim on Ubuntu …
How to create a virtual floppy drive?
I am trying to install a program which requires me to have a floppy disk in my machine while the installation is going on. I found a program called Virtual Floppy Drive that allowed me to create the drive and copy files to it, but it only works on 32-bit systems. When I try to run it on Windows 7 6…
how to check if NTP adjusted system time on Linux?
I have a machine that experienced some troubles with some of the real time stuff that I'm running. One lead that I have is that NTP daemon may have moved the time, causing false timeouts. How do I find out if NTP daemon did indeed move time at all? Any logs? I do see NTP daemon restart in /var/log/…
What regulates Intel SpeedStep CPU throttling? Can I get some control of this on Windows7?
I’m trying to get a big virtual disk file compressed (using WinRar) before I go home today, but my CPU frequency keeps merrily going up and down between the nominal 2.8 GHz and a measly 800 MHz! The frequency fluctuations as seen in Resource Monitor (blue line is frequency, green is utilization): A…
vim: enable folds but don't automatically close them
I really like the folding in Vim, but there are a couple non-file buffers (command-t plugin's window for one) that I really don't want it folding, as the normal fold commands don't work there. If I could just tell vim to not automatically close folds (only close them when I tell it to) that should …
Linux Group Permissions not being enforced correctly.
I am running Ubuntu 10.04 server and am having some very counter-intuitive experiences with users/groups. For example: The last line produces a permissions error. I have ensured that my user is part of the 'test' group ( confirms this). The group of test_file is also definitely set to 'test' and th…
Migrating Far Manager settings from another machine
Is there an easy way to export/import settings for another machine’s instance of Far?
How can I make Firefox word-wrap text/plain files?
When I view this IRC log in Firefox, long lines do not wrap. But I wish they would! Anyone know how to make Firefox word-wrap text/plain files? this file is served as gzipped plain text; try and you should see when the same resource is viewed in Google Chrome, long lines wrap this might be a relate…