A mate of mine recently left his Galaxy S outside in the rain, floating in a puddle overnight after some overzealous drunken antics which rendered the home button unresponsive. Sending it back to Samsung for repair would obviously require payment as it had easily set off the water damage sensors.
Thursday, May 5, 2011
Wednesday, May 4, 2011
Windows Hidden/Not Connected Device Removal Script And Devcon Musings
I recently needed to create a quick script that uninstalls any devices that have since been disconnected from the system (or fail to be seen). Normally these devices can only be found if you open a command prompt and enter the following (then show hidden devices):
set devmgr_show_nonpresent_devices=1
start devmgmt.msc
The problem arose when I had a large number of touchy USB data aquisition devices that required this to be performed regularly, which becomes very tedious. This is where the devcon utility comes in handy. Although there are a few small problems; the devcon utility has issues removing hidden devices. A lot of people claim this is because it just in fact doesn't do it, as there is apparenly a flag in the program that prevents you from doing it out of the box and modifying the source is the only way to go (I have looked through the source, and I could find no such thing that would cause this behaviour). This is flat out incorrect, you can indeed remove hidden devices with devcon out of the box (provided you have the correct version for your Windows installation, more on this later).Tuesday, May 3, 2011
ESXi Automation (KMS Post Followup)
I finally got around to creating a small script which automates the process of starting up all of the machines outlined in the post, KMS Activation With Less than 25 Machines and VMWare ESXi after I found that the counter in the Windows KMS server resets itself after 30 days. This is of course OK with current machines, but when adding more machines it is not of course desirable.
Labels:
automation,
exsi,
kms,
mask password batch
Monday, April 11, 2011
Kinect USB Cable
I finally got around tonight to putting a cable together for the Xbox 360 Kinect that I bought a few months back. I opted to build my own rather than ordering one from Microsoft (I had bought the 360 S with Kinect bundle and this version does not come with the power supply cable).
Thursday, April 7, 2011
Solaris Like Ping Bash Script
Here is a simple bash script I wrote to allow you to perform a quick ping operation and have it work similar to how it does on Solaris operating systems:
/usr/lib/libstdc++.so.X: version GLIBCXX_3.4.XX required by
Have you every tried to start up a new program and received this cryptic error:
/usr/lib/libstdc++.so.X: version GLIBCXX_3.4.XX required by...
If you have, browsing the internet will usually lead you to believe that you must update your version of libstdc++ or upgrade to a newer distribution of your favourite OS. Well if upgrading is out of the question and you already have the latest verion of libstdc++ installed on your system from your distro's repositories. You also tried to upgrade it to a newer version and you get a whole bunch of dependency errors (which will be the case since the newer version is incompatible with most things that are currently compiled on your system), you can follow these steps.
/usr/lib/libstdc++.so.X: version GLIBCXX_3.4.XX required by...
If you have, browsing the internet will usually lead you to believe that you must update your version of libstdc++ or upgrade to a newer distribution of your favourite OS. Well if upgrading is out of the question and you already have the latest verion of libstdc++ installed on your system from your distro's repositories. You also tried to upgrade it to a newer version and you get a whole bunch of dependency errors (which will be the case since the newer version is incompatible with most things that are currently compiled on your system), you can follow these steps.
Labels:
GLIBCXX,
incompatible,
LD_LIBRARY_PATH,
libstdc,
required,
version
Wednesday, April 6, 2011
Redirect Commands to Other Terminals
I had a friend ask me today if it would be possible to send commands to another terminal in Linux. Now I am not talking about how to send stdio to other terminals (echo "Test" > /dev/ttyX), but to actually run the command in that terminal.
I came across a small tool to do this for us.
I came across a small tool to do this for us.
Subscribe to:
Posts (Atom)

