If your Google drive application for an Android mobile device gives you this message and you have the Developer Options enabled, try to uncheck Do not keep activities before trying anything else.
Thanks to bbell67.
Tuesday, August 19, 2014
Friday, June 27, 2014
Wireshark: The NPF driver isn't running
The NPF driver isn't running. You may have trouble capturing or listing interfaces.
You run Wireshark occasionally and don't want to start the NPF driver automatically at start up.
Open a command shell with administrator rights and type:
> sc start npf
You can [stop] the service in the same way.
You run Wireshark occasionally and don't want to start the NPF driver automatically at start up.
Open a command shell with administrator rights and type:
> sc start npf
You can [stop] the service in the same way.
Run a Command as Administrator on Windows
I didn't know this but since I'm a Linux guy, I'm not ashamed.
On windows, if you log in as a user with administrator privileges but want to run a command shell with administrator's rights, you still need to run it in a special way:
On windows, if you log in as a user with administrator privileges but want to run a command shell with administrator's rights, you still need to run it in a special way:
- Go to the start bar search box
- Type cmd
- Right-click on cmd.exe and choose "Run as administrator"
Tuesday, June 10, 2014
Building with Ant from Eclipse: "Specified VM install not found"
After an update of the JDK and successive removal of the old version, when I tried to build with Ant from Eclipse I got:
Specified VM install not found: type Standard VM, name jdk1.7.0_55
Yeah, right, OK, but where do I update the JDK that's used by Ant??
Here:
Run -> External Tools -> External Tools Configurations -> JRE
Thanks to Michael Borgwardt
Specified VM install not found: type Standard VM, name jdk1.7.0_55
Yeah, right, OK, but where do I update the JDK that's used by Ant??
Here:
Run -> External Tools -> External Tools Configurations -> JRE
Thanks to Michael Borgwardt
Monday, June 09, 2014
Windows Keeps Forgetting the Wi-Fi Connection Password
One possible cause of the problem is that the Intel PROSet/Wireless WiFi Connection Utility is somehow conflicting with the OS.
Try to disable it and go back to Windows managing the connections.
Once you're opened the Intel WiFi connection utility, choose: Advanced, then something like Let Windows Manage the WiFi Connections.
You're done.
Try to disable it and go back to Windows managing the connections.
Once you're opened the Intel WiFi connection utility, choose: Advanced, then something like Let Windows Manage the WiFi Connections.
You're done.
Wednesday, May 07, 2014
Windows 7 Taskbar Icons Not Displaying Properly After Repair
If some of your icons display like empty boxes after a repair to the system because of some reset, then follow these instructions. They worked for me.
Tested on Windows 7
Thanks to bhadri.
- Open the task manager in the processes tab.
- Kill explorer.exe.
- From the File menu in the task manager, choose New task (run...)
- Execute the following:
- cmd /c del %userprofile%\AppData\Local\IconCache.db /a
- And restart explorer running:
- explorer.exe
Tested on Windows 7
Thanks to bhadri.
Sunday, April 27, 2014
Add a Program to the Send To Menu
If you need to use Windows and would like to add some more user-friendliness to the super user-friendly MS GUI, like, adding some other program to the Send To menu, here it is what you need to do:
- Open Windows explorer and type: shell:sendto in the text field.
- Create a link, ehm shortcut for the program you plan to add in some place (directory, desktop).
- Cut and paste it into the Windows explorer directory.
- You're done!
Thursday, April 24, 2014
Specified VM install not found: type Standard VM ...
Specified VM install not found: type Standard VM, name jdk1.7.0_45
You installed a new JDK, configured Eclipse to recognize it but the old one still pops up when you compile or do something else.
Try removing the following file:\.metadata\.plugins\org.eclipse.debug.core\.launches\projectname build.xml.launch
Thanks to Mujahed
You installed a new JDK, configured Eclipse to recognize it but the old one still pops up when you compile or do something else.
Try removing the following file:
Thanks to Mujahed
Monday, March 17, 2014
Mercurial: abort: uncommitted local changes
If you're using TortoiseHg Workbench: go to Repository --> Terminal.
Otherwise simply open a console and cd to the root directory of your repository.
Type:
> hg update --clean -r tip
That should solve the problem.
Thanks to Mike here.
Friday, February 21, 2014
Annoying Eclipse Validation Errors
Sometimes you run into these Unknown validation errors in Eclipse which you seem not to be able to get rid of.
The Maven build is running fine even from within Eclipse but the messages won't go away even if you:
If there was no real reason for them to show up because in the meantime you had removed the reason for them to exist, then they'll not be generated again.
Thanks to pelotom!
The Maven build is running fine even from within Eclipse but the messages won't go away even if you:
- Right-click on the project --> Validate
- Project --> Clean
- Close and re-open it
If there was no real reason for them to show up because in the meantime you had removed the reason for them to exist, then they'll not be generated again.
Thanks to pelotom!
Friday, November 08, 2013
Nexus 7 Not Showing Up on Windows 7 After Upgrade to Android 4.3
First generation Nexus 7 with Android 4.3
It was working before the last firmware upgrade.
After the upgrade the device simply doesn't show up in the file explorer.
If you go to the list of devices, it's there.
If you remove the driver, Windows will simply reinstall it automatically.
If you choose "Upgrade driver" Windows will tell you you have the most recent version.
What worked is:
It should...
It was working before the last firmware upgrade.
After the upgrade the device simply doesn't show up in the file explorer.
If you go to the list of devices, it's there.
If you remove the driver, Windows will simply reinstall it automatically.
If you choose "Upgrade driver" Windows will tell you you have the most recent version.
What worked is:
- Go to Settings --> Storage
- Open the menu on the top left corner and select USB computer connection
- Choose Media device
It should...
Thursday, October 24, 2013
Forgot to Change Mercurial's Commit Comment?
If you're using TortoiseHg (my version is 2.9.2) and it's the last thing you did (the commit), then you can simply go to Repository --> Rollback/Undo. What you need is the Undo and to preserve the changed files in the workspace. Follow the instructions then and you're set!
Monday, October 21, 2013
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
I got this while running an Eclipse Configuration (Run Configurations) on a GWT project on Windows. If Eclipse cannot do it, you can do it manually...
- Start
regedit
- Navigate to the following path
HKEY_LOCAL_MACHINE\Software\JavaSoft
- Right click on the JavaSoft folder and click on
New
->Key
- Name the new Key
Prefs
Labels:
eclipse configuration,
gwt,
registry,
windows
Friday, June 07, 2013
Reduce a Video Size with ffmpeg
Basic command to reduce a video for upload to YouTube:
> ffmpeg -i input_video.mp4 -ab 56k -ar 22050 -b 300k -r 15 -s 640x360 output_video.flv
If the original size was greater and you have the time to keep it bigger, YouTube suggests a size of 1280x720 for better reproduction.
More info to come... in the meantime:
Read the man page for more information.
FFmpeg documentation.
> ffmpeg -i input_video.mp4 -ab 56k -ar 22050 -b 300k -r 15 -s 640x360 output_video.flv
If the original size was greater and you have the time to keep it bigger, YouTube suggests a size of 1280x720 for better reproduction.
More info to come... in the meantime:
Read the man page for more information.
FFmpeg documentation.
Saturday, May 25, 2013
Configure Sun's Java Plugin for Firefox
- Install the JRE or JDK as RPM or in your favorite location;
- Open a shell and go to: ~/.mozilla
- 64-bit platform: create the link: ln -s /opt/java/jdk1.7/jre/lib/amd64/libnpjp2.so . (the dot stands for the current directory)
- 32-bit platform: search for the directory: i386.
Reference:
http://www.java.com/en/download/help/index_installing.xml
Monday, April 22, 2013
Set Sun's JDK as Default on Fedora 18
If you installed Sun's JDK (yes, I still call it Sun's!) from the binary package (versus the RPM) and need to use it as the default implementation, you can manually alter the PATH and JAVA_HOME but the easy way is to, at first let Fedora know about it:
# java
> alternatives --install /usr/bin/java java /opt/java/jdk1.7.0_21/jre/bin/java 20000
# javaws
> alternatives --install /usr/bin/javaws javaws /opt/java/jdk1.7.0_21/jre/bin/javaws 20000
# Java Browser (Mozilla) Plugin 64-bit
> alternatives --install /usr/lib64/mozilla/plugins/libjavaplugin.so libjavaplugin.so.x86_64 /opt/java/jdk1.7.0_21/jre/lib/amd64/libnpjp2.so 20000
# Install javac only if you installed JDK (Java Development Kit) package
> alternatives --install /usr/bin/javac javac /opt/java/jdk1.7.0_21/bin/javac 20000
> alternatives --install /usr/bin/jar jar /opt/java/jdk1.7.0_21/bin/jar 20000
and then set it as the default:
> alternatives --config java
> alternatives --config javac
Source.
# java
> alternatives --install /usr/bin/java java /opt/java/jdk1.7.0_21/jre/bin/java 20000
# javaws
> alternatives --install /usr/bin/javaws javaws /opt/java/jdk1.7.0_21/jre/bin/javaws 20000
# Java Browser (Mozilla) Plugin 64-bit
> alternatives --install /usr/lib64/mozilla/plugins/libjavaplugin.so libjavaplugin.so.x86_64 /opt/java/jdk1.7.0_21/jre/lib/amd64/libnpjp2.so 20000
# Install javac only if you installed JDK (Java Development Kit) package
> alternatives --install /usr/bin/javac javac /opt/java/jdk1.7.0_21/bin/javac 20000
> alternatives --install /usr/bin/jar jar /opt/java/jdk1.7.0_21/bin/jar 20000
and then set it as the default:
> alternatives --config java
> alternatives --config javac
Source.
Monday, April 15, 2013
Add Installed JDK to Eclipse
If you install a JDK yourself (from a BIN, ZIP or other archive) you can easily add it from Window --> Preferences --> Java --> Installed JREs, choosing Add --> Standard VM and specifying the root directory of the newly unpacked installation.
If the JDK is already installed with the Linux standard directory structure, you should instead specify one of the directories you can find in /lib/jvm.
If the JDK is already installed with the Linux standard directory structure, you should instead specify one of the directories you can find in /lib/jvm.
Create an Eclipse Git Maven Java Project
You need to create a new Eclipse (Juno) Java project from a remote Git repository (like GitHub) managed by Maven (i.e. you already have a pom.xml for your project.)
- Make sure you installed a Git plugin like EGit.
- Click on File --> Import --> Git --> Projects from Git
- Then follow the instructions...
- Specify a URI for the repository source. This will end with a file.git.
- Select a branch.
- Local destination (<Git's_local_repository
>/<project_name >) - Select Import existing project.
- Select create Java project.
- Select Use custom location. This should be the local Git repository location.
- Mavenize it: right-click on the project's name --> Configure --> Convert to Maven project.
Friday, April 12, 2013
Export Java Syntax Coloring Preferences from Eclipse Juno
I just found out that trying to export just the Java syntax coloring preferences from Eclipse Juno doesn't work.
These are the color preferences you set from Window --> Preferences --> Java --> Editor --> Syntax Coloring.
Theoretically you should do a File --> Export --> General --> Preferences, select Java Code Style Preferences (I don't have a Syntax coloring item) and get them in your favorite file.epf
They should be included in those.
It doesn't work. But you can get them if you select export all.
I don't know if this is a bug or not...
These are the color preferences you set from Window --> Preferences --> Java --> Editor --> Syntax Coloring.
Theoretically you should do a File --> Export --> General --> Preferences, select Java Code Style Preferences (I don't have a Syntax coloring item) and get them in your favorite file.epf
They should be included in those.
It doesn't work. But you can get them if you select export all.
I don't know if this is a bug or not...
Subscribe to:
Posts (Atom)