All Issues
24,993 verified issues
Where does VIM (gvim/macvim) keep swap files for unsaved/unnamed buffers?
Where does VIM (gvim/macvim) keep swap files for unsaved/unnamed buffers? (If it does so at all). Background: Throughout a semi intense seminar I was taking notes in an unnamed/unsaved MacVim buffer when the MacBook ran out of juice and powered down out of nowhere (It did not sleep/hibernate as it usually would). Question: Would anyone know if there is any chance that the unsaved work may have been saved to a swap (.swp) file or the like, that could be recovered? System details: In particular this happened using MacVim on a Mac OS X 10.5.8 (But possible recovery hints for other versions are of interest too). I have not restarted MacVim yet in case doing so will initiate a cleanup process.
How can I delete Time Machine files using the commandline
I want to delete some files/directories from my Time Machine Partition using rm, but am unable to do so. I'm pretty sure the problem is related to some sort of access control extended attributes on files in the backup, but do not know how to override/disable them in order to get rm to work. An example of the error I'm getting is: There are a number of reasons I do not want to use either the Time Machine GUI or Finder for this. If possible, I'd like to be able to maintain the extended protection for all other files (I'd like not to disable them globally, unless I can re-enable once I've done my work).
Why does Microsoft Windows' performance appear to degrade over time?
Windows XP/2003 and earlier (can't attest to Windows Vista, but I suspect it's the same) all appear to become more sluggish over time as applications are installed and uninstalled. This is not a scientifically tested observation, but more of a learned-through-experience piece of wisdom. (I've always suspected the registry as being behind the issue.) Is there any concrete evidence of this degradation occurring, or it just an invalid perception of mine?
Chmod to allow read and write permissions for directory
I have created directories in root. I am looking for the command to allow all users read and write permissions to a specific directory. I have done for a file but I need this for a directory. This includes permissions on all files and sub directories.
How do I disable the beep in OSX Leopard when I perform an invalid action?
When I perform an action that is not valid in a given context, like attempting to type when a text area does not have the focus I hear a beep, which is very distracting when wearing headphones. How can I disable this? I am not sure how to reproduce this as it only happens under certain circumstances which I have not yet nailed down.
Is there an equivalent of the Mac OS X "say" command in Ubuntu?
Is there an equivalent to the Mac's terminal command "say" in Ubuntu 9.10?
Command-line (cmd) command to lock a windows machine
Is there a way to lock a Windows XP machine via the command line? The command doesn't have an option for it.
How to refresh bookmark favicons in chrome
I updated favicons for a bunch of my websites. Refreshing the website does indeed show the updated favicon in the browser tab, however the bookmarks for those websites still have the old favicon. Short of deleting and re-adding each bookmark, is there any way to get Chrome to refresh the bookmarks of each website? Why doesn't just visiting the website update the bookmark icon too?
How do I password protect a .tgz file with tar in Unix?
I'm using the Unix tar command as follows to tar up a directory and its files: Is there a way to password protect the .tgz file? I've created password-protected ZIP files on Windows so I would assume Unix has the same capability. Any ideas?
Tree command list one level all files
How can I use the tree command to list current directory as a tree? If I do It only lists the directories, how can I get it to show the files as well?
Split PDF document from command line in Linux?
I would like to extract page ranges from a PDF document into a new PDF document using the command line in Linux. Note that: PDFtk - The PDF Toolkit fails for me with: From here: You (should) know that Pdftk is nothing more than a very old version of iText (a Java-PDF library) compiled with GCJ and extended with some command line functionality. The keywords in the above statement are "VERY OLD". Multivalent also fails: Turns out, this is a bit of a tricky software: even if it's on SourceForge, and says here that Practical Thought generously provides these tools for free use on the command line However, here it says: The browser is open source. The document tools are a free bonus and not open source. Which finally clarifies the comment from conversion - Gluing (Imposition) PDF documents - Stack Overflow: All releases of Multivalent linked from the official sourceforge site are missing the tools package. (edit: there seems to be an old Multivalent version with the tools included, see the…
Can Screwdrivers With Magnetic Tips Cause Damage To Electronics?
While it is convenient to pick screws with magnetized tips I wonder if the magnetism can cause any damage to electronics?
Appending images vertically in ImageMagick
This command appends 1.jpg and 2.jpg horizontally. What is the command to do this vertically?
Can someone please explain ifconfig output in Mac OS X?
When I do ifconfig on my Mac, I get a list of the following interfaces: I wonder what each interface is. Also, which of these is the IP interface ? I don't see eth0 anywhere, which I assume is the standard interface name used by linux systems.
Breaking the Outlook 2010 e-mail blue quote line for inline responses
UPDATE: I've finally figured out a way to comprehensively fix this problem, though it took a lot of work and the creation of an Outlook 2010 addin! See below for the addin download. As far as I'm aware, though, there is no way to deal with this problem unless you install an addin to do it, because this is essentially caused by a bug in Microsoft Word's conversion of documents to HTML (which needs to happen before you send an Outlook HTML e-mail). See down below for the original description of the problem (Outlook 2007, 2010, etc. not allowing proper inline responses because you can't break the blue "quote line" on the left). My addin basically intercepts the e-mail before it is sent, grabs the Word document (if the e-mail format is to be HTML), and fixes the Word document's XML, before saving it as HTML and setting the e-mail's HTML body to the 'fixed' HTML. Then, finally, inline responding works. :-) It can be done by going to where you want to break the blue line, pressing Ctrl+Q, a…
How can I install an RPM without being root?
How can I install an RPM on a machine where I don't have root permissions? I want to install a package for my use only in a personal work directory. I'm running SuSe SLES10. Please don't flame me with "This idea is so dumb, you shouldn't do it because all requests must go through the corporate root god, may he live forever." I know I can request this of the root god, but I'll be shot down (for immaculate, impeccable reasons, I'm sure...). Besides, he'll never get around to installing it even if he does say he'll do it.
View list of embedded fonts in PDF file with Preview
In Acrobat Reader I can go to File > Properties to see all the metadata for the open PDF file: the program that created the document, author information, embedded fonts, etc. OS X's Preview can also display metadata, albeit a more limited subset (under Tools > Show Inspector). However, you can't see embedded font information with Preview. Is there a way in OS X (preferably with Preview, and not with Acrobat) to see what fonts are embedded in a PDF file?
Determine if command is recognized in a batch file
I'm writing a bat script in which I invoke a program (such as javac). For simplicity, I want to check if the command exists before I run it. i.e. If the command exists in PATH. For example, What's the best way to do this in Windows?
Change the default resolution of Remote Desktop Connection (mstsc)
Is there a way to change the default resolution that mstsc uses? I dont want it to default to the full resolution of the client machine.
Is it reasonable to have multiple SSH keys?
So far I've created a separate SSH key for each server I need to login to (for each purpose, to be more accurate). I did it out of a sense of security, just like different passwords to different sites. Does having multiple SSH keys actually improve security? All of them are used from the same machine, are located in the same ~/.ssh, most even have the same passphrase. So... should I give up the whole system and just use one SSH key for everything? [UPDATE 2015-08-05] Github publishes your public key, and your SSH client may send all of your public keys to every server, depending on configuration, thusly, if you are concerned with a 3rd party SSH server knowing your identity when connecting, you should use multiple SSH keys, though in my opinion it is paranoid.