Skip to main content

Posts

Showing posts from June, 2015

linux - How to use Control as modifier with xmodmap?

So I'm trying to create a combination of keys to generate ISO keys for the Portuguese layout, the key in question is the , pressing it will normally generate the character, + Shift will generate the > character. So I'm trying to create a combination using xmodmap , and I want this to work for all the programs. I've been searching on Google and came up with this example for Control + P = Up : xmodmap -e "keycode 33 = p P Up" keycode 33 matches p , so where does Control come up in that command? What I want is: map Control + , to > map Control + . to

command line - Why can't I connect to Google's SMTP server on port 25?

I'm working on an InfoSec exercise, specifically email spoofing. I started by executing the following commands: C:\Users\student>nslookup 6.0.0.10.in-addr.arpa primary name server = localhost responsible mail addr = nobody.invalid serial = 1 refresh = 600 (10 mins) retry = 1200 (20 mins) expire = 604800 (7 days) default TTL = 10800 (3 hours) Default Server: UnKnown Address: 10.0.0.6 > set type=mx > gmail.com //the name of the mail domain of the victim Server: UnKnown Address: 10.0.0.6 Non-authoritative answer: gmail.com MX preference = 20, mail exchanger = alt2.gmail-smtp-in.l.google .com gmail.com MX preference = 10, mail exchanger = alt1.gmail-smtp-in.l.google .com gmail.com MX preference = 40, mail exchanger = alt4.gmail-smtp-in.l.google .com gmail.com MX preference = 5, mail exchanger = gmail-smtp-in.l.google.com gmail.com MX preference = 30, mail exchanger = alt3.gmail-sm...

Gnucash: how to convert a huge XML data file into sqlite?

I'm using Gnucash 2.4.13 and I have a big old XML data file (5 years of recording). I'd like to convert it to Sqlite file. Reason: I want to try some third-party apps that can make nice reports out of a Sqlite file. Examples: Gnucash Reports Android App , gnucash-django , django-openbudget . How can I do that? Answer Apparently, gnucash can do this conversion . Open your XML datafile and then File->Save As and choose to save as an Sqlite file. This is also listed in the GnuCash instruction manual in Chapter 2, The Basics .

How can I migrate a Windows 10 from BIOS/MBR boot to UEFI/GPT without reinstalling?

I've installed Windows 10 in BIOS mode and use MBR. How can I convert it to use UEFI and GPT without reinstalling Windows 10? Is this possible? Answer In Windows 10 v1703 (Creators Update, Build 15063), there is a tool called MBR2GPT.EXE included which does all steps . Best is to boot from a Win10 v1703 DVD/USB drive to the repair option (WinPE) and run Command prompt (cmd.exe) under repair options . Now use diskpart and list command to see all drives. X:\>diskpart Microsoft DiskPart version 10.0.15063.0 Copyright (C) Microsoft Corporation. On computer: Win10v1703 DISKPART> list disk Disk ### Status Size Free Dyn Gpt -------- ------------- ------- ------- --- --- Disk 0 Online 60 GB 0 B Now look or the disk number where your Windows is installed. This number is important for next step. Now run mbr2gpt /convert /disk:ID with the ID: X:\>mbr2gpt /convert /disk:0 MBR2GPT will now attempt to convert disk 0. If conversion is s...

networking - How to create SSH tunnel with PuTTY to connect Neo4j database

In my school work I have to use computer on which is installed Neo4j database client. I want to connect to this computer from my laptop. I had this configuration set but my system crashed and now I don't know how to do this. My tutor send me this: ssh [login]@["address"] -p 10022 Tunnel ssh [login]@["address"] -p 10022 -L7474:localhost:7474 And I configured it this way in PuTTY: In tunnel config I typed 7474:localhost:7474 into Source port block and [login]@["address"]:10022 into Destination . When I press Open , it starts, I type my password to log in but when I type localhost:7474 in my browser, the site will not load. I suppose that information which have been sent to me are correct. Did I something wrong? Please can somebody explain me how to do this? Answer The syntax of -L switch of ssh is -L [bind_address:]port:host:hostport where port ( 7474 ) is an equivalent of Source port in PuTTY host:hostport ( localhost:7474 ) is an equivalent ...

Using a higher current charger on a laptop which requires a lower current

Possible Duplicates: Laptop power supplies, does current matter? Can I use a power adapter with more current but lower voltage on another laptop? I have an ASUS K50IN laptop which requires an input of 19 V at 3.42 A. Its charger has stopped working (wires cut by rats!). My brother have a charger that is 19 V, 7.1 A. Their polarity is the same and the tip fits correctly.. Can I use this charger on my laptop?

wireless networking - Identifying MAC address of connected device

I have a home network consisting of a router plus a wireless range extender (repeater), and I cannot reliably identify to which of them my laptop is connecting (both are in range). I tried using arp -n from the laptop, but it always returns the Ethernet address of the router, even when I'm connecting via the range extender (it is easy to notice the difference, since the connection goes from 0.2 MBps to 10 MBps). I tried setting the BSSID in the (Mate) network manager of my laptop to the MAC address of the range extender, but the connection often slows down to a point in which it seems the laptop is connecting directly to the router, so I'd like to confirm if this is the case. Answer Use iw dev link to see the Wi-Fi link information: $ iw wlan0 link Connected to 24:a4:3d:9e:a2:16 (on wlan0) SSID: Home freq: 2462 RX: 912692438 bytes (1247502 packets) TX: 77739414 bytes (744392 packets) signal: -37 dBm tx bitrate: 65.0 MBit/s M...

How to backup/restore in Fedora 13?

I'm a n00b when it comes to backing up and restoring my fedora 13 machine. I don't have anything particularly important on my machine right now, but part of the reason I put this OS on my laptop is to learn as much as possible. So I'd like to start by learning how to backup (and later restore) my system. Do I need to download third party software or is there a pre-packaged utility that comes with Fedora 13? Answer I really like the approach described by Jamie Zawinski: http://www.jwz.org/doc/backups.html It's not hard to set up and, most importantly, dead easy to restore.

linux - How to change my DNS server provider permanently?

I want to change my DNS nameserver to GoogleDNS on fedora 25. I edited /etc/resolv.conf from search fritz.box nameserver 192.168.1.1 to nameserver 8.8.8.8 nameserver 8.8.8.4 But if I reconnect to router, the file will revert back to my router's DNS nameserver. I followed this https://developers.google.com/speed/public-dns/docs/using this link's tutorial for debian part. But it isn't working. Can I change nameserver to google's DNS permanently? P.S: I do not have access to the router. Answer The issue is you are getting the DNS server from the router and overriding what you set. To fix this, you must edit /etc/dhclient.conf . Add this line to make sure that it does not override the default DNS servers: supersede domain-name-servers 8.8.8.8, 8.8.4.4; Alternatively, you can instruct the DHCP client to not request a DNS server address. More information can be found with the man dhclient.conf command.

windows 7 - Security warning in Win7 from the Links directory

Every shortcut placed to the Links bar (C:\Users\user_name\Favorites\Links) shows this security warning: Open File - Security Warning Name ... Type: Shortcut ... files from Internet etc. I can place to this directory shortcut to any program, to IE, Windows Explorer etc. - this security warning is always shown, when the shortcut is executed. How to get rid of this? OS: Windows 7 Professional Edition. Answer first we have "turning off protected mode for the whole zone" http://www.sevenforums.com/tutorials/63141-internet-explorer-protected-mode-turn-off.html ^ Overkill, which just leaves , disconnecting that folder from a zone in the registry, so you can leave the rest protected normally but exclude that folder? Or, changing the security level for that folder? http://forums.techarena.in/vista-help/655333.htm Disclaimer here: about disabling the things that warn users about potential threats, and allow crud from the web to takeover.

Why does excel always say "..may contain features that are not compatible with CSV" when saving a CSV file?

Every CSV I've ever tried to save from Excel (2010, anyway) says filename.csv may contain features that are not compatible with CSV (Comma delimited). Do you want to keep the workbook in this format? . Why is this? Is there any way to save CSV files from excel that do not contain this message? Even the following file (saved as a .csv) will cause this to happen, if you try to save it: test1,test2 test3,test4 I've even just created a new spreadsheet in excel and tried to save it, and it still shows this message. I wouldn't care, but I have someone telling me that I'm not formatting CSV files properly because excel shows that warning message, and I'm looking for ammunition to prove it's Excel and not my format (or if it actually is my format, to fix it). Answer Microsoft Excel will claim this when saving to just about any format other than .xls or .xlsx. The reason is that only these (proprietary Microsoft) formats can support Excel features like formulas, (condi...

windows 8 - How to add a Deny ACE for TrustedInstaller?

I'm having trouble deleting a file/folder. The operating system claims its in use even though its old and subject to deletion. The same problem occurs on occasion under both Windows 8 and Windows 10. I was able to place a Deny ACE on the object for SYSTEM , but I am having trouble putting one on the object for TrustedInstaller (or Trusted Installer ). It appears there is no security principal named TrustedInstaller in the SAM database, or the operating system is filtering results so I can't use the name: How do I add a Deny ACE to an object for the TrustedInstaller security principal? Answer You have to use NT Service\TrustedInstaller as entry to select TrustedInstaller permissions .

multi boot - How to fix GRUB after Windows breaks it, and how to edit the GRUB menu

I had Windows XP and Ubuntu both installed. I could easily boot into either until Windows "fixed" the bootloader so that it now only boots into Windows. I guess there is no way to prevent Windows from doing this. So instead when it happens how do I quickly restore the GRUB bootloader? Also while I'm here: How do I edit the GRUB menu, to hide options I don't want and to change the default boot OS? Answer Boot off a live CD ( gparted is quick), then in a terminal window enter, (substituting your (drive,partition) pair): sudo grub find /boot/grub/stage1 root (hd0,0) setup (hd0) quit Then reboot the system As root edit /boot/grub/menu.lst , it's fairly self explanatory.

terminal - urxvt bold colors are wrong - bold #0-7 are using colors from #8-15

My colors are off. Specifically, the bold version of colors 1-6 is broken: The color of each (emboldened) index should match the color of the text beside it. It does not. This is generated from this gist, modified to include colors #0-15. (It's identical except the , 16 on line 25 is removed.) Update: Here's what's going on: Bold #1 is using color #9, bold #2 is using color #10 and so on. I confirmed this by changing color9 , color10 , etc. in my .Xresources file. I'm using solarized .Xresources and would rather keep colors #9-15 colored differently. Furthermore, the bold colors are correct in xterm. Why is urxvt Bold #0-7 using colors from #8-15, and how do I stop this? Answer Use the +is commandline flag, or (exactly equivalently), set the intensityStyles resource to false. From the man page: intensityStyles: boolean When font styles are not enabled, or this option is enabled (True, option -is, the default), bold/blink font styles imply high intensity foregro...

windows 7 - How to stop power light on PC from blinking when in sleep mode?

I regularly put my PC into sleep mode. Unfortunately the power button LED blinks every second and it's extremely bright blue which makes sleeping in the same room somewhat challenging. I have resorted to sticking gaffer tape on top but then it becomes difficult to press the button and it leaves a nasty sticky residue on the case/button. Is there a "soft" way to disable this blinking? This system has a ASRock X79 Extreme6 motherboard and is running Windows 7 64-bit.

linux - How to troubleshoot / test / benchmark usb hub (Hubs are acting as bottle neck...Why??)

I am running a Ubuntu 14.04 LTS and some unusual serial hardware, which uses serial to USB converters. I am unable to plug several slow devices (RS232 to USB 2.0 converter, and RS422 to USB 2.0 converter, and another USB 2.0 device) into a 3.0 hub without having my application crash due to lack of incoming messages. However if all the devices are plugged directly into the PC everything works. Could you please explain why this is happening? Please read on for details... I bought a 3.0 USB hub made by Orico. It has 4 ports, and it is powered by the USB port it plugs into. I connected 2 serial converters (with devices to talk to) and a single USB device to it. Here are the details: RS422 to USB (2.0) - configured as /dev/ttyUSB0 at 500,000 8N1. RS232 to USB (2.0) - configured as /dev/ttyUSB1 at 115200 8N1. USB 2.0 device (Labjack U3, which is a general purpose IO system... collects pressed buttons and the like...). I have observed some very strange behavior that cost me two 14 hour days o...

Removing Windows Technical Preview from Windows Update

Windows 10 Technical Preview question, running Windows 7 as my base OS. Before I noticed the .iso files that were available, I ran an .exe from the Microsoft preview website that apparently configured my Windows Update to download an update called "Update for Windows." If I open Windows Update, it asks if I want to "Upgrade to Windows Technical Preview." I do not want this update now that I have the .iso to virtualize. If I try to hide this update, it reappears! I want to get rid of that update, so how do I do it? Answer All you need to do is uninstall KB2990214 Just navigate to Control Panel\All Control Panel Items\Programs and Features then click on View Installed Updates Source I don't have it installed so its not listed

Excel gives error whenever I paste a code with ","

My excel is refusing every code that I paste that has "," (comma) (like to separate arguments). What could be the cause, could it be because my PC region is Brazil and excel is in english? It seems to be a system error problem, like it not recognizing the "," as a separator for arguments, something like that. It says like the formula is wrong, but it's not wrong cause others have tried flawlessly, and it always point to something with a "," Answer This is probably because of your regional settings. Setting the region to Portuguese (Brazil) on English Windows changes many things, in particular: The decimal separator is , The list separator is ; (this is a comma when using US English settings) So the arguments should be separated by a semi-colon.

windows - NTFS Permissions - SYSTEM

Are there any possible side effects to removing permissions for SYSTEM on an NTFS directory? It is a non-system (user documents) folder. I know the obvious (i.e., that SYSTEM will no longer to be able to access it, duh :-) ). My question is, are there any common side-effects this can have? I.e., common reasons on an average Windows system, that would require the SYSTEM account to have access? I'm thinking of things like Indexing Service here (although I don't use or care about that particular service). Answer Most Windows services are running under the SYSTEM account. Windows Search Indexer, for example, runs under Local System account. If LocalSystem account cannot access your files, they will not be indexed / found via Windows Search. There could be other side-effects, mostly related to the fact that many services (including third-party ones) are built with the assumption that user files are accessible to the system account. So, in theory you can remove these permissio...

windows - Batch Script: Concatenating multiple files in multiple folders into one file

I have about 20 folders and all of them have around 100 csv files each. I want to combine all of them together into one file. How should I do this? I know about copy command to combine files of one folder. If I do that, I get 20 files in 20 folders. To combine them, how will I traverse in each folder and do ? I am trying to write a batch script like this: FOR /D /R %G in ("*") DO ( cd %G COPY *.csv new.csv ) But, it is not working correctly. Any suggestions?

windows xp - How to copy files while not modifying the file creation times at all?

How to copy files while not modifying the file creation times at all? Just like the cut and paste works: it doesn't modify the file creation times at all. Where to get such a program? I don't want to lose the info when my files were created, and I don't want to cut/paste the files on my new HDD since I want to leave a backup on this old disk in case the new one will fail. Also this program should not stop the copying if there occurs some error like "are you sure you want to copy a read-only file?" or something like that. Answer Robocopy preserves timestamps by default. You can get it for XP in the Windows Server 2003 Resource Kit . example: robocopy C:\ E:\ /E If you aren't comfortable with the command line, Robocopy GUI makes it even easier. Another copy utility which can preserve timestamps is XXCOPY :

How to move a Window that is taller than the screen so that the lower hidden part is shown

How to move an application Window that is taller than the screen so that the lower hidden part is shown? I tried using Alt-Del-M (or Alt-Space-M for direct display) to move the Window up but it doesn't work. I've also tried to increase RDP resolution to full screen and font DPI is at 100%. Note: I'm connecting to the Windows 7 machine using RDP. The app doesn't have a maximum option and I'm not able to change the GUI.

Weird linux problem: user is in www-data group in /etc/groups but groups command doesn't show him

I've come into something strange. I just added a user to the www-data group, the user appears in both /etc/group and /etc/group- , however when I use the groups or id commands the group isn't listed; and the user can't chgrp a file into www-data . What could be the problem? I'm using a Debian testing machine, never had this kind of problem. Answer Group membership is only processed on login. You can either: re-login to pick up the new group use newgrp www-data to run a new shell with gid set to www-data

How can I make Eclipse to draw the tabs more likely the native ones?

I don't really like the Eclipse IDE, since I found Netbeans much more usable, but Android development strongly encourages to do so. What my main problem with Eclipse is, that it's really ugly. Which would be no big deal, but I have a small screen, and it's filled with unnecessary paddings for tabs, and such. It would be much more usable if I could somehow force Eclipse to look more native. I ask this, because there were similar questions for older versions of Netbeans, or for versions on specific platforms, and solutions existed. By the way I'm using Eclipse 3.7.0 from the Ubuntu 11.10 repositories. Thanks for efforts! Answer Recently I came across gtkrc files, and I found articles that use gtkrc files to tailor Eclipse's look for different reasons, and these includes tooltip colours, and making tabs compact. And that's what I really wanted. So I found this article , where the main article makes tabs compact, and the first comment shows how to make tooltips re...

wireless networking - What's the maximum actual bit rate of an 802.11g connection?

Using a wired connection, I get a 38 Mbit/s download speed. When I switch to wireless one (Linksys WRT54GL router with Tomato firmware), the speed drops to 23 Mbit/s even if the distance between the router and the computer is 2 or 3 meters. Is that a maximum effective bit rate I can expect from an 802.11g connection? Are there any settings I can tweak to to increase the download speed? Answer With strong signal, no noise, a client and AP that both do frame bursting, and a well-optimized app (actually a throughput test tool called IPerf) I've seen 802.11g TCP throughput of barely 30 megabits/sec. In real world conditions I'm happy as long as it's over 15 megabits/sec. The rule of thumb for 802.11 is that you can get TCP throughput of 50-60% of the signalling rate you're getting, and you only get the best signaling rate under the best conditions. Update: Just realized I didn't answer some of your subordinate questions. Is 23 megabits/sec the best you can do (as...

windows - Smart synchronization between 2 networked PCs

I have 2 computers, one running Server 2008 x64 as workstation and one running XP Professional. I want to sync them over LAN (about 200gb of files), and I have tried allwaysync. But it's slow, it has to analyze all files to see if they were changed (over the network), since it only runs on one computer. I am now looking for a program that runs on both my computers, so it can keep track of the changes locally, and then directly sync the files that were changed, no analysis needed! I haven't found anything useful yet though. I tried live sync, but it can only sync up to 20.000 files I also tried live mesh but it has a limit of 5 GB. EDIT: What I have tried so far: Unison: Works, takes some time to configure but slow file transfers (1/10th of just copying files over network) Syncback: Does have "fast backup" feature, but it's not what I need Deltacop: Not working on server 2008 x64, but it seems like it's one way only, not for syncing Live sync: 20.000 file limi...

remove first line in bash

Do you have a method to quickly remove the first line of a file in bash shell ? I mean using sed or stuff like that. Answer One-liners in reverse order of length, portable unless noted. sed (needs GNU sed for -i ): sed -i 1d file ed (needs e.g. bash for $'...' expansion and here string): ed file awk : awk NR\>1 infile > outfile tail : tail -n +2 infile > outfile read + cat : (read x; cat > outfile) bash built-ins: while IFS= read -r; do ((i++)) && printf %s\\n "$REPLY" >> outfile; done

Remote Desktop Connection can't connect to Windows Server 2012

Mission to Remote Desktop INTO Windows Server 2012 (standalone). Situation: Control Panel, System, Remote Settings, Remote Desktop – Allow All firewalls off Connect attempt using a known IP address (ping works ok) Connect Option as a user who has already logged on. Error message: Remote Access Cannot Connect 1) Remote access not enabled 2) Remote computer turned off 3) Remote computer not available Additional info: The Server 2012 can RDC OUT. The machines I use to connect IN are Windows 7 and Windows 8, they will RDC to other machines. I have fair experience of configuring remote desktop. Question: Is this a fault of beta software on the 2012 server, or is there a new way of getting RDC to work that I am missing? Answer After reviewing all the answers and comments, also trawling the internet for similar problems, my conclusion is that it's a file corruption problem on the Windows 2012 Server computer. Further indications a) This test machine has given disk problems before. b)...

NTP sync on Windows Server 2008

How would you make a Windows Server 2008 server sync with free ntp servers on the Internet? What free programs would do this? How do you configure them? (I need it to sync every 30sec as the server's clock drifts very very fast ~1sec per 40min) Update: See follow up question Answer You do not need any outside software, just use this document to show you how to configure it natively: http://support.microsoft.com/kb/816042 (read the section "Configuring the Windows Time service to use an external time source")

Windows get moved to the primary monitor after waking from standby with mixed DisplayPort and DVI-D dual-monitor setup

I am using the following setup: nVidia GeForce GTX 680 Dell UP3214Q (Ultra-HD, 3840x2160, run in its native resolution, connected via DisplayPort 1.2, i.e. DisplayPort on GTX --> mini-DisplayPort on monitor, setup as primary) Dell 3008WFP (2560x1600, run in its native resolution, connected via DVI-D, setup as secondary) Windows 8.1 Pro x64 Latest nVidia- and monitor drivers I am experiencing the following problem: Even when only waking up from Standby, all previously running applications get moved to the primary monitor. Coming from a dual-monitor-setup using two DVI-D connections to the same graphics card, which did not exhibit the erratic window-rearranging, I suppose, that the current behaviour with the new setup might result from the nVidia GTX 680 treating DisplayPort and DVI-D somehow differently, which might trick Windows 8.1 into "forgetting" the secondary for at least a moment. Further research I found this collection of slides on DisplayPort from VESA, from whi...

boot - How to install Ubuntu 14.10 on a new Lenovo Ideapad g50-70

I’m trying to install Ubuntu 14.10 (64 bit) on my new Lenovo Ideapad, but I can’t seem to boot from CD or USB. I have disabled secure boot and fast boot in BIOS, boot mode: legacy (not UEFI). I created a USB installer from USB-creator, but when I restart with USB, I just get a black screen with “Lenovo.” The same happens with the DVD. Perhaps I need a special format while creating USB installer? Or maybe try to do it with UNetbootin ?

bash - How can I fix a problem with standard error screwing up the output of watch?

Specifically, I am trying to run the following command on both CentOS and Fedora14 (same issue with both) watch sudo jmap -heap 31945 However, there are a few lines of standard error that screw up the output after jmap is called more than once: Attaching to process ID 31945, please wait... Debugger attached successfully. Server compiler detected. JVM version is 14.2-b01 These lines are stripped if I run: sudo jmap -heap 31945 2> /dev/null However, if I try: watch sudo jmap -heap 31945 2> /dev/null then too many lines are removed (many lines of the actual output are removed). Why is this happening? Is there a way to fix this? Answer What you want to do is to tell watch that the command it's running should have its output redirected; what you did instead is redirect the output from watch itself. Try this: watch 'sudo jmap -heap 31945 2> /dev/null' Note the new quotes -- this is telling watch that that entire thing is the command, not merely the sudo jmap -heap 3...

linux - 1 chroot sftp user that is able to traverse all other chroot sftp users files/folders

I have a chroot environment that I have setup on CentOS 6. We have users for all of our trading partners and I would like to create an internal user for another department that can sftp in and only see all the folders/sub-folders/files of all the other users but not have access to the system root. Is this possible? I have tried bind mounting the client incoming and outgoing folders to the internal user and am not able to see any files or sub folders of the bind mounts. Same for Symbolic Links (which show up as shortcut files when viewed in filezilla)

windows 7 - Why is System process listening on Port 80?

I am running Windows 7 RC1. I have multiple issues getting IIS to work on my system and today when I installed a new application and I tried to load it using http:\localhost\MyApplication I get absolutely no errors and I get no page load. Just a pretty, white blank page. I did some digging and I found something about some other process listening on port 80 so I did a scan using netstat -aon | findstr 0.0:80 and discovered that PID 4 was listening on that port. PID 4 does not show in task manager so I fired up Process Explorer and it showed me that PID 4 is the System process. (Multiple google searches seems to indicate that System always uses PID 4). Since then I am basically stuck. I have no idea why System needs port 80 and what to do about it. If you google the following strings you will find two helpful Experts-Exchange articles at the top of the search results and you can read them for some helpful information. (If I gave the direct URL to the pages then Experts-Exchange would as...

compression - Compressing PDF files

I have a PDF created from JPEG images colour scanned from a few pages. The file size is very large (> 325 MB) and I don't have access to the original scans (I only have the PDF file). Is there any way I can compress this to say 25~50 MB (or at least below 100 MB) without significant loss of quality?

Is it possible to run an old 16-bit DOS application under Windows 7 64-bit?

Possible Duplicate: Why 64 bit OS can't run a 16 bit application? How do I get 16-bit programs to work on a 64-bit Windows? Here at work my new development machine is Windows 7 64-bit (so I can use extra memory and run VMs). However I have a dilemma: it appears that 16-bit DOS programs do not run under Windows 7 64-bit. I have an old legacy program written in Clipper that I need to run periodically. I cannot access the compatibility setting as Windows 7 just greys them out.

microsoft word - Extract data from delinked Excel plot

I have a Word file which has some Excel plots in it. Unfortunately I lost the original excel plots and the word file is now 'de-linked'. Is there a way to retrieve the lost data for the plots? Just copying the plot back to Excel does not seem to work, but I can see that the data is still there somewhere, because hovering over a dot on the plot shows the values.

Windows 8 Infinite reboot loop

I've installed windows 8 just now and after I install drivers it gets stuck in an infinite reboot loop. I'm thinking it has something to do with the chipset. The motherboard is an ASUS P8Z68-V. I downloaded the correct drivers from the Asus website and I've also updated my BIOS to the latest version. I had the problem when installing the chipset driver from the asus website. I skipped this one after a reinstall and then installed the rest. Seems like that wasn't the problem. I read around but couldn't get any decent answers. I tried a memtest86+ and that came back negative. Next i tried to set the SATA settings in BIOS to AHCI/RAID/IDE, that didn't help either. I'm kinda stuck here on what to do. Specs: Intel Core I5 2500K OCZ Vertex 3 60GB 6 GB Kingston DDR3 PC10600 ASus P8Z68-V 2 other regular SATA hdd's

windows 8 - Force a non-metro app to run fullscreen outside the desktop?

Possible Duplicate: Suspend Modern UI app to taskbar In Windows 8, is there a way to make a normally desktop-only app run outside of the desktop? For normal apps that can be fullscreen, I'd rather switch through them using the metro switcher rather than switching to the desktop and then alt+tabbing. Answer No. Using win + tab (what you call the metro task switcher) all desktop applications appear as a single item. 10 desktop apps running? Still, just a single item in the list - "desktop". Using alt + tab (what we use in Windows 7) all desktop apps appear individually - including Store apps (what I am sure you would call metro apps). This is the way it works (even if it seems a hair inconsistent). alt + tab is certainly the superset of the two commands. If you want to task switch between all your desktop apps, alt + tab is the only way to do it. Otherwise, your desktop apps appear as one item. That's just the way it is. I hope this helps.

windows vista - I appear to be connected to the internet, but internet doesn't work

I've read a few posts about this problem before but it was either a slightly different problem than mine or people suggested what the problem could be, not a solution. I am running Windows Vista 64bit (the worst possible combination, I know) on a HP HDX 16 laptop. It appears to be connected to the network, and the internet, but when I try to browse the web my browser complains that all pages "are not available", and any software I try to update, doesn't. ipconfig says nothing is connected, though it shows I have an IP address. I tried ipconfig/release+renew but it didn't work. After that I tried netsh winsock reset, rebooted the laptop and still nothing. What course of action can I take now? Answer To set Google's DNS servers, open a CMD Prompt and paste these lines in, one at a time: netsh int ipv4 add dnsservers "Local Area Connection" 8.8.8.8 index=1 netsh int ipv4 add dnsservers "Local Area Connection" 8.8.4.4 index=2 For wifi, try: n...

video - How to change the default folder that opens when I add subtitles in VLC mediaplayer?

Whenever I click on the add subtitles option, it always opens up in C drive. The file that I require is buried deep inside another drive and I do not wish to move them from there. Can I change the default directory that it opens? It doesnt even remember the last/frequently visited folder too. The "open a new video file" does remember last visited folder though. Is there a way out?

How to find Windows 8 OEM product key?

Possible Duplicate: How can I find the product key that was used to activate Windows 8? Answer NirSoft ProduKey : NirSoft makes tools that rival SysInternals in their usefulness; except nobody remember's their name (not even me). They're like the "that guy from terminator" - but for software.

ubuntu 10.04 - why is nautilus slow?

I'm wondering why Nautilus is very slow when opening a directory containing lots of files. My /usr/lib dir for example has 1900 files and it takes approximately 5+ seconds to show everything. It has been like this since I installed Ubuntu few months ago and it's really quite annoying sometimes. I don't have powerful hardware but I know that Windows Explorer is so much faster than this. Is there anything that can be done to speed it up? Ubuntu 10.04 Answer Tracing the execution of nautilus shows that the slowness is due to a combination of two factors: It's smart about displaying useful information about each file. It looks inside the contents of files to determine what icon to use, and possibly show a preview. This can be toned down by turning previews off in the preferences. It does a lot of useless work (such as stat ing each file multiple times, and checking /proc/filesystems even for non-directories). All you can do is learn programming, improve the program and ...

How to use multiple virtual monitors if host has a single monitor?

My host has a single physical monitor but I need to reproduce a bug in an application that requires two monitors, each having a different scaling factor. VMWare provides documentation for cycling through multiple virtual machines but it requires the host to have multiple physical monitors. How can one cycle through multiple virtual monitors with a single physical host monitor? UPDATE : The guest is Windows 10. The host is either Windows or MacOS.

How to retrieve files to local machine when logged in to SSH?

I know that you can grab files with scp like this: scp user@remote_machine:/path/to/source /path/to/destination However, I'd like to know if there is an easier way to do this, when I'm already logged on in ssh on the remote machine - that is, to avoid specifying username, hostname and absolute path to source? Answer Maybe zssh ? zssh (Zmodem SSH) is a program for interactively transferring files to a remote machine while using the secure shell (ssh). It is intended to be a convenient alternative to scp , allowing to transfer files without having to open another session and re-authenticate oneself. zssh is an interactive wrapper for ssh It uses the venerable rz, sz implementations of zmodem file transfer.

drivers - Fingerprint recognition in Vista x64

I own a HP MobileWorkstation running Vista x64 Business, Serice Pack 1. The notebook has a personal identification device for fingerprints. Since I installed the 64-bit version of Vista, it is not recognized any longer. I use AuthenTec Inc. AES2810 drivers and VeriSoft myIdentity application. What do I have to do to regain fingerprint recognition? Answer You probably need the Credential and Fingerprint Manager from HP's support website (also found on the OEM driver and application CD/DVD).

shortcuts - Windows create a directory alias?

How can I create an alias in Windows for a directory name so that I can type something like "MyDir" in the run box, and it go open that directory in explorer. Answer Browse to the folder you want to create the shortcut to Right-click and select Sent to -> Desktop (create shortcut) On your desktop rename the shortcut to whatever you want the alias to be Move that shortcut to C:\Windows Any file, folder, or shortcut you place in C:\Windows will be accessible from Start -> Run or any explorer window.

cooling - Why is my computer fan so loud?

Recently my home desktop computer has been reacting a lot more to heat levels. The fan starts maxing out just about any time the CPU is used, and it's very loud. It didn't use to do this - only in the last year or so (it's about 3 or 4 years old). I've removed all the dust I can find, but Speedfan shows it's running at about 130 degrees, and when it goes a tick above that the fan goes crazy. Any ideas? Can the heat sink fail over time? Do I need to get better/quieter fans? I'm not looking to put a lot of money into this system, so I'm hoping for any low cost ideas. Answer It sounds like the bearings on your fan have worn. The cheapest solution is to buy a new fan. Remove the old one and take it down to your nearest computer parts shop and get one the same size and rating and with the same plugs to replace it.

windows 10 - How can multiple tiles be removed at once, or by group, from the Start Menu?

The vast majority of the default Windows 10 start menu tiles (on the right side) are not needed. To remove them requires selecting each one and choosing Unpin from Start . (this is an image for reference) I have been researching a way to remove these tiles in bulk, or by group, but have been unsuccessful in finding a solution. I have searched for the shortcut location, like in previous versions of Windows, but was unable to find it. How can multiple tiles be removed at once, or by group from the Start Menu?

Status bar for Firefox Quantum

1. Summary I use many addon buttons in Firefox. I don't find, how I can add additional bar for these buttons in Firefox Quantum. I need add new bar, not modify already existing Menu and Bookmarks bars. 2. Not helped In previous Firefox versions I use Status-4-evar plugin, but it not Quantum-compatible . I don't find Quantum-compatible in https://addons.mozilla.org site; for example, not compatible New Add-on Bar or The Addon Bar plugins. I don't find, how I can solve this problem, in Google, for example, similar question . 3. Do not offer Please, do not offer: use another browser, downgrade Firefox.

windows 7 - Win 7 Command prompt does't use PATH to find executables

The command prompt cannot find such common commands as ping , ipconfig etc until I navigate to system32 . But the PATH variable contains %SystemRoot%\System32\ . What could be a problem? Answer If you're sure that the contents of PATH variable are correct, then check the registry: Open regedit.exe Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment What's the type of "Path" registry key? If it's not not REG_EXPAND_SZ then this could be the problem. You can change it to REG_EXPAND_SZ by doing this: * Double Click “Path” and copy it’s Data Value “…%SystemRoot%system32;%SystemRoot%; …” * Delete the “Path” * Create New > Expandable String Value * Give “Path” as the name, double click it, and Paste the value copied in the previous step to the “Value Data” field Close the Regedit window and restart

maintenance - How do I physically prevent people from unplugging an Ethernet cable?

We have a crowded computer laboratory. We render free Ethernet ports for laptop users. But they don't carry their Ethernet cables with them, they unplug cable of a fixed desktop PC and plug it to their laptop. When their work is finished, they don't even plug it back to the PC. Worse than that, after a lot of plugging/unplugging, physical damage occurs on the Ethernet ports of the fixed PCs. At the moment, we have three computers whose Ethernet ports are damaged because of this. How do I prevent people unplugging the Ethernet cables of the fixed machines? Answer I think this might help you http://www.rjlockdown.com/patchcordpage.html I was looking in buying something like this a while a go, but I never did, but it seems to be what you are looking for

Remove or prevent sidebar from opening by default on Adobe Reader

In Adobe Acrobat Reader DC, presently 2015.007.20033, how do I prevent the sidebar from opening by default? It's not so bad when a PDF document is in portrait mode, but opening one in landscape takes up too much real estate. February 1, 2017 update The previously accepted answer is no longer correct for newer versions of Adobe. Please refer to the new answer for newer versions of Adobe; both Windows and Mac. Answer Newer versions of Adobe Acrobat Reader DC (currently at 19.021.20061) have changed both the wording and the function within Preferences . Instead of unchecking the option to open the Tools Pane by default, the application will now remember whether it was shown or hidden previously. Before you change your preferences, open Acrobat Reader and from the Menu Bar and navigate to View > Show/Hide > Tools Pane to hide it accordingly. More recent iterations of of Acrobat Reader DC will still display a set of icons near the right side of your PDF document after you h...

How to explore or browse Files backed up using Windows Backup?

I had backed up files on my Desktop having Windows 7 Ultimate with Windows Backup. I urgently need a specific file which I had kept in My Documents, and which was being backed-up. Right now I do not have access to the desktop, but I do have the external disk on which I had backed up. On looking at the backup files, I can see that they are basically folders, and some zip files which contain the data. However there does not seem to be a way of easily exploring or browsing through the various files to get the latest copy of the required file. If I look at the files on a system with Windows 7, I can only restore the entire backup, which I do not want to do. Is there any way of browsing through the Windows Backup files and searching for a specific file? Answer If you have a File backup as I have, then you can follow these steps to browse or search through your backup. Open Backup and Restore by clicking the Start button , and typing Backup. Select Backup and Restore from the search result...

Webcam as Ambient Light Sensor in Windows 7

Windows 7 introduces an Adaptive Brightness service that requires an Ambient Light Sensor doodad to work. Is there software that turns a webcam into a (periodic) ALS that is compatible with the ambient brightness service? Answer there is certainly some ways to achieve this using Autohotkey as is discussed here : Using a webcam as an ambient light sensor But BackLight Unit coNTRoL should work :)

windows 7 - Cancelled cut and paste, what happens?

I cut and paste an 80GB worth of files and folders. At about 80% I cancelled it. Are some of the files deleted and gone forever? Does the files that were successfully transferred gets deleted? If yes, can I still recover them? Answer When you cut and paste the data, the data transfer proceeds one file by one from the location of transfer to the other location. Until the file transfer is completed, the files are not deleted from the original location(from where the files were cut). If by chance the transfer is interrupted the files which have not transferred yet will remain in the original location and you can again proceed with your transfer. There is a very small chance of losing data if the transfer is interrupted by a power failure or a system hang. In my case I've never lost data when cutting and pasting, no matter the size.

intel core i7 - Macbook Pro - 15" with i7 processor - Any problems with heat?

You may have already heard about the review done by the folks at PC Authority in Australia, where they had an i7 MacBook Pro that got up to 100 degrees Celsius during benchmarking. Here is the URL in case you have not read it . In any case, I was considering purchasing a 15" Macbook Pro with the i7 processor and the NVIDIA GeForce GT330M with 512 video memory. Having read how hot the computer got I started to become hesitant about purchasing. My main concern is long term damage to the computer due to excessive heat. I plan to use the MacBook Pro as a development machine where I will be running Windows 7 within VMWare Fusion or Virtual Box. Within the VM I will be running IIS, SQL Server, Visual Studio and SharePoint Server. Hence why I would like to have the power of the i7 processor. That is why I wanted to check with actually owners of the MacBooks with the i7 processor and see what their experiences have been. Have you noticed excessive heat? How does your Macbook handle proces...

osx lion - How to uninstall "USB Overdrive" via terminal without mouse?

I installed USB overdrive to my 10.7 Lion distribution. Unfortunately I can't move my mouse after that anymore. In my Applications folder there is an application named "Uninstall USB Overdrive.app". Via Cmd - O I can open it, but since I have no mouse, I can't select anything from the popup. I also tried safe mode without success. So my question is: How can I uninstall this app by using the terminal? Answer Enable global keyboard access See if you have "All controls" are enabled in System Preferences → Keyboard & Mouse (only on Leopard now, should be similar in Lion). You will need to press the appropriate keyboard shortcut, e.g. Ctrl - F7 to toggle this setting. When enabled, you can navigate all dialogs with Tab or Shift - Tab , selecting elements with Space . This should get you through the uninstallation. Manually call the uninstallation script Try this: /Applications/Utilities/Uninstall\ USB\ Overdrive.app/Contents/Resources/rmusbo This is wh...

security - What's the safest way to reset permission to default?

I have mixed permissions on winodws 10 from trying to backup windows.old file and windows-bt. I added "Everyone" to the user names and groups list but there's a red icon on the administrator account with an X it has "special Permissions" I haven't found a single thing I couldn't do on the computer I was even able to update and play games on it. How bad is this and how vulnerable is my computer? Again I haven't found anything I couldn't do or any errors and I'm the only one that uses this laptop. It does have kasperky. What's the safest way to undo these changes? I found a method for it using the cmd but it's seems risky from the mixed results I read from other users and I don't want to make things worst than they already are if they're bad. How do I know what profile I'm using and what permssions it has? I'm aware that I'm using a local account on windows 10, but when I check the users in the task manager I see the...

How can I tell which version of Windows 8 I am running? Standard, Pro, Enterprise, or RT?

I have searched everywhere but cannot find how to tell which version of Windows 8 I am running. I have the system properties on the screen but it just says "Windows 8," nothing else. Is this the standard edition? EDIT 04142015: My new favorite way to do this is to go to the commnand prompt and issue (same with Windows 7): wmic os get caption Response: Microsoft Windows 8.1 Pro Answer I suspect it is the standard edition. I have Pro and it shows as Windows 8 Pro as per the image below. Alternatively, you can try the following from the command line: systeminfo | findstr /B /C:"OS Name" /C:"OS Version"

hard drive - Is there a SATA cable which can connect to multiple disks?

I have a motherboard with just few SATA slots but have to put quite few hard disks in the box, so naturally I easily ran out of free slots. I wonder if there are forked cables (I have no idea what would be the name for these cables) so I can connect multiple hard disks to a single SATA slot on the motherboard? PS. Speed is not essential here as all disks contain archived data. Answer As SATA is a point-to-point serial system, you are unlikely to be able to branch or split from a single connect – your better bet is probably to find a spare PCI slot and fit another SATA card. This will give you more connectors and should have little or no impact on the speed.

windows - How do I change to a mapped network drive at the command line?

I have a networked drive mapped to "U:\" I want to go to that drive from a command line. However, when I try I get an error C:>u: The system cannot find the drive specified. How do I do that? Can I? Is there some Environmental setting I need to do? Answer You need to make sure that the drive is mapped under the user which is running the command prompt. Try typing net use U: and see what info it gives you. If it's not showing the drive as being mapped, try remapping the drive ( net use U: \\servername\share\path\ ). You can also try changing directories by using cd /d U: , rather than just U: . This won't help you though if the network path doesn't exist.

windows - List all files and dirs without recursion with junctions

Is there a native|portable tool that can give me a unicode or a system local-compatible list of all files and directories under a path recursively , without recursing into junction points or links, in Windows? For example, the built-in dir takedown icacls commands run into an infinite loop with the Application Data directory ( 1 ). EDIT I would like to be able to get a text file or at least an easy clipboard transfer as an output. Answer This was somehow a hard question. Even StackOverflow has only fancy solutions . But here is a simple one for listing all files recursively without junction folder loops. Use PowerShell and test each file if it contains the attribute "ReparsePoint" function Recurse($path) { $fc = new-object -com scripting.filesystemobject $folder = $fc.getfolder($path) foreach ($i in $folder.files) { $i | select Path } foreach ($i in $folder.subfolders) { $i | select Path if ( (get-item $i.path).Attributes.ToString().Contains(...

windows 7 - Sleep shortcut in win7

Possible Duplicate: What is the command to use to put your computer to sleep (not hibernate)? When I try to create a sleep shortcut in windows 7 x64 using this code: C:\Windows\System32\rundll32.exe Powrprof.dll,SetSuspendState Sleep C:\Windows\System32\rundll32.exe Powrprof.dll,SetSuspendState C:\Windows\System32\rundll32.exe Powrprof.dll,SetSuspendState 0.1.0 Then Windows hibernates instead of going to sleep. I don't want to turn off hibernate as I do still want to be able to use it. How do I make this work to make my computer go to sleep?

Find packages installed from a certain repository with aptitude

I'm in search for something analog to this question: Zypper: How do I display all packages from a certain repository? Since I'm on Ubuntu, I need an aptitude based solution: How can I get a list of installed packages from a certain repository? Answer Using aptitude, in order to look for installed packages outside of the stable branch, you can use: aptitude search "?narrow(?installed,?not(?archive(stable)))" To see versions as well as package-names (and instead of descriptions) you can use the command with the format option ( -F for short), as follows. aptitude search -F "%p %V %v" "?narrow(?installed,?not(?archive(stable)))" For more formats, please take a look at the manpage (here's documentation with avail. options ). That works for example, in Debian if you installed packages outside Squeeze (by runing, for example, apt-get install -t sid package-name . You can look where an installed package comes from via apt-cache policy , usage is a...

Windows 10 Explorer cuts off folder name after last period character

I recently upgraded my PC to Windows 10 and all was fine for the first few days, but now all of the sudden Windows Explorer does not show complete folder names which contain period characters. All characters past the last period are removed. If I right click on the folder and select "Properties", the entire name shows up. I have searched this topic on Google and found several references to a Microsoft Fix-It that can be run which supposedly fixes this problem, but it is not compatible with Windows 10. Here is an image of what I see: The only thing I can think of that may have triggered this is I installed a new version of Tortoise SVN. Not sure if this had anything to do with it or not. I also verified that the option "Hide extensions for known files types" is NOT enabled. Any ideas?