Skip to main content

Posts

Showing posts from May, 2015

macos - Creating an alias or function, need to be able to pass in a parameter

I want to wrap 3 lines of execution into an alias, but I also need to pass a parameter when I call it in terminal. Do I need to create a function for this? I'm new to this, but I know there are functions in bash also. alias blah=some_call_here; some_other_call $1; some_thing_here The $1 in the above is the value I want to pass in when I call the alias. So to call it I want it to look like: blah "some text" Not that it has to be text that I pass in. Answer Aliases don't do parameters, so yes. blah() { some_call_here ; some_other_call "$1" ; some_thing_here ; }

windows 7 - Hard Drive Remaining Space Not Matching up With Current Space

my hard drive is reported to have 65GB left out of a possible 223GB, however running WinDirStat and doing it via Windows, the hard drive only has about 60GB of used space. Where has the other 150GB of space gone? I've googled this issue and most answers say some Windows files are hidden, but 150GB of hidden files seems rather extreme to me. Here is a screenshot:

boot - Need to use both button and paperclip on ATX connector to power the pc

I have some issue on a computer, and after several tests I found out that the only way to safely turn on the computer (otherwise it is dead) is to keep the paperclip on the atx connector and push the button on the front panel. This is the only way to fully boot the computer. After the computer is booted, I can take out the paperclip. The motherboard has already been replaced once. It is a PSU issue? What is going wrong? Answer This issue is a symphtom of a failing PSU. After a couple of weeks of this mess, the PSU failed completely and died.

debian - Cannot read protected DVDs on shell / headless system

Can anybody help me? I'm trying to get access to read protected DVDs for hours now. Attaching USB drive to a Windows PC works fine - all DVDs can be read, also inside an Xubuntu virtual machine on the related host all is fine. But when installing OpenMediaVault as host system, I can read only non-protected DVDs. Because it works 100% inside a guest it's not hardware related. # uname -a Linux nas 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux # dpkg -l libdvdread4 libdvdcss2 libdvdnav4 Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten | Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/ Halb installiert/Trigger erWartet/Trigger anhängig |/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht) ||/ Name Version Architektur Beschreibung +++-===========================================-==========================-======

process - Multiple chrome.exe processes in Task Manager

I know that each new tab on Google Chrome have its own process, but I have 14 chrome.exe processes running actually as I can see it on the Task Manager, and only two tabs are opened on Google Chrome. Could it be due to Chrome extensions? What other reason can open more chrome.exe process and how to avoid it? Answer You're always going to have at least n + 1 chrome.exe processes, where n is the number of unique domains you have open across all visible tabs. The +1 is for the "Browser" process coordinating everything else. (e.g. I have 5 tabs open, 4 for SuperUser, 1 for another site. I have 2 Tab processes open) You'll also have processes for any extensions that might have a background window open. (e.g. Adblock Plus, Ghostery, Stylish, NinjaKit all require an extra process) Hit Shift + Esc or go to Chrome's Task Manager (under the Tools menu/sub-menu depending on which version of Chrome you're running) to see a list of all the processes and what they

language - Specific characters displaying as boxes in Windows 7

I'm currently experiencing issues with "exotic" unicode characters that are displayed as boxes (for example, Bananas ). I've searched a bit how to extend Windows character set, but didn't find anything working yet. I've tried to play with language packs, but when trying this , I simply don't see these updates in the Optional tab, nor do I see, in Regions and Languages > Keyboard and Languages, a box under Keyboard and other input languages with the title Display language . I then would like to know how can I extend the character set supported by Windows. Is that even a matter of language, or a matter of font ? Answer There is really no “Windows character set” to extend. Characters like BANANA (U+1F34C) are recognized and processed, they just aren’t displayed, because no font in the system contains it or, depending on program and context, the font(s) being used by the rendering software do(es) not contain it. So it’s a font issue. Some language pack

cpu - Ubuntu: AMD64 vs i386?

I can't understand what these are even though I've read articles about them. Does it have something to do with 32 bits and 64 bits CPU? So why is it saying "AMD"64 and "i386"? AMD is a label just like Intel? So, if I've got an Intel Core 2 Duo (MacBook Pro), then I can't use AMD64 even though Intel Core is 64 bits. Answer Yes, you can use amd64 on your Intel Core 2 Duo. The architecture is named after AMD because AMD invented it, with the Athlon 64. Similarly, the 32-bit i386 architecture is named after Intel's 386 processor, because it was the first of its kind, but i386 will also work on AMD processors.

display - Colors differ in the dual monitor

I use a dual monitor. The colors appear entirely different on the new monitor than they do on my laptop. When you are selecting colors etc, to be included in a website design, it totally freaks me out. Is there no software solution that finds how the settings of one of the monitor is and puts that to the second one? Otherwise what all settings do I need to change manually on the second monitor to make it appear as it does on the laptop? Thanks in advance. Answer Check this out Color Calibration 101 (codinghorror) , it should help! But I would recommend to buy a display calibration device (absolutely useful when using dual display)! The good ones are pretty expensive, you can share it with friends to afford the price.

linux - Routing issue with bridged connection

I had a problem setting up a wired to wireless bridge on my Raspberry Pi box - but that is now fixed - Wired to wireless bridge in Linux - but the consequence seems to be that the squid proxy server that was running on the box now fails - eg many things time out as a TCP_MISS. (See below: this seems to be an issue about packets being routed outside my network - connections inside my network work fine) How can I set the squid server up to work again? The eth0 has no ip4 address, the wlan0 has no ip4 address, br0 does. But they all have ip6 addresses - though I am not using ip6. I can use ssh to login both into and out of the RasPi, and Squid requests are reaching it... Update : Clearly I have some routing problem. Just pinged an external address from the RasPi box and five pings took 80244ms! No packets dropped though. My routing table looks perfectly normal... pi@raspberrypi ~ $ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use If

windows 8.1 - How to decrease memory leaks for PAL and CM31 tags?

I have a memory leak as the picture below. Their tags are CM31 and PAL. By using command prompt I found an upgrade for xHCIPort.sys (it was intel proset wireless software) and using Intel's program I upgraded it and after check there wasn't any upgrade in that program. However as the picture below I still see the xHCIPort.sys which causes the leak. (As in the first picture) Second one is, I can't see anything for CM31 tag in command prompt. So, when I enter findstr /s CM31 *.* command to the C:\Windows\System32\drivers> directory it just jumping the bottom row and shows nothing. What can be done for these? EDIT After checking Pool Usage from WPRUI, I saw the big usages oritinate Gh05 and PfPB tags. It was displaying for CM31 tag nearly 250 MB. I don't care it. I need to decrease the usages for Gh05 and PfPB tags. That's why I wrote the commands for that tags as I mentioned above. However, same thing happened. Nothing happens and seems in command propmt. It is j

linux - Split MPEG video from command line?

I have a homemade DVD that I'm effectively trying to insert chapters into and rearrange - the original author burned it as one long chapter, and I'd like to rip it into smaller pieces and re-encode it into a new DVD. I ripped the DVD with the following command: mplayer dvd:// -dvd-device /dev/sr2 -dumpstream -dumpfile raw.vob I'm running Gentoo Linux with mplayer version 1.0-rc2_p20090731 (the latest available in Portage). I have a list of times that the chapters are supposed to span (for example 30:11-33:25), so my first thought was to rip the entire DVD and use mpgtx to cut out certain pieces of the file. My issue is that running mpgtx -i on the file reports quite a few timestamp jumps: Time stamps jumped from 59.753789 to 0.001622 at position 1d29800 Time stamps jumped from 204963823030450.343750 to 31.165900 at position 2d4f800 Time stamps jumped from 60.077878 to 0.001622 at position 43cc000 Time stamps jumped from 60.024233 to 0.001622 at position 65c5000 Time stamp

hard drive - Windows 7 System process reading/writing like crazy

I have a problem that my windows 7 computer sometimes starts accessing the disk like crazy for maybe 10 minutes at a time. The process in question is the "system" process. I have disabled superfetch and hibernation on my computer, if that makes any difference. I disabled those to see if they were the cause of the problems, but no change. I have 6 GB of RAM and only the web browser was started when I took the screenshot, so I don't think it was thrashing due to page faults. Any ideas on how to find the cause of this?

Windows 10 memory leaking

Hi i have this problem for quite some time and I'm unable to solve it. First i noticed this, when windows start showing me error messages "Your computer is low on memory" when usually with the same apps running there were no problems. The longer uptime the worse it gets, so i began to suspect some leak is happening. This is situation when the system uptime is 9 days (I'm hibernating twice a day, it's hibernated when i sleep and when i'm in work) and everything memory consuming is closed. (memory usage 40% swap 48%; memory is 8GB swap (pagefile) is 2GB fixed) (paged pool - 397 MB; nonpaged 206 MB; 8GB Ram, 319MB hw reserved (iGPU)) this means used memory is more then 3GB but sum in task manager - process tab is no more then 700 MB. (show something with tag fdmg that (if I understand that well) didn't free 2GB of memory.) so i used findstr -l -m -s fdmg *.sys and got this and now, I'm lost, what to do now? My system have some issue, but i don't kno

bash - is it plausible that Ubuntu's wildcard * with tar is somehow failing to restore some files?

In this command line sequence I use a *.sh wildcard to restore some files. I got three hits. Knowing that there must be more, I typed in the whole name. For example: goFindRanges.sh. I was able to restore an additional file. How could the wildcard have messed up? My .tgz archive is on a hard disk; not optical medium. I use bash on my Ubuntu 10.10. b@maui:~$ tar xvpfz backup2011Sep06T0000.tgz ./javawork/Trader1/*.sh ./javawork/Trader1/goReloadOp.sh ./javawork/Trader1/goReloadAudit.sh ./javawork/Trader1/goTrade.sh b@maui:~$ tar xvpfz backup2011Sep06T0000.tgz ./javawork/Trader1/goFindRanges.sh ./javawork/Trader1/goFindRanges.sh Answer Your wildcard expands what is already on disk, not what is inside the archive (tgz).

Apache showing PHP code - after upgrade on Mac to macOS Sierra

I'm using an iMac which I've just updated to macOS Sierra. Prior to this it was running El Capitan. Under my El Capitan set up I had Apache, PHP and MySQL configured as per this guide . This worked without any problems. When I updated to Sierra it overwrote a load of config files. So I went back through the guide and configured everything as I had under El Capitan. http://localhost is working as I'd expect and I can see files in my webroot. However, if I open a PHP page, it just shows the raw PHP code rather than executing it. I'm using the following: Apache Server version : Apache/2.4.23 (Unix) Server built : Aug 8 2016 16:31:34 PHP PHP 7.0.10 (cli) (built: Aug 31 2016 10:25:51) ( NTS ) macOS Sierra 10.12 Answer Sierra comes with PHP 5, not PHP 7. Anyway, check if the module is loaded in httpd.conf : LoadModule php5_module libexec/apache2/libphp5.so If this doesn't work, probably you didn't told Apache to recognize *.php files as php executables. To do so, l

MBR 2TB LIMIT - TOTAL STORAGE OR PER DISC?

I´m a little confused about the MBR 2TB limit. Does it refer to the total storage of a system or only to the boot partition? Let´s say I have Windows 7 32bit installed on a 500GB disc in a primary partition and three discs of 1TB each formated as logical partitions, all MBR, NO 4k, internal, NO USB. Can this configuration work without problems?

linux - Convert image to uncompressed PNG from the command-line

I have a compressed PNG image compressed.png . I can convert it to an uncompressed PNG decompressed.png using GIMP (saving as PNG and setting compression level to 0). How can this be done on the command line (Linux)? I recall doing this in the past using Imagemagick 's convert , but I forgot how. I tried some things that I thought should work based on the documentation : convert compressed.png -compress None decompressed.png convert compressed.png +compress decompressed.png convert compressed.png -quality 0 decompressed.png convert compressed.png -quality 00 decompressed.png just wrote an ordinary compressed PNG. Aside: why would you want an uncompressed PNG? Some cases: You want to support efficient (binary) diffs of the image data, while still using other features of the PNG format (as opposed to storing raw image data or BMP). You want to compress several PNGs together in a tarball or 7z archive, but want to keep using PNG features. If the images are sufficiently similar this c

troubleshooting - Power Supply Not Working?

So I recently made some purchases for a new computer including: Motherboard: Gigabyte GA-EP45-UD3R CPU : Intel Core2Quad 2.66Ghz Power Supply: Antec Basiq 500w UPDATE: I got the Power Supply working, the motherboard's lights come on, the video card fan spins, BUT the CPU fan does NOT spin and there is no video. Whats the possibility of lacking power? In the mobo guide it says the use of a power supply providing a 2x4 12V connector is recommended (I do not have this connector) by the CPU manufacturer when using an Intel Extreme Edition (I'm using Core2Quad) UPDATE: Got it working, intstalling windows 7 now. THANKS GUYS!! Answer As far as I'm aware all Core 2 processors will need the 4 or 8 pin power connector plugged into the motherboard. Without it you will get similar symptoms to your issue. Look on your power supply for a 4 or 8 pin plug. It will be on its own cable. It will either be a 2x2 or 2x4 pin plug X X X X or X X X X X X X X The connector on the motherboard

Does any software exist for Windows XP to change the order of items in the taskbar?

I know alt + tab is handy, but doing web development on Windows XP can be difficult when I have to open something new, and it's in the far right, and I have Photoshop or something opened in the far left. As far as I know, there is no way to reorder them natively, but is there something available that can? Thanks Answer Taskbar Shuffle and Taskix both do this.

windows 7 - Is it possible to combine processing power of 2 computers?

Here are a few questions, I wish you could enlighten me. Is it possible to combine processing power of 2 computers? How do I do it? Answer Not transparently where a running program can somehow use the second machine to execute code, since they are logically separate with no way for the cpu to communicate or access each other's memory. That doesn't mean you can't combine processing power: Specific software might have components that can execute on other machines, e.g. protein folding, SETI @ home. These tend to be specialized, i.e. you can't start up Excel and tell it to use another computer for computation. If you are doing processor intensive tasks, you could use the secondary machine to run them, e.g. encoding/recoding a video stream. If you are looking to harness the secondary computer in any way, being able to remote control it is crucial. Two ways to do this are via some sort of remote access (RDP, VNC) or alternatively something like synergy+.

firefox - Printer Font Question on Windows

I've got two problems printing out program listings on web pages from Sun's website, using Firefox in Windows, and was wondering how I might diagnose/correct the problem. Here's an example page . The regular text prints fine but the fixed-width font is very problematic; it looks fine on screen but in a print out the characters are all jumbled like the kerning has gone horribly awry... and I also have the "Mah Jong" effect: instead of whitespace characters at the beginning of the line, I see a bunch of square characters with what looks like +--+ |00| |20| +--+ inside, which I guess is the printer driver's way of complaining that this is a unicode character that it doesn't know how to print. (why it doesn't know how to print out a space is beyond me....) Any suggestions? Answer It appears to be a bug with the way Firefox handles Courier as opposed to Courier New. http://blog.twaddington.com/2009/04/firefox-308-prints-garbage-fixed-width-text-courier/ T

Where to store bash scripts that all users may execute on Debian?

I have many bash scripts on my server, that all users may use. but it seems the location /usr/local/sbin is not the best place. I don't want to use the home directory of the users, cause everybody may execute them. is there a convention about where to store them on Debian? Answer The "official" place for local executables is /usr/local/bin . This directory is usually in the $PATH of all users by default. Traditionally, programs that are not installed through a package manager (eg apt ) are stored in the /usr/local/bin directory and those installed by the package manager in /usr/bin . See here for some more information and here for the official definitions and more details than you will ever need. These are just conventions though and you are free to use your own directory. For example, to store scripts that can be executed by all users in /usr/local/scripts you would need to follow these steps: Create the directory (I am assuming you have sudo configured, if not ju

shell - How to correct the unrecognizable code in my debian?

After running programs that output unrecognizable code, the whole shell would be full of unrecognizable code. How can I correct this? Answer SI/SO VT100 Control Characters The garbled characters are likely due to the terminal getting a SI character (Shift In; ASCII 14; Control-N). SI is a VT100 control character that can cause the terminal to switch to an alternate character set. Many real terminals (e.g. an actual hardware device, or just the text-only console of an OS) and terminal programs honor this escape code. The direct way to switch back to the normal character set is to send a SO character (Shift Out; ASCII 15; Control-O) to the terminal. Recovery Because the character set is switched, you may have to type the recovery commands “blind” (without relying on seeing what you have typed). Usually the echo command will be useful. Often you can type E C H O Space Control - V Control - O Enter / Return to get the terminal to see a Control-O (the Control-V tells the input-

USB works only after reboot windows 7

recently my win 7 laptop has had problem. The USB stops responding and doesn't detect anything connected to it, in this case my smartphone in disk drive mode. When I reboot the laptop, it works fine but only after some time has elapsed, the USB no longer detects any device connected to it. My mouse is USB but continues to work without reboot. Thanks very much for any help.

how to split the google chrome browser into 2 panes?

It was previously asked here and " Split Screen " extension is recommended. However when I use it the error message comes out: "For security reasons, framing is not allowed. click OK to remove the frame" Any work-around or other ways? Update after @jofro 's reply: I tried disable all other extensions and it still fails. The setting page shows an error which I don't understand: Warning: This extension failed to modify the response header "X-Frame-Options" of a network request because the modification conflicted with another extension ( Split Screen ). It fails regardless of whether the "Allow access to file URLs" is checked or not. However, if I try use "Split Window" to browser google.com on the left side and wikipedia on the right, it works! Just to note my configurations: Google Chrome: Version 35.0.1916.153 m OS: Windows XP Professional SP3 Answer i search via google and get the impressesion that message could be caused by

motherboard - i7 CPU Thermometer breaking down?

I have a custom build with a Intel Core i7-3820 on MSI X79A-GD45(8D) X79 motherboard. I'm using Thermaltake CLW0215 Water 2.0 Performer as CPU cooling. I have this build for about a year now. Back then, when starting my PC, the CPU temperature at idle would be around 27-30C and would never go over 60-65C under heavy load. However, this week when starting my PC, it showed 55-60C on startup and could peak at 100C under heavy load. It looks like it's totally unable to go under 55C now, even if nothing is running at all. Using Power 95, I noticed the temperature rise very quickly, but also drop sharply when the test stops. Does that mean the cooling still works? Dusted it off all. All fans spinning... Can't be really sure if the water pump is working, as it never made any sounds to begin with. But I would guess if the pump never worked, I wouldn't have stayed at 30C... I would be at 100+. Does the CPU thermometer can be stuck at +30C than normal? Is it even possible for a C

Ways to improve completeness of files for data recovery and scanning?

I am using R-studio for data recovery on one of my ntfs partition. There is a pdf file about 16MB, but the software can only recover 15MB of it. So I am thinking about what ways can be used to improve the quality of scanning and recovery by the software? I am looking around its preferences. I am not quite sure whether there are some adjustable parameters for scanning and recovery which can be fine-tuned to improve the quality? R-studio has a free demo version, for which scanning is free,but recovery isn't. It is downloadable from http://www.data-recovery-software.net/Data_Recovery_Download.shtml Its manual is here http://www.r-tt.com/downloads/Recovery_Manual.pdf . I have tried my best to search for answers in the manual, but failed to find one. Their technical support is not as good as their software, and helpless usually in my opinion.

How to get a linux directory listing for files beginning with a certain letter that doesn't descend into subdirectories?

Suppose you are in a directory that contains many files and many subdirectories. You want to get a directory listing of all the files beginning with the letter "d". You type ls d* and what you get back is mostly files in sub-directories (in particular, files in subdirectories that begin with "d"). How do you list only the files and directory names in your current directory? Answer Ah, I just found it on the 6th reading of the man page. It's the not-so-sensibly named "directory" parameter ls -d d*

hdmi - My display is blank when I turn on my HDTV connected to Media Center

When I turn on my TV, it's often the case that the screen is blank and I have to unplug / plug the HDMI cable connected from the Windows Media Center to a Samsung LED TV. This problem only occurs when the Media Center has played content that contains HDCP data (which is the case if you are using an ATI Digital Cable Tuner or OCUR device). The card is an ATI HD4550 and the OS is Windows 7. Answer Ok, here is a solution that works 100% of the time for me. 1) Buy an HDMI Detective Plus This gadget basically gets programmed with your TV's EDID and then fakes your Media Center into thinking the TV is on 24/7. Genius 2) Go the software route Prerequisites Harmony Remote (Logitech) HDMIOn.exe First, you need to ensure that you get the latest Media Center remote configuration file for your Harmony Remote. You can find this device under Device type: Computer -> Media Center PC Manufacturer: Microsoft Model: Windows Media Center SE and includes the ability to send Media Center keyb

copy paste - Copying just text, not formulas, in OpenOffice Calc

How do I copy and paste the text (not the formulas) from one Calc sheet to another in OpenOffice? Answer Select the cells you want to copy, and use Ctrl-C to copy them. Select the cell where you want to copy the cells. Open the Edit->Paste Special menu. In the Selection section, ensure that the Paste All and Formulas options are not selected. Select all other options in that section. Click OK, and the cells will be copied without the formulas.

windows 7 - How do boot sectors and multiple drives works?

I don't fully understand the concept of a boot sector, I was hoping someone could clear this up for me. If you have two hard drives, with an OS installed on each, does each drive have its own boot sector? Does each drive need an MBR partition? I've got Linux and Windows on two separate drives. I've had issues when installing Linux and grub, and now I've finally decided to use the Windows bootloader to start up. Would Windows have gotten rid of grub when i used /fixmbr or does it stay there on the boot sector of the other drive? Answer Wil's answer is vaguely correct, but isn't technically accurate. Yes, a drive does not need an MBR. Without one, you will be unable to boot from that drive, and you will not be able to create partitions on that drive. BUT... The term Master Boot Record is often used to refer to two things -- it is properly only the first, and commonly misapplied to the second: A location, specifically, the first 512-byte sector of a partitioned

linux - PM: Hibernation image not present or could not be loaded

After hibernating with systemctl hibernate , the system boots normally as if it had been shutdown. I have the resume parameter in the kernel line and the resume hook in mkinitcpio.conf These are the relevant kernel messages: $ dmesg | grep -i swap [ 0.000000] Command line: initrd=\initramfs-linux.img root=/dev/sda2 rw resume=/dev/sda4 [ 0.000000] Kernel command line: initrd=\initramfs-linux.img root=/dev/sda2 rw resume=/dev/sda4 [ 0.350295] PM: Checking hibernation image partition /dev/sda4 [ 8.776686] Adding 8191996k swap on /dev/sda4. Priority:-1 extents:1 across:8191996k FS $ dmesg | grep -i hibern [ 0.350295] PM: Checking hibernation image partition /dev/sda4 [ 0.350301] PM: Hibernation image not present or could not be loaded. So the only remaining possibility is that systemctl didn't write to disk . In fact, when I run the command, the screen first goes blank for a couple of seconds, then I can see my terminal again, and finally it shutdowns itself. I read

Disable creation of desktop.ini in Windows 8 (on the Desktop)

There are a few questions about the issue and they propose some solutions: Disable displaying of hidden files (no solution at all) Unchecking "Remember each folder's view settings" (which is not present in Windows 8!) Creating "UseDesktopIniCache" in registry - which doesn't work either Are there any other solutions that prevents creation of this file? It's keep poping up on my Desktop and it's driving me nuts... OK, so Windows finally decided to stop pestering me with this nonsensical file... Yay, but I still would love to know how/why...

security - Permission to make symbolic links in Windows 7?

How can I grant a particular user the permission to create symlinks in Windows 7? I've searched through "Group Policy" and Google, but haven't found anything. On a side note, is there a way to search through everything in Group Policy Editor? The filters only seem to work on particular subtrees. I never actually found anything using the filters.

Can you transfer a Windows 7 XP-mode VHD to a new PC without the need for reactivation?

At the moment I am running Vista 32 bit and use VPC 2007 a lot. I have several Windows 2000 Virtual Machines set up with complex software configurations. For me, one of the advantages of working with VPCs is that a Virtual Machine can easily be copied to another PC (like a notebook). Also, when I move to a new PC, I can immediately work with my existing Virtual Machines without the need to reinstall all applications. I am thinking about buying a new pc with Windows 7 64 bit pro, and using the XP-Mode Virtual Machine that comes with Windows 7. The advantages would be support for more memory (so being able to run more Virtual Machines simultaneously) and having a licenced XP Virtual Machine. I would like to know if you can transfer a VHD that is based on the XP-mode VHD to another machine without Activation issues. The other machine will of course, also be running Windows 7. I would guess that this would not be a problem. However, I did read about a guy who had to reinstall his Windows 7

New GPU power supply woes (ASUS GT640 + HP XW4600)

I have a new GPU - ASUS Geforce GT640 - which doesn't require (or have connector) for separate power supply, however when plugged into a HP XW4600 the machine fails to boot - 4 beeps in a cycle. I didn't spec this, the person that did assumed the PSU wasn't up to it, so purchased a 750W replacement, however this doesn't make any difference. The XW4600 Mainboard has printed on: SLOT2 PCIe2 x16 75w + 75w, so I'm guessing the PCIe bus can't deliver enough power to the GPU - is there any workaround for this? Could the fan connector be disconnected and reconnected to some sort of PSU adapter rather than from the BUS?

migration - How to downgrade from Chrome 35 to 34 without losing data?

After upgrading Chromium from 34 to 35, the usability of Chromium went downhill. So I decided to downgrade Chromium. Fortunately, the previous version of Chromium was still somewhere on my disk, so downgrading (in ArchLinux) was as simple as: sudo pacman -U /var/cache/pacman/pkg/chromium-34.0.1847.137-1-x86_64.pkg.tar.xz After running the previous command, Chromium did start, but unfortunately, I kept getting bugged by the following message on start-up: Your profile can not be used because it is from a newer version of Google Chrome. Some features may be unavailable. Please specify a different profile directory or use a newer version of Chrome. One way to get rid of this message is to delete ~/.config/chromium/Default/Web Data , but this also caused my search engine keywords to disappear . How can I downgrade Chromium without losing any data? Note: I'm using Linux, but this problem is platform-independent. Feel free to answer from the perspective of a non-Linux operating system suc

Windows 10 Anniversary update fails on Education version

I try to install the anniversary update on my Windows 10 x64 operating system, but it fails with error code 0xa0000400 I already tried update with Media creation tool , and Windows 10 Upgrade Assistant but with no success. Current version of my operating system is 10586 . Windows Update says that there my operating system is up to date. Media creation tool: I set back the language to English, restarted my machine, but I still received the same error. Windows 10 Update Assistant: I am the only one who is receiving this error? Someone know a solution? Edit: Finally i have downloaded it from: https://www.microsoft.com/en-us/software-download/windows10ISO/ more precise from: https://www.microsoft.com/en-us/software-download/vlacademicwindows10 Answer The tool can be only used to download Windows 10 Home/Pro (N)/Singe Language Editions and not the Education. Get the ISO via MSDNAA/Dreamspark or wait until you get the Update offered via Windows Update. Microsoft releases the updates in

Swap desktops between monitors (windows)

I want to be able to swap the desktop on monitor 1 with monitor 2. "What is the best way to swap the part of the desktop which is visible on monitor 1 with the part of the desktop which is visible on monitor 2." Windows 7 64 / nVidia. Swap Desktop-A -> Monitor-1 Desktop-B -> Monitor-2 -toggle- Desktop-A -> Monitor-2 Desktop-B -> Monitor-1 I thought this was how virtual desktops worked! The solutions I've found using stretch the desktop across both monitors, or keeps each monitors desktops separate where you can't display Monitor-1/Desktop-A on Monitor-2. Clone Desktop-A -> Monitor-1 Desktop-A -> Monitor-2 -toggle- Desktop-B -> Monitor-1 Desktop-B -> Monitor-2 I've looked at these Actual Window Manager, DisplayFusion, VirtuaWin, GiMeSpace, NirCmd, Dexpot, Finestra, mDesktop, and more... these can move one window at a time, and even specify which monitor a window should open on, but they have no way to swap whole desktops. I might write an AH

partitioning - partition not available after resize using gparted. how to recover it?

I ran into a problem with my HDD. I tried to make some space for my linux partition using gparted and I resized one of my NTFS partitions. Unfortunately, the operation didn't succeed and my partition is now inaccessible (when I try to open it from windows I get that popup menu that tells me that's not formatted). Is there any way I can recover my partition and its data ? I searched for this problem and found that testdisk might be a solution for this, but I don't know how to use it. After I analyzed the hard drive using this application, it says that the partition has some errors (Invalid NTFS or EXFAT boot or something like that) but then I'm stucked. Answer I solved the problem. I used ntfsfix in ubuntu to fix the partition and then chkdsk in windows and my partition is back.

Reset or remove the BIOS password on my laptop

I have a laptop but forgot the BIOS password. I cannot go beyond the BIOS password screen and need to continue. Is there any way I can reset or even remove the BIOS password on my laptop? Answer Plug out all batteries, and the adapter, and remove the RTC battery that supplies power to the CMOS BIOS (according to the service manual p59, it's quite easy). After about 10 minutes, the BIOS will be reset... along with the password. To dismantle the dv5, I refer you to the HP dv5 Hardware and Service Manual . Actual screenshot from the dv5 Hardware Service Manual.

Lossless rotation of photos using Windows Photo Viewer? (XP vs Win7)

If I wanted to rotate photos in XP using Windows Photo Viewer I was told, that it wasn't lossless rotation (so, worse quality in the rotated photo). What about Win7 and Windows Photo Viewer? Is it lossless rotation of jpegs in Win7? Answer After a brief experiment here with Windows 7 Pro 32bit - No it isn't lossless. Use a dedicated image editing program (like GIMP ) for almost (see comments below) lossless rotation/editing etc.

Can I quickly override preset zooms for bookmarks in adobe pdf document?

I have a bookmarked pdf.. and all the bookmarks are set to make the zoom level 'actual size'. This is very annoying because every time I click a bookmark, I have to reset things to fit the way I like it. I want to know if there's a way to get rid of all the zoom settings on the bookmarks without destroying the bookmarks. (i'm using acrobat pro 9)

ms security essentials - Google Chrome detected as PWS:Win32/Zbot by MSE

Microsoft Security Essentials detected Google Chrome as a Password Stealer: PWS:Win32/Zbot Category: Password Stealer Description: This program is dangerous and captures user passwords. Recommended action: Remove this software immediately. Security Essentials detected programs that may compromise your privacy or damage your computer. You can still access the files that these programs use without removing them (not recommended). To access these files, select the Allow action and click Apply actions. If this option is not available, log on as administrator or ask the security administrator for help. file:%LocalAppData%\Google\Chrome\Temp\source\Chrome-bin\chrome.exe I can't tell if it's a particular extension that I tried to synch from my other machine, the chrome application itself, or just a false positive. I've run a full scan on the another machine that Chrome is synched with and nothing was detected. Should I be worried? What can I do to get rid of it? Answer As a work

linux - default mime type program is inconsistent between system and the mozilla firefox/thunderbird?

In kubuntu ,the default programs associated with mime types in mozilla products are completely different from the system-wide setting or user setting. For example, firefox/thunderbird will always use krita to open pdf, but for all other programs such as dolphin will open it correctly via okular It seems consistent with the /usr/share/applications/mimeinfo.cache : application/pdf=kde4-krita_pdf.desktop;kde4-okularApplication_pdf.desktop;gimp.desktop However, the xdg-mime query default application/pdf gives out a correct value: okularApplication_pdf.desktop And in dolphin->"file type options", it gives a correct priority list: Okular, Gimp, Imagemagick, krita Is there anyway to make firefox/thunderbird use the correct xdg-mime value instead of the wrong mimeinfo.cache? Or is there any way I can just copy the correct data into mimeinfo.cache? Thanks Answer Finally I figured it out: The Mozilla applications are going to look through list of files for mime-type-app associati

Git vs SVN: website storage efficiency

I know that SVN (Subversion) stores files' deltas in order to efficiently store data. Git however, is a little more complex. What I'm wondering is that if I were to store plain HTML, image and js files, and keep track of their changes with either of them, which one would result in a better storage efficiency and why? I'm especially more interested in HTML files. At first there shouldn't be much difference. However, as the website changes, especially the home page, the difference should be obvious. I could try both of them and compare them, however, it would take much time to see any real results. Hence, I decided to see which one should be theoretically more efficient.

backup - How to get NTFS like snapshot behaviour in BTRFS?

I would like to use BTRFS to host VMs in VirtualBox to be able to use Snapshots without LVM or such. In theory I don't need CoW behaviour all the time because of performance reasons and using nodatacow it seems I don't need to. What I would like to have instead is an approach from my understanding Windows and NTFS seems to be using: Data is changed all the time without CoW , but if one creates a file system snapshot the current data is kept save within that snapshot by copying data away if it is to be changed in any way. The important thing seems to be that this only happens exactly one time per snapshot and really only for the modified blocks. So after a block to be modified has been copied away at first, all subsequent modifications to the same block are just applied, again without CoW behaviour. Besides copying the original block of changed data to some safe place, from a performance perspective this makes a lot of sense to me and I would like to have exactly that behavio

graphics card - GPU struggles only in the primary PCIe slot. Is this a motherboard issue?

When my GPU is in the primary PCIe slot, I sometimes get loads of garbled sound when I run the audio through the HDMI. The GPU also performs far worse on benchmarks. In the primary slot I get 30 fps on Novabench, in the secondary slot I get 90 fps. Is this a problem with the motherboard? Specs: GPU - GTX 960 Mobo - Asus Z97-AR CPU - Core i5 4460 OS - Windows 10 BIOS Version/Date - American Megatrends Inc. 0902, 08/05/2014

dns - Subdomains for server behind NAT

I have server (ip: 192.168.1.2, openSUSE 12.2, Apache 2) behind router (ip: 192.168.1.1, TomatoUSB Toastman Build). I'm using FreeDNS (afraid.org) and I assigned subdomain (say x.afraid.org) to router, which has static external ip. After 443 port forwarding my sites work well, but I want to have several subdomains: hg.x.afraid.org, trac.x.afraid.org, owncloud.x.afraid.org, … assigned to the same server. Apache using those subdomains to host mercurial server, Trac, OwnCloud, … by the help of virtualhosts. I've added lines to router's dnsmasq config: local-ttl=1 address=/.x.afraid.org/192.168.1.2 address=/.x.afraid.org/[server ipv6 address based on MAC] Now subdomains work from lan. How can I make them work from Internet? PS I'm using Hurricane Electric IPv6 Tunnel Broker and I have static external ipv6. So it would be better if subdomains work with both: ipv4 and ipv6. But ipv4 is more important because some client computers have no support ipv6. Answer Sorry I can not

Send Ctrl+Alt+Del over VNC with Windows Vista and UAC off?

I'm trying to set up a machine here with UltraVNC on Windows Vista with UAC off. The problem is, in this configuration, I can't send Ctrl + Alt + Del (CAD) to the Windows Vista machine, and so I'm stuck at the login screen, which is waiting for the CAD sequence. I'm joined to a domain, so I don't think I can disable the CAD requirement. I can't re-enable UAC either. I also tried using the on-screen keyboard, but it didn't seem to work. Is there a workaround or a solution? Answer After much searching, I gave up and set group policy on the machines to not require Ctrl+Alt+Del.

How many Operating Systems allowed in a single computer

How many operating systems are allowed in a single computer. Is any extra RAM is need for each extra operating system? Answer No extra RAM needed, just enough hard drive space (or hard drives) to hold them all. There is no limit... using boot loaders and similar technologies, you can simplyfy the process - When I was a younger geek, I used to think it was cool having everything from Windows 3.1 to XP and a few flavors of Linux on the same machine.... ...As I grew older, I realised it was just a waste of time and a maintenance nightmare. If you want multiple operating systems, I highly advise you stick with one and explore technologies such as virtualisation which will allow you to run multiple Operating systems from within one without all the headaches.

How to remove security from a PDF file?

I am trying to fill out some docs, but the provided PDFs are "SECURED", meaning I can't use FoxIt's typewriter tools. Is there any way to remove the security? Answer Contrary to the other solutions, you do not need additional software. Anyone with Windows can do it with no extra software in 4 simple steps. Open the PDF Go to File > Print. From your print options choose Microsoft XPS Document Writer . Although you might expect it to print, it does not print anything, it will create an XPS Document. Open the resulting XPS file Press Print, go to Microsoft PDF Creator . It will now save it as a PDF again. Again, it will not print. In my case I had to remove the first/last page of a document so I only printed the pages required.

encryption - Is it true that strongly-password-protected PDF can be cracked?

I want to protect my PDF with a strong password. But I heard that it can be cracked. Is it true that strongly-password-protected PDF can be cracked? Edit: This is my real scenario. I want to sell my ebooks on the web. Recently there are many sites that shares ebooks. I don't want it to happen so I need a password-protected scheme applied to my ebooks. I hope buyers cannot remove and modify the contents; the integrity must be protected. Answer Yes, that is true. If that is very important to you, I cannot think of a format that will protect you. There are dozens of tools out there that can break, or remove passwords from PDFs. It is worth noting, that often passwords can be removed, so it does not matter if it can be broken in the literal sense. Thankfully, they will keep out all but the most determined.

memory - Why does Windows only show about 3.5 GB of my 4 GB of RAM?

I recently upgraded my computer's RAM to 4 GB. My 32-bit Windows installation shows only 3574 MB of the memory. How can I make Windows use the full amount of RAM? Answer You can't: See Dude, Where's My 4 Gigabytes of RAM? if you want to fit memory and devices into a 32-bit address range: not all of the available 4GB of address space can be given over to memory. So what actually happens if you go out and buy 4GB of memory for your PC? There's a hole in your memory map for the IO. (Now it's only 25% of the total address space, but it's still a big hole.) So the bottom 3GB of your memory will be available, but there's an issue with that last 1GB. The only practical solution is to install a 64-bit operating system. In Windows Vista and later, 32-bit and 64-bit license keys are interchangeable. If you can get Windows installation media for the 64-bit version of your operating system, you can reinstall using your original license key.

autocomplete - zsh cdpath and autocompletion

My CDPATH in zsh looks like this: export CDPATH='.:..:../..' Unfortunately, this means that when I try to autocomplete after typing 'cd ', there're way too many irrelevant autocomplete options, depending on where I am. For example, if I'm in my home directory, typing cd tries to autocomplete every user on the system because CDPATH has ".." Is there a way to keep my CDPATH as shown above, but have the autocomplete for cd, pushd, etc. ignore the CDPATH value, and autocomplete only based on the current directory? Answer path-directories One way is to add the following completion settings in your .zshrc to remove path-directories from the suggestion sources. zstyle ':completion:*:complete:(cd|pushd):*' tag-order \ 'local-directories named-directories' group names Alternatively or additionally, the following settings should display a heading for all respective groups of completion suggestions so you can see which directories are loca

keyboard - Issues with win key and right alt key after Windows Update (Polish diacritical signs not working)

I've got a problem that occured to me out of nowhere. Today in the morning, as I logged in to my computer at work I cannot input Polish diacritical signs. For example rAlt + A should give Ą but instead it gives no character. On the other hand : rAlt + rCrtl + A gives the expected Ą sign. Also another weird thing: before the WindowsKey + R shortcut opened the Run command without any lag or nothing. Today it opens the menu at first, after that proceeds to Run command. I've checked every possible language setting. Everything is fine. Keyboard layout - Polish (Programmer) also is fine. Checked my graphics driver (since they can have some issues with shortcuts) and nothing. The OS is malware free. Any possible issue with shortcuts checked with no result. My computer: Samsung NP550P7C, Windows 8.1 Enterprise (after every possible update). I hope there is another way than reinstalling the OS since I have alot of software to be reinstalled with it to enable me to work. Answer

wireless networking - How can I set WiFi connection order in Windows 10?

I have multiple WiFi networks available, and would like to set the order of preference in which they should connect; i.e. each network's priority. This used to be fairly simple in previous versions of Windows, but how can I do this in Windows 10? Answer Open an elevated command prompt (Admin). You can do this by pressing the Windows start and x keys and choosing the Command Prompt (Admin) option; and type the following command: netsh wlan show profiles This will display all your available connections, in their present order of preference (those listed at the top are "preferred" to those at the bottom). To change the order in which your machine attempts to connect, type (or paste) netsh wlan set profileorder name="connectionname" interface="Wi-Fi" priority=1 remembering to change connectionname to the appropriate name from the listing shown in the results from the first command, and setting the priority to whatever you wish. "priority=1"

internet explorer 9 - Opening *.svg with IE9 raises 'Open, Save As' dialog

I am attempting to open an SVG file with Internet Explorer 9 (32-bit). When doing so, I am prompted with the standard Open, Save, Save As dialog. This happens when dropping an SVG file onto IE or opening it directly from Explorer. However, it displays properly when the full, local filepath is entered straight into the address bar. A similar question was recently asked on Technet. The (unsatisfactory) answer suggests it is add-on related. And indeed, Internet Explorer (No Add-Ons) and Internet Explorer (64-bit) behave as expected. But neither the reset utility nor manually disabling every single add-on has helped the 32-bit version. I appreciate any suggestions or insight into this. Answer This issue can be fixed by assigning the Browse In Place CLSID to the offending content type. This will not affect Explorer's "Open With" association. The following *.reg script will alter type image/svg+xml . Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\MIME\Databas