Skip to main content

Posts

Showing posts from May, 2017

command line - How to invoke Windows' gvim in a Windows environment from within Cygwin?

When I give a gvim command in Cygwin, I want it to invoke the gvim I've installed in my Windows. I tried writing a function in my .bashrc called gvim that invokes the gvim.exe in my Program Files folder, using cygpath and all that, but the problem is, that apparently invokes the gvim with Cygwin's environment; :echo $HOME prints C:\cygwin\home\Sundar instead of C:\Users\Sundar, and :diffsplit reports failures in creating temporary files which I assume are related to the same. So, how can I invoke gvim from Cygwin but make it as if it was invoked through, say, the Start menu? I tried changing the command to pass the gvim path to cmd.exe /c , but that too somehow sets up the same environment. What do I need to do to make this work? Answer gVim.exe looks for a HOME variable when it is run. In your case, the Cygwin environment has its own HOME var set, so it is using that. You could change the HOME value in your environment, but that could affect other applications. Then ...

macos - apple mail don't get my mail after a while

I use Apple Mail for my default email reader and it works fine (I set IMAP for my email reader setting) but from a week ago it's stopped getting my mail. I still can send mail to other people but can't get my mail from Apple Mail reader! Does any one have idea what the problem is? p.s: If I mail to my email acount from Apple Mail it gets the mail but if others mail me I don't get them.

gvim - Line length highlighting works correctly in console Vim, not GUI

This question is related to this one . Damian Conway provided a nice snippet for marking excessive line length in his recent OSCON 2013 talk about Vim. highlight ColorColumn ctermbg=magenta call matchadd('ColorColumn', '\%81v', 100) which results in this: It works great when using console Vim. However, changing the ctermbg=magenta part to guibg=Magenta only highlights the character, but doesn't color it in magenta. How can I make this work for gVim correctly? Answer Umm, works for me? As a reference, I'm running Vim v7.4 patch 335. (it's not bleeding much!!) I added the following two lines to my .vimrc : highlight ColorColumn ctermbg=magenta guibg=Magenta call matchadd('ColorColumn', '\%81v', 100) Reloaded vim and taa-daa! The characters at the 81st position were magically magenta-ized. EDIT: As per the comments below, we discovered that @isxek needed to put these two lines LAST in their .vimrc file. Evidently, the colorscheme used (Molo...

Get RSA private key and certificate from GlobalSign certificate

I can generate my own private key and certificate as follows: openssl genrsa -out privatekey.pem 2048 openssl req -new -x509 -key privatekey.pem -out g4certificate.pem -days 1095 Copy+pasting the certificate/private key parts into a database and executing a test toolkit returns a successful HMAC key exchange. However, I've now purchased a GlobalSign ssl certificate and have the .pfx file. How can I extract the equivalent RSA private key/certificate similar to those used when the toolkit returned a successful key exchange? My attempt: I tried to convert the .pfx file to a .pem file using the following command: openssl pkcs12 -nodes -in filename.pfx -out filename.pem The resulting .pem file contains 3 certificates and a private key with a header of '-----BEGIN PRIVATE KEY-----' and not '-----BEGIN RSA PRIVATE KEY-----'. I've tried to copy+paste the private key out into a new document and saved it as privatekey.key. Then converted it using the following command: op...

windows 8 - Remapping keys without external software

It seems my keyboard keys do not match up to their actual outputs, it's a UK keyboard, with the UK language installed on the operating system. In this case Windows 8. for example the AT key on the keyboard is actually " and the tilde is | . I recognise the mismatch of the at symbols being out of line with American keyboards, so I have tried the US layout also but that was also incorrect to the standard key layout I have on my keyboard. Maybe it's a driver issue with the keyboard? Or if not, is there a way I can remap the keys without using an external program, I'd prefer to keep the number of boot programs to a minimal if possible. Thanks! Answer The best tool for the job is Microsoft's own remapkey.exe , available as part of the Windows Resource Kit . (That link is for Windows 2003; I've used it successfully over the years on many versions of Windows, including Windows 7; have not tested Windows 8). remapkey.exe will write the mapping directly into the regi...

hard drive - How to change hdd read error timeout?

I'm recovering data from an hdd using ddrescue . With "retry" disabled, it takes roughly 30 seconds for every unreadable sector. The hdd has tens of thousands of bad sectors and the process is taking forever. Can I shorten the read error timeout to, say, 3 seconds? Perhaps with ATA commands? Kernel options? Firmware hacks? smartctl info: Device Model: Hitachi HTS542525K9A300 Firmware Version: BBFOC3EP User Capacity: 250,059,350,016 bytes ATA Version is: 8 ATA Standard is: ATA-8-ACS revision 3f

customizing chromium keyboard shortcuts

Is there any way to customise keyboard shortcuts for current chromium browser? Because of my Dvorak layout, I often bump ctrl+w when ctrl+v was intended, with disastrous results. In firefox browser we can do this with the 'keyconfig' add-on, but I prefer to use chromium.

networking - Windows 10 loss of TCP connectivity

I'm running Windows 10 professional with a Realtek PCIe GBE Family controller integrated on my MSI 170A-Pro mainboard. Usually everything is fine. The network works fine and interruption free on Linux and Windows. So the hardware seems to be okay. However, I experience a loss of connectivity about once a day using Windows 10. The symptoms are a bit weird though: I cannot connect to any website in either Chrome or Internet Explorer (Chrome says ERR_CONNECTION_FAILED) except that Google usually works (probably because a connection to it is maintained by chrome) my Google Talk connection continues to work (it seems only to affect new connections) nslookup works fine for any domain I can ping the sites I want to browse I have a valid IPv4 and IPv6 address I can ping the default gateway on IPv4 and IPv6 Windows Network diagnostics can not find any problems Windows says I'm successfully connected to the Internet other devices on the network continue to have no problems (it's not ...

Auto install addons with Firefox

I deploy Firefox quite often on individual machines. Aside from the obvious doing it all manually I'd like to be able to configure the Firefox installer to automatically include a selection of Addons I specify. Is this possible? Answer I found this article that tells you how to customize the firefox installer and bundle extensions with it: http://mike.kaply.com/2010/06/18/customizing-the-firefox-installer-on-windows/ One of the questions I get asked a lot is how to customize the Firefox installer on Windows and how to bundle extensions with it. I’ve spent the past few days learning a great deal about this subject, so I thought I would take this opportunity to provide a refresher on working with the Firefox installer on Windows. I’m going to do it as a Q&A so hopefully folks will get answers to the common questions they have. Standard disclaimer: Under no circumstances should you use this information to create a custom Firefox install and redistribute it to anyone outside your...

Where is my zsh getting its git completion settings?

My zsh does git completion, but I did not configure this myself. How can I figure out where these settings are coming from? Answer zsh comes with its own completion library which includes completions for Git commands. Once you enable zsh ’s completion, these bundle completions will be available. You usually enable and configure zsh completion by running compinstall (i.e. autoload -U compinstall && compinstall ). It will modify your .zshrc to include autoload -Uz compinit and compinit so that completion is initialized for each instance of zsh . compinit automatically loads completions from zsh ’s fpath directories (see the “Autoloaded files” section of the zshcompsys manpage ). For example, my system has two versions of zsh installed: /bin/zsh gets Git completions from /usr/share/zsh/4.3.9/functions/_git and /opt/local/bin/zsh gets Git completions from /opt/local/share/zsh/4.3.12/functions/_git . The directories of these _git files are in the respective shell’s ...

email - How to export mails from Lotus Notes into another mail client?

Is there a way to export all mails from Lotus Notes (version 8.5) into a more useable mail client like Thunderbird? Answer If your Lotus Notes cient is connected to a Lotus Domino server, then you can ask your server administrators (and/or help desk staff) whether the server's support for IMAP has been enabled. If it has, then you can simply use Thunderbird to access the server, and your messages will all** be there. And that's really what you want, isn't it? Not just a one-time export, but the ability to use an alternate mail client. ** Well, maybe not all. It's possible that your server has been set up to delete or archive messages after a period of time, and the client has been set up to not replicate the deletions.

networking - Can I send a Wake On LAN packet without broadcasting?

I am attempting to send WOL packets to a series of machines, which works when the machine sending the packet is connected to the destination by one or more switches, but if the packet needs to cross a router it is eaten. The people responsible for configuring and maintaining the routers/switches are telling me that the routers are eating the WOL packets because they are sent as broadcasts. So I would like to know if anyone knows how I could send the WOL frame to a machine on the other side of a router without it being wrapped in a broadcast IP packet. Answer Wake-On-LAN uses a "magic packet" sent at Layer 2 of the OSI model. Routers need information that is contained at Layer 3 of the OSI model in order to route packets. Switches on the other had are Layer 2 devices, which is why it works when you are just going through a switch. In short, you need to have IP information in order to cross a router, WOL only has MAC address information, so it is not possible to cross the r...

Windows 7 says it can not be updated due to Windows Update Service not running

My installation of Windows 7 refuses to fetch updates. When going to “Windows Update” in the control center (I hope it is “control center” in english, sorry I do have a german installation where it is “systemeinstellung”) it says that windows can't search for updates since the windows update service is not started. It suggests to restart the pc, but that does not help. When I look up the Windows Update Service in the Services Management Console it says the Update Service would be up and running. When manually restarted, no warnings show up. Yet the update preferences pane will say the same. What is going on here? What should I do to update Windows 7? Here is a screen shot of the error message:

windows - Is there a way to uninstall a program for a specific user (profile)?

I'm looking to separate out my development environment from my gaming and other misc items. Is there a way to tell my system to uninstall the application(s) for only one user (profile) i.e. Dev and Gaming. Answer No, this isn't possible for the reason that an application is installed for everybody. In some cases, an application is only installed for a single user, but then only that user has access to it in the first place. That being said, you can disable access and prevent a certain user from using a program. You can do that through Group Policy, setting folder permissions, and a couple of other methods work.

linux - How to install regexp enabled 'rename' on fedora?

I have a batch rename task and I find the 'rename' command in Ubuntu and Fedora is different. In Ubuntu, rename is written in Perl and has regexp support. Is there anyway to install it on Fedora? Answer The Perl script (by Larry Wall, himself) is called rename.pl You will then need to save it in suitable directory. Probably /usr/local/bin/ and make sure it's executable, by typing sudo chmod +x /usr/local/bin/rename.pl

networking - How can I monitor internet usage in my network?

I need to know which computer is consuming my bandwidth. Is there a tool to do this? Answer If you want to graphically display your local network connections, you may be interested in etherape . Free and cross platform. The thickness of the connection is an indicator of traffic volume.

networking - How does my computer's firewall work? Like inbound rule, outbound rule, reply?

So I understand how NAT works, but I don't understand how firewall works. With non-symmetric NAT, if someone sends me a packet, it gets blocked, but it I send someone a packet and they get that packet and then send it back to me, it gets through. I have Windows Firewall on my computer. Does the firewall work the same way (like does it block replies too?)? My Windows Firewall has some inbound and outbound rules. It also has an option for "all inbound traffic are blocked". When I select "all inbound traffic are blocked" for all networks (public and private), TeamViewer and Skype can still get through (they apparently have inbound rules that were set at installation). Are these inbound rules what allow them to get through? How do the inbound/outbound rules work? If I have "all inbound traffic are blocked" set up and then send someone a packet and they send it back to me, will it still go through? Or does "all inbound traffic are blocked" prevent...

dump - Externally enable minidump creation in Windows

I'm still in the process of fixing this problem , and user Moab suggested analyzing the dump file created during the BSOD. I can boot into Hiren's BootCD PE , hoping I would be able to find dump files in C:\Windows\Minidump , but there is not a single file to be found. Makes sense: I remember turning the feature off. However, is there a way to enable the creation of (mini) dump files in a Windows 10 installation using a boot disk such as Hiren's? Answer You can set Windows to produce mini-dump by setting [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl] “CrashDumpEnabled”=dword:00000003 You could set it to 7 rather than 3 to get an Automatic dump. See this MS documentation. Depending on the dump file you want to produce you'll also need to make sure that the pagefile exists and is big enough. From a boot disk you could set this key [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management] "PagingFiles"="C:...

windows 7 - How can I search photos by EXIF tags?

I want to be able to find a specific photo in my huge archive, so I put some tags in the EXIF header. The problem is: How can I search for a file that contains a specific tag (eg. "sky")? Can anyone help me out? Answer I found one way in Windows 8: In the search bar, enter tags:yourtag , in my example it would be tags:sky .

macos - Where does Mac OS X store file association information?

I know there is a system preferences pane to manually modify the file associations in Mac OS X Leopard. However, I'm curious where does Leopard actually store these information? I'm not interested in methods to change them. I want to know the configuration file or database (like registry in Windows) where those mappings are stored. Answer Sorry, this question is old, but the answer is really wrong. As toolbear mentioned, Doug Harris' answer is only partially correct. The Launch Services Database file, which is where all of the information for all known applications and the types of documents they can handle is stored, is located in the following location: Lion: /private/var/folders/**/**/-Caches-/com.apple.LaunchServices-034501.csstore Snow Leopard: /private/var/folders/**/**/-Caches-/com.apple.LaunchServices-025501.csstore Leopard: /Library/Caches/com.apple.LaunchServices-023501.csstore The /private/var/folders/ folder is where the "secure" Caches and Tempo...

linux - How to recover deleted file if it is still opened by some process?

$ cat important_file > /dev/null & [1] 9711 $ rm important_file $ killall -STOP cat [1]+ Stopped cat important_file > /tmp/p $ ls -l /proc/`pidof cat`/fd/ total 0 lrwx------ 1 vi vi 64 May 13 20:32 0 -> /dev/pts/29 l-wx------ 1 vi vi 64 May 13 20:32 1 -> /tmp/p lrwx------ 1 vi vi 64 May 13 20:32 2 -> /dev/pts/29 lr-x------ 1 vi vi 64 May 13 20:32 3 -> /home/vi/important_file (deleted) How to recover this important_file ? I tried something like injcode -m dup2 -ofd=3 -ofilename=/tmp/recovered_file -oflags=O_CREAT $PID_OF_CAT but it does nothing. Answer If /home is NFS, there will be a .nfsNNNNNNNNNN file in /home/vi that you can access/copy. If home is a local filesystem, you should be able to do the same thing via the /proc/PID/fd/3 link: cp /proc/PID/fd/3 /tmp/recovered_file If you want to actually undelete the file, here's a blog post on the subject.

windows xp - How to connect to XP Home PC from XP Pro using Remote Desktop

I want to connect to my XP Home PC on the same LAN workgroup (MSHOME) with my XP Pro machine - but I always get the following error Remote Desktop Disconnected This computer can't connect to the remote computer. Try connecting again. If the problem continues, contact the owner of the remote computer or your network administrator. How do I solve this? Answer Windows XP Home does NOT support inbound Remote Desktop. Use VNC .

osx snow leopard - mod_rewrite working but php pages not found or not recognized (downloaded instead of executed)

In regard to my first post mod_rewrite problems in sandbox: Mac OSX 10.6.6 Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/0.9.8l DAV/2 PHP/5.3.3 I am making progress but... Now the index.php page is not recognized or PHP is not executing. Here is the error message for this page ( http://localhost/~nino/mod_rewrite_test/page/somepage ): Not Found The requested URL /Users/nino/Sites/mod_rewrite_test/index.php was not found on this server. If I just go to the directory, in my browser, ( http://localhost/~nino/mod_rewrite_test/ ) the php page is downloaded, not executed. This only happens in this directory that I have a custom conf file for mod_rewrite (/etc/apache2/users/nino.conf): Options All -MultiViews AllowOverride All Order allow,deny Allow from all Here is my .htaccess file for the mod_rewrite_test directory: # Use PHP5 as default AddHandler application/x-httpd-php5 .php RewriteEngine on RewriteRule ^page/([^/\.]+)/?$ index.php?page=$1 Mac OSX 10.6.6...

boot - Laptop requires several restarts before the graphics card powers up

I have a PCSpecialist Octane III (Clevo P751DM2-G) which is about 18 months old now. Less than a week ago, with no identifiable cause the laptop started requiring several restarts for the screen to turn on (to restart I have to hold the power button to turn it off and then turn it on again). I have narrowed this down to being an issue with the graphics card because it applies to external monitors too and the graphics card fan turns off prompty after the machine boots when the display is having problems, as opposed to when the display does start where the fans remain on constantly. I am also fairly confident it is not a software issue as I can tell from the HDD light that the OS loads in the background even when the display shows nothing. Also when booting into the BIOS the display still does not show anything. Some further detail about what it does. Generally, once the laptop has started successfully it can be restarted without issue. In fact, last night after having the laptop on for ...

microsoft word - Labels mail merge repeats on subsequent pages?

I'm trying to do a mail merge to print to labels. The first field in the document does not contain a { NEXT } field code, and because of this the records repeat between label pages for example: Notice how the records shift to the left as the next page is displayed? But how they start over again in an off by one manner? Now I've tried to fix this by using the first record displayed on a page to see if the page number is 1. If it not on page 1 of the mail merge then it should just move to the next record; otherwise it should just display the first record: This doesn't work however, because when I do the preview and display the {page} field code, it reports that I am always on page 1 and thus the same behavior continues instead of just moving to the next record on the next page. Answer Oh okay so it is working right...Microsoft can't make their previews work right in the Mail Merge for 2007, so here is what I did: Open a Blank Word Document In the ribbon bar click the...

microsoft excel - What is the "sep=" metadata you can add to CSVs?

While trying to find out how to get CSVs to open correctly in Excel on a Spanish PC (belonging to a customer) I found many answers recommending using sep=, at the top of the file: On the face of it, this approach works but none of those answers give any further information on where this metadata option comes from. I have tried to search for what it means (and hence found all of those answers) but have been unable to get any further information especially given that punctuation is notoriously hard to search for. My primary concern is whether or not this is an Excel-specific feature . I suspect it is but have found nothing definitive to confirm it. Some related questions are: What characters can be used in this setting? What other settings are available (eg. line termination character, quote character, etc). Are there any other tools that officially support this feature? I'm hoping there is a piece of documentation somewhere that someone can point me to that will answer all these q...

windows 7 - how to transfer old Hard drive to new computer without reformating

I know these already. 1) In order for me to utilize a old Hard Drive into a new Mobo, I need to reformat the Hard drive first. 2) A Hard drive will not boot on a new MoBo because it would require the necesarry drivers to utilize the Mobo. But here is my problem, I have a 10 year old Dell Optiplex 790 computer whose motherboard got roasted, literally. Having checked the hard disk for any defects, internally and extenally, and proved that the hard disk is working, my problem now is using the old hard drive. It has a software which we don't have the installer. I was tasked to boot up the old hard drive, but how do I do it? EDIT: The new MoBo btw is Asus h110m-D 1151 socket, the OS would just be the same, Windows 7 32bit Pro edition. Answer There's a lot of good answers here, most of which require both a second working PC and/or extra knowledge of the tools involved (i.e. virtualization of the old drive to backup files and move to a new Windows installation, or try to repair the ...

Most reliable remote desktop / VNC for Windows

Possible Duplicate: What's the best Remote Desktop Application? I would like to leave a solution on a friends Windows (XP/7) so I can easily help her remotely from my home (With a confirmation from her). I am mostly concerned about reaching it from the Internet. Ideally I would like to be able to initiate a session to the PC I want to get in on. Answer Window RDC won't work if the remote machine is Home Edition (XP and possibly W7 but I'm not sure in this case). With Windows RDC, you'll need something like DynDNS to reach her public IP. With VNC, team viewer or other software like those you don't need to reach her public IP so you don't need DynDNS as the server in her machine will give an access code you can use directly without using her IP. Another possibility (more complicated but with more possibilities, depending on what kind of help you need to provide) is to make a VPN with server in your machine and she connects when she needs help or server in her ma...

windows - Change MAC address of Intel(R) Dual Band Wireless-AC 7260

I tried to follow the instructions here , but my card doesn't seem to have that option. Is there another way to do this? Answer How do I change the MAC address of my Intel(R) Dual Band Wireless-AC 7260 adapter? This is not possible. For security reasons, Intel does not support this practice. The Media Access Control (MAC) address is hard-coded on Intel wireless adapters and cannot be changed. Some third-party software applications can "spoof" a MAC address to a different address, but for security reasons, Intel does not support this practice. Beginning with 12.x wireless driver package, the possibility of "spoofing" the MAC address was blocked to prevent this practice. The article includes a list of products this applies to (the list includes the Intel(R) Dual Band Wireless-AC 7260). Source Can I Change the MAC Address for My Wireless Adapter?

Universal middle button scrolling with laptop with mouse pointer in keyboard

I have a new HP ZBook G6. It has two mouse button rows, the top one for the mouse pointer in the middle of the keyboard, the lower one for the trackpad. I have completely disabled the trackpad (and the bottom row of mouse buttons); I only use the mouse pointer and the top row of mouse buttons. So, my post here refers only to the mouse pointer and the upper middle mouse button, circled in red in this photo here: I use the middle button primarily to scroll windows in conjunction with the pointer: I press and hold the middle button (with my thumb) and simultaneously move the pointer to scroll in the direction and speed that I want. This works well in many programs, but not in others. It works well with web browsers like Firefox and Chrome and many applications like Word and Excel, but it does not work at all with others, most notably Windows Explorer, Windows configuration windows, Microsoft OneNote, etc. I also have a Lenovo ThinkPad T510 which can scroll well with pointer and middle but...

unicode - Saving a file in a CSV type in Excel always removes the BOM

I've been trying to find a reasonable solution/explanation (unsuccessfully) to find out why Excel defaults to removing the BOM when saving a file to the CSV type. Please forgive me if you find this a duplicate of this question. This handles reading CSV files with non-ASCII encoding, but it doesn't cover saving the file back out (which is where the biggest issue lies). Here is my current situation (which I'm going to gather is common among localized software dealing with Unicode characters and a CSV format): We export data to a CSV format using UTF-16LE, ensuring the BOM is set (0xFFFE). We validate after the file is generated with a Hex editor to ensure it was set correctly. Open the file in Excel (for this example we're exporting Japanese characters) and witness that Excel handles loading the file with the correct encoding. Attempts to save this file will prompt you with a warning message indicating that the file may contain features that may not be compatible with Un...

worksheet function - Excel conditional formatting based on a formula

I would like to use Excel's conditinal formatting of a particular column based on values in two other columns. I have values in columns A, B, C and D. column A has text values (any value user enters) column B has a numeric value (any value user enters) column C has a text value selected from a set of values (data validation using drop-down): Start Intermediate End column D is defined as (x stands for any row number) =IF(Cx="End";"";Bx) user can as well delete the formula in column D thus making it empty I want values in column A displayed in red when D is empty and user didn't select End in column C. So this only happens when a user deletes the formula in D. So I thought of creating a conditional formatting rule that would do the trick for me. But when I try to write the condition formula it doesn't work. I've tried specifying this formula for conditional formatting rule: =NOT(OR(ISNUMBER(INDIRECT("D"&ROW()));INDIRECT("C"...

search - Locate bookmarks folder after finding bookmarks in Firefox

When I search bookmarks I can't find a way to locate the folder of the result. I have many bookmarks folder and subfolders and most folders and subfolders contain some bookmarks. When I cannot remember or guess the folder where a bookmark resides but I know I have it, I can search for bookmarks and all results are listed and I can click each result. There are properties of each result displayed. I would expect that the folder where a bookmark lives is an important property, but I cannot find this information. Is this a one way street? Once you put it somewhere you have to always remember where you put it, otherwise no way to locate it? Is such a basic back reference missing in the Firefox bookmarks search? Edit: In the meantime I found a related question (my question is also asked as a secondary question there), just for reference: How to search for bookmark folders in Firefox Edit 2: This was already filed as a bug: https://bugzilla.Mozilla.org/show_bug.cgi?id=196509 as pointed...

mac - Why do I see "Operation was denied because the current credentials do not have the appropriate privileges" when trying to chsh?

I'm setting up a new dev Macbook Pro, and trying to replace bash with zsh. I installed zsh and can run it to change shell in a session. When I use sudo chsh -s /bin/zsh username I get the error message: chsh: Operation was denied because the current credentials do not have the appropriate privileges. Operation was denied because the current credentials do not have the appropriate privileges. AFAIK I have admin privileges on the machine. What could be causing this? Answer I ran into this problem a moment ago. I can confirm that /etc/shells listed '/bin/zsh', so David Schwartz's answer did not apply to my case. Macworld has a tip for Mac OS 10.5 and it appears to work for 10.6, too. Let's duplicate the link's info! To change the login shell of your account in Leopard, do this... Control-click on your account name in the Accounts pane of System Preferences and choose Advanced Options in the contextual menu that appears (you'll have to unlock the pane first, ...

troubleshooting - How to tell if CPU is actually overheating or is a false positive?

How does the CPU know it's temperature? I've been having trouble turning on my computer as I keep getting "CPU fan error". I reapplied thermal paste and got a new heatsink/fan and still the same problem. Could it be a false positive? How can I tell? Any other causes of the error that don't actually have to do with the CPU heat, for example could the CPU not be correctly seated? The heatsink I'm using is stock Intel and I heard all 4 pins click in. Plus when I took it off the thermal paste had been smudged around so I knew it made contact, and I watched the fan spin. UPDATE: it's working now. I didn't know it made a difference where you plugged in the power cable to the motherboard. I had tried plugging the fan into two connectors, and though the fan turned on, I guess the same channel is used to convey information about CPU temperature? Here is a picture with red arrows pointing to the power connectors (or what's the correct name?) where I plugged ...

git - how to publish the GitHub app to remote users of Windows Server 2012?

I think I have an idea what publishing apps to users mean on a Windows Server I administer. (More on that in this wiki, perhaps) However, it seems to work well with apps with exe's in the main Program Files folders, or wherever I can find them outside my personal folders (i.e. folders belonging to a user account, even if an admin one). I tried to download the GitHub app from windows.github.com, but it hides its exe. I could not reverse engineer the special shortcut the installer created, and among the exes I found, only installers could be pushed to users, which of course did not help them. Hopefully it is a common problem: How can I easily set up our users on GitHub, then? Please see my related question about how to relax restrictions on the accounts to install and use GitHub.

File system format for both windows and linux use (besides fat32)

I'm looking for a file system to format my large external drive with that can read/write in linux and read/write in windows. I know Fat32 is usually the best suggestion, but a large percent of my files are >4GB, so Fat32 won't work. Are there any other ones out there that I can get to work? Thanks Answer NTFS. Works natively in Windows, and well in Linux/OS X via NTFS-3g.

windows 7 - how to use codefolding feature of notepad++ for normal text documents

When I open an reg file in notepad++ file in notepad++, I see the amazing functionality to minimize and maximize the subkeys of a base key by clicking on that little arrow on the left. Can I get this functionality in normal documents? I want to create different categories for ex: topic 1, topic 2, etc, which I can maximize and minimize. Answer You can define your own syntax highlighting and code folding rules by defining a 'User language'. Click Language -> Define your language... to open the User Defined Language dialog. This dialog gives options for many levels of customisation. In your case, you could add the word 'Topic' to the 'Folding in code 1 style' open list.

motherboard - Does this mean that I must overclock, or simply CAN overclock?

http://www.asus.com/Product.aspx?P_ID=6nnVb6RBxd7PhGmt Asus writes the spec for this motherboard as: Dual-Channel DDR2 1066(O.C*)/800/667 Does this mean that I have to overclock to support 1066Mhz RAM, or does it mean that the RAM is overclockable only if it is stock 1066Mhz? Answer Yes, it means that if you want 1066MHz DDR2, you’ll have to overclock the FSB to 1600MHz—1333MHz is the maximum supported speed—(if the RAM is already 1066MHz stock, then it won’t be overclocked; that’s the maximum speed that board can do for RAM). You can see the details in the Specifications tab of the page you linked to. You will need to overclock the FSB to 1600MHz in order to use the 1066 DDR2 RAM at 1066MHz. If you use the rated maximum of 1333MHz, the RAM will run at 800MHz, not 1066MHz. So your options are to either OC the FSB and run the RAM at full speed (assuming you don’t already have slower RAM installed in which case all the RAM will run at the speed of the slowest stick), or else run the 10...

How to edit ddrescue log file to resume at a certain spot?

I'm trying to image a 500GB disk using GNU ddrescue and using the log file. I got to 420GB and then I stopped it with ctrl+c . I ran the command again after some time and it started all over again, despite there being a log file. The old log file has been written over by ddrescue . Like I said, my image file so far is 420GB out of a 500GB disk. How do I edit the log file or tell ddrescue to resume from around 420GB? It took me DAYS of running ddrescue to get to 420GB. I do not want to restart this process all over again. Here's the log file: # Mapfile. Created by GNU ddrescue version 1.21 # Command line: ddrescue /dev/sdd /media/myname/New Volume4/backup.dmg /media/myname/New Volume4/logfile.log # Start time: 2016-05-17 13:08:39 # Current time: 2016-05-17 13:08:48 # Copying non-tried blocks... Pass 1 (forwards) # current_pos current_status 0x0C770000 ? # pos size status 0x00000000 0x0C770000 + 0x0C770000 0x7464496000 ? This is what sudo fdisk -l says...

memory - I have been told to accept one error with Memtest86+

Bought a new computer back in August with 4x4 GB RAM. Had problems with the RAM. They sent me four new sticks, which also generated errors. Singled out four sticks (from the eight I now had) that didn't generate any errors. Discovered by coincident a new RAM error last week (this time no BSOD). Contacted the company. According to them there have been issues with a bad stock from last summer so I got two tested 8 GB sticks sent to me. Been running Memtest86+ over the weekend. After 20 hours I got an error (see attached photo). The test has now been running for 37 hours but so far only this one error. I contacted the company where I bought the computer. They wrote back: I wouldn't worry about hat one fail. We have had similar situations here whereby it passes numerous times but then fails once. We think it's an issue with memtest, after all memory is faulty or it isn't so you can't really have it pass a few times, fail the next time around and then pass again! Please ...

gpu - Graphics card failure, anything I could try

My gaming PC has decided to die, it's not the first time but usually a quick ATX reset brings it back to life. Today it didn't. I disconnect all unessasary devices so I've only got the case button / LED cables, GPU, CPU, RAM and power connected, the computer still didn't turn on. I've not got a speaker on my motherboard so found a spare one I have for testing and when the machine starts up I get one long beep and two short beeps from my Award BIOS, which apparently means a video card error. I change it with the GPU from another machine and all works well. Q: So I have a faulty graphics card (an nVidia 8800GT OC), is there anything I can try to resurect it? Edit So I tried the answer sblair provided, and bugger me it's only gone and worked! I pre-heated my oven at 200*C for about 5 minutes, put the graphics card in for about 5 minutes before cranking it up to 230*C for the remaining 5 minutes. I didn't notice any plastics warping, bending, softening etc, how...

Using Vim/Gvim with multiple GUI windows

Is it possible to have 2 or more (G)vim windows for the same session, or at least share some buffers. Here, "window" refers to a Gnome(or KDE, or Windows etc.) window, not a VIM window. I use two monitors with xinerama and want to open two separate GUI windows instead of having a huge single one that spans multiple screens. Answer Currently gVim cannot have separate 'toplevel' windows for the same process/session. There is a TODO item to implement an inter-process communication system between multiple Vim instances to make it behave as though the separate processes are unified. (See :help todo and search for "top-level".)

How to launch the Windows Explorer shell after starting with a different one?

The following is a hack, but for what I need it for its fine. I created a C# program that shows some EULA text and has an Agree and Disagree button. I set the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell to launch that program. When the computer boots, the normal login prompt shows. After logging in, the custom EULA program launches. There is no explorer shell, no start menu, no background, etc. (which is what I want). The disagree button shuts down the pc and works fine. I want the Agree button to load the normal windows explorer shell (start menu, background, etc). I used the following C# command: Process.Start("explorer.exe"); However this launches an explorer window, not the shell. I want the shell to launch. What am I missing?