Recent Notes
Displaying keyword search results 1 - 10
Created by freyo on August 25, 2011 09:07:40
Last update: August 25, 2011 20:45:43
This is a list of built-in Android permission values: Permission Description Since API Level android.permission.ACCESS_CHECKIN_PROPERTIES Allows read/write access to the "properties" table in the checkin database, to change values that get uploaded. 1 android.permission.ACCESS_COARSE_LOCATION Allows an application to access coarse (e.g., Cell-ID, WiFi) location 1 android.permission.ACCESS_FINE_LOCATION Allows an application to access fine (e.g., GPS) location 1 android.permission.ACCESS_LOCATION_EXTRA_COMMANDS Allows an application to access extra location provider commands 1 android.permission.ACCESS_MOCK_LOCATION Allows an application to create mock location providers for testing 1 android.permission.ACCESS_NETWORK_STATE Allows applications to access information about networks 1 android.permission.ACCESS_SURFACE_FLINGER Allows an application to use SurfaceFlinger's low level features 1 android.permission.ACCESS_WIFI_STATE Allows applications to access information about Wi-Fi networks 1 android.permission.ACCOUNT_MANAGER Allows applications to call into AccountAuthenticators. Only the system can get this permission. 5 android.permission.AUTHENTICATE_ACCOUNTS...
Created by woolf on June 25, 2011 10:55:08
Last update: June 25, 2011 10:57:15
My C drive was seriously fragmented with about 20% free space. So I ran the built-in Windows disk defrag utility. To my surprise it doesn't work at all! I tried to defragment multiple times and every time it comes back without doing much work. Then I realized that perhaps it didn't know how to get the job done and needed some help. Here's the list of things I did to help the defragmentor out: Relocate the paging file to a different drive and reboot. If the paging file ( pagefile.sys ) is seriously fragmented, it can't be defragmented, and in turn it blocks other files from being defragmented. If you only have one drive (C:), try to make it smaller or eliminate it entirely for...
Created by Fang on March 30, 2011 15:31:24
Last update: March 30, 2011 15:31:24
You get this error when you are trying to compile with JDK 1.5 (class version 49), but your dependency was compiled by JDK 1.6 (class version 50). Check the JAVA_HOME setting, and make sure it's pointing to JDK 1.6. On Unix, use
set | grep -i java_home
On Windows, just
set JAVA_HOME
Created by woolf on February 10, 2011 12:51:14
Last update: February 10, 2011 13:06:11
Windows command line shell does not come with a sleep command. One trick is to emulate sleep using the ping command:
C:\>ping /?
Usage: ping [-t] [-a] [-n count...
To sleep for about 5 seconds:
@rem make sure to ping a non-existing IP, otherwis...
If you have the Windows Resource Kit installed, it does provide a sleep command:
C:\>sleep
Usage: sleep time-to-sleep-in-s...
Created by magnum on December 03, 2010 08:53:18
Last update: December 03, 2010 08:54:23
You can use the ntfsresize utility on Linux to shrink or expand an NTFS partition (boot, for example, with the DRBL live cd).
To shrink an NTFS partition:
shrink NTFS (the file system) with ntfsresize.
re-create a smaller partition to hold the shrinked file system with FDisk.
To expand an NTFS partition:
Recreate a partition that's bigger than the previous one.
expand NTFS to the full size of the new partition.
The following are from excerpts from ntfsresize FAQ (Frequently Asked Questions) :
ntfsresize help:
[tinker:root]:(~)# ntfsresize -h
ntfsresize v1....
ntfsresize example session:
[tinker:root]:(~)# ntfsresize -s11000M /dev/hd...
Fdisk example session:
[tinker:root]:(~)# fdisk /dev/hdc
...
Created by voodoo on July 15, 2010 22:43:40
Last update: July 15, 2010 22:45:07
You need to merge this value into the Windows XP registry in order to make ClearType work for a remote desktop:
Windows Registry Editor Version 5.00
[HKEY_...
A restart is required for the change to take effect.
Created by Dr. Xi on June 11, 2010 19:04:18
Last update: June 11, 2010 19:06:35
The caret ^ is DOS command line escape character.
Example 1: echo < and > as is, not interpreting them as input/output redirect.
@rem sign an XML file. Requires Java class utils.x...
Example 2: treat & literally, not as the special character to combine two commands.
@rem search "dos command line" in Google.
curl ...
Add switch -A "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1" to make curl look like Firefox.
Created by Dr. Xi on September 02, 2008 18:55:18
Last update: January 18, 2010 22:36:24
Remember the times when you googled for solutions to your technical problems? How much time did you spend on wading through the zillions of links to find the ones that are of interest to you? Wouldn't you hope that you can find the answer right away the second time around? How many times were you forced to peruse hundreds of pages of documentation for a very specific need? Did you ever need to experiment with various alternatives because the documentation was vague? Wouldn't you prefer that a shortcut is available when the same thing is needed again? Xinotes is here to record your technical findings so that you won't have to go through the same process again when the problem reappears. Experience has taught us...
Created by Dr. Xi on April 22, 2007 21:58:45
Last update: January 19, 2009 20:26:12
Your code will be syntax highlighted when you specify the language of your code with the BBcode code tag:
[code=lang] Your code here [/code]
where "lang" is the language of your code. For example, the following Perl code
#!/usr/bin/perl
print "Hello World!\n";
is rendered with:
[code=perl]
#!/usr/bin/perl
print "Hel...
The following are supported languages and their corresponding names for BBcode:
Apache conf: apacheconf, aconf, apache
Bash...
The full list is available from http://pygments.org/ , which is our backend engine for syntax highlight rendering.
Created by woolf on January 15, 2009 05:05:19
Last update: January 19, 2009 05:07:49
MinGW is "Minimalist GNU for Windows" - a collection of freely available and freely distributable Windows specific header files and import libraries that allows you to build Windows native executables with GCC. MSYS is a minimal system that provides a POSIX compatible shell and utilities so that you can run the normal set of GNU build tools (such as configure, make). You can download MinGW and MSYS from sourceforge.net: http://sourceforge.net/project/showfiles.php?group_id=2435 . The set of files is overwhelming and installation is confusing sometimes. But here's what I did in order to build ffmpeg on Windows XP: Download "Automated MinGW Installer" (MinGW 5.1.4) Install MinGW 5.1.4. Select "Candidate". Check g++, but leave other options unchecked Finish installation of MinGW Install MSYS DTK 1.0 in C:\msys\1.0. Download "MSYS...