Most Android SDK documentation is oriented towards Eclipse IDE and it follows that examples / instructions for PhoneGap would be as well.
But, not everyone uses Eclipse.
Here's how to do this stuff from the command line, so you can use what-ever editor you choose (*cough* ...
This error is generally pointing to the fact that the CIFS routines cannot resolve the name, or connect to the server indicated.
More often than not its because the machine is references by name which is failing to resolve.
Try by using the CIFS/Windows Server IP address.
mount -t cifs -o username=U,password=P //10.65.0.186/c /mnt/windows/
...
We used to use Clearwire for a backup internet connection.
We cannot afford to be off-line and Clearwire looked like a cost effective backup connection.
While it was, the fact that Clearwire "managed" so many services forced us to stop using them.
One major issue for us was that Clearwire was blocking traffic on specific ports that we need access to.
After speaking with their "tech-support" (who didn't know the diff...
The standards and styles are broken down by language, in alphabetical order, with common set of standards listed first.
Where possible consistency across language boundaries has been chosen over native language style.
Alternatives are given when necessary and for backwards compatibility.
Common
Comments
C/C++...
When using CUPS from the command line this error may occur after adjusting the default cupsd.conf
~ # cupsdisable LP1234
cupsdisable: Operation failed: cups-authorization-canceled
~ # cupsdisable -h localhost:631 LP1234
cupsdisable: Operation failed: cups-authorizatio...
This just means the printer is busy having a status check.
/var/log/cups/access_log:localhost - - [04/Jan/2012:13:03:16 -0500] "POST /printers/q401 HTTP/1.1" 200 293053 Print-Job successful-ok
While printing, the job has this message, cause it's taking a few seconds to print.
Notice the line prefix W, that means Warning.
/var/log/cups/error_log:W [04/Jan/2012:13:03:16 -0500] [Job 234619] The printer is...
Below are shown the pinouts of different ethernet cabling.
Ethernet connectors are of type "RJ45"; an eight (8) connector jack.
The pins are numbered from one (1) to eight (8), left to right when looking at the top of the connector.
Crossover and Straight Through Pinouts
The table below describes the pinouts of both straight through and crossover Ethernet cables.
Keep in mind that pinouts are described for botht the left and ...
When building Facebook Applications that post to the Wall (/me/feed) you may get this error.
The documentation shows that there is no hard and fast value for when this error gets triggered.
Here's some notes we've found.
Don't Repeat
Don't post the same message ...
Using ffmpeg from within PHP
// Here file is uploaded and then the name is stored in
// $file_i = input file name
// $file_o = output file name
$ffmpeg_bin = '/usr/bin/ffmpeg';
$ffmpeg_audio_opt = '-acodec mp3 -ab 192 -ac 2 ';
$ffmpeg_video_opt = '-acodec mp3 -ab 192 -ac 2 ';
// Audio Conversion...
When creating software for various systems Edoceo places our specific code, libraries, documentation, etc according to the following structure.
File Locations
Unless otherwise necessary in-house software should be created in /opt/edoceo or c:\Program Files\Edoceo, Inc. depending on platform.
Library files are component binaries or scripts, aka DLLs and WSC files.
Temporary files are ones tha...
MySQL Query to Show Database Size
SELECT table_schema "Data Base Name",
sum( data_length + index_length ) / 1024 / 1024 "Used MB"
FROM information_schema.TABLES
GROUP BY table_schema ;
MySQL Query to Show Free Space
SELECT table_schema "Data Base Name",
sum( data_length + ...
NetBIOS is Microsoft's networking protocol, it's been mothballed but isn't totally dead yet.
NetBIOS Name Types and Name Suffixes
NetBIOS has many name types (aka suffixes) that describe the type of service.
Below is a table that lists the important ones.
ServiceSuffixNote
Workstation00This is the primary co...
This is not an error!
It simply means that the NTP server that is reading from does not consider itself to be accurate.
Explanation
NTP works by reading time from multiple sources and calculating transimssion times.
It's the things it the NTP logs that look like this:
reply from 192...
The OVA file is nothing more than a TAR archive, containing the .OVF and .VMDK files. Easy!
Using Evergreen ILS for example:
~ $ file Evergreen_trunk_Squeeze.ova
Evergreen_trunk_Squeeze.ova: POSIX tar archive (GNU)
I'ts possible to use the tar command to list the contents
~ $ tar -tf Evergreen_trunk_Squeeze.ova
Evergree...
This document describes how to rename a user account on Samba
Situation Definition
When a user leaves an organization some times we want to simply rename their user for the new accout.
This allows the new user to still use the same profile and other configurations that the previous use did.
Think of the scenario where there is a need for a unique us...
This document provides the necessary SQL statements for ISO 3166 country names and two and three letter codes.
This page and the data are in UTF-8 encoding.
See also the ISO 3166 API we have exposed at: http://api.edoceo.com/iso/3166/1.
API documentation available on api.edoceo.com.
Create Country Table
Table i...
Create a table like this, add more columns if needed.
create table state (
id serial primary key,
code char(2) not null,
name varchar(64) not null
);
Now insert these records
insert into state (code,name) values ('AL','Alabama');
insert into state (code,name) values ('AK','Alaska');
insert int...
When using SSH this error may show it's ugly head on occasion.
Many searches for the issues point to funny TCP connection tweaks or that sshd needs to be re-configured.
This is not the case.
Symptoms
Connecting to SSH servers gives this message:
$ ssh atom@example.com
ssh_exchange_identification: Connection...
You may see these messages on some servers, reported LANG will likely be different (according to your environment)
svn: warning: cannot set LC_CTYPE locale
svn: warning: environment variable LANG is en_GB.UTF-8
svn: warning: please check that your l...
Command Line Options
call Call someone
answer Answer an incoming call
answerbye Answer an incoming call or end a call
reject Reject an incoming call
redirect Redirect an incoming call
transfer Transfer a standing call
bye End a call
hold Put a call on-hold
retrieve Retrieve a held call
conference Join 2 calls in a 3-way conference
mute Mute a...
No Error or 0x80240020
This one is a big pain.
See KB 910341 for instructions on manually re-creating these registry entries.
.NET Update Failures
Some times .NET 1.1 updates will not work.
Symptoms include: Failed .NET updates, unable to remove older .NET (1.1 ...