Is there a way to list available drives, similar to Disk Utility, and get the associated /dev/rdisk* device for it?
Disk Utility has access to this data - when you select a drive and press the Info button, it lists..
Partition Map Scheme : GUID Partition Table
Disk Identifier : disk0
Media Name : Hitachi HTS541612J9SA00 Media
..or se...
I have always liked the documentation on Java APIs, generally speaking, but I know some people consider them lacking. So I'm wondering, what do you consider a good example of API documentation?
Please, include a link or an actual example in any answer. I want to have references that I (and others, of course) can use to improve our own d...
I am trying to add my own custom select menu to the new CKEditor. The API is a little confusing so I am unsure how to get this working. I am using the ui dialog function, but really not sure how to get it working.
So far I have:
CKEDITOR.ui.dialog.select(dialogObj, elementDefinition, htmlList);
Anyone hav ideas on how to actually ge...
I have a Logitech webcam (QuickCam Pro for Notebooks), and I'd like to take a snapshot using the cam from a command line.
Does it have any command line interface?
If not, is there an API that will allow me to build a command line tool like this?
Thanks!
...
Question: How to upload an image from my webserver to facebook via FB API?
I'm writing an application that retrieves images from the user's photo album, makes some modifications (e.g. adding a watermark) then send it back to photo album.
The code I use to upload the photo is as follows
<?php
include_once("api/facebook.php");
include_o...
Hello, I'm working on a project using Ogre3D. We recently ported our project to MacOSX but there are some things that were linked to the Windows API. In particular I don't know how this should be translated:
#if defined( __WIN32__ ) || defined( _WIN32 )
AllocConsole();
#endif
It would be nice to port the project under Linux someda...
When using map3d, the default marker creation is always perpendicular to the viewport. How can I create a marker that lays down flat against the map? I can't use GroundOverlay because it becomes overly tiny when the map is zoomed out. How can I create a matrix3d object that will rotate/scale/skew my Marker's foreground DisplayObject s...
I'm kinda stuck: Trying to make Joomla's JFBConnect post on the user's FB wall some of the user's actions on the website (forum posts, comments, favorites etc.)
Any ideas? API references? Any related Joomla/FB documentation?
Thank you!
...
Hi,
I want to implement a tool in Java to learn more about cryptography. I know that there is a security package with some crypto stuff inside. Now I saw there is a dedicated javax.crypto package inside the SDK.
Where is the difference? Are they both up to date?
I wanted to start my tool with some historical ciphers. But it should n...
I'm in need of a way of controlling Apache and reading configuration files etc for automating some tasks, does anyone know of any automation APIs or frameworks much like what Microsoft offers for IIS?
The application is a C# WinForms app that has a Apache + PHP (WAMP stack essentially). We can't use XAMMP, I need to create virtual hosts...
I've been looking around at various APIs, and since twitter seems to be a common discussion point, I'll use it as an example.
A lot of APIs are implementing oAuth which is great for allowing the service to authenicate and authorize the application connecting to it, however, from what I have seen there doesnt seem to be a way for the ap...
I'm looking for a Windows library/SDK that will allow me to do the following:
Display video from a network stream
Draw 2D elements on the displayed image in real time, such as lines, circles, text, etc.
Use it in a commercial application (I don't mind paying for it)
I'm willing to use any programming language or environment so there'...
I am making a dll that controls a dialogue box. I like to get a certain area to have red text. This code does compile, but the effect is not seen. Here is the area where the dialogProc is done:
LRESULT CALLBACK DialogProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
switch(message)
{
case WM_INITDIALOG:
...
I'm tring to use YFrog's API to upload a picture. The documentation is as follows
http://yfrog.com/api/upload
Use this method if you only want to
upload a photo or video to yfrog.
Request fields
(post data should be formatted as
multipart/form-data) media - Binary
image or video data; either media or
url para...
i am using google map api with asp .net for making a website, apart from C# which programming languages do i need to learn
...
I'm trying out OAuth for twitter api authentication and ran into a brick wall when my code spits out the message:
(instance of OAuth::Consumer needs to have method `marshal_load')
My code:
@consumer=OAuth::Consumer.new( "token","secret", {
:site=>"http://mysite.com/"
})
@[email protected]_request_token
session[:reque...
I've got a set of business/domain classes (for a calendar) that are going to be exposed in an internally-public API. In the same API, there are data objects that directly mirror the underlying database structure (NHibernate mapping, but that's unimportant).
What I need to do is build typed collections of those objects, so the days on th...
I have win32 API application in visual c++. I want to create a directory in Application Common Data Directory. I have the code which is generating following error. I have also tried to add '\0' at the end of string, but the same error appears.
Debug Assertion Failed!
Expression: (L“String is not NULL terminated” && 0);
code :
TCHAR Ap...
Is there a way to get the user name and server from Cisco VPN for the currently logged in session using VBA?
According to Cisco documentation, there is an API that can be used to retrieve attributes such as VPN_STATE_CONNECTED and VPN_AUTH_USERNAME, but I don't know how to hook into it from within a VBA add-in for Microsoft Office Excel...
I am trying to set up the PHP API for CloudWatch found here. There are 2 samples with the library and I have managed to get the first (ListMetricsSample.php) to display a list of the metrics available for my running instances in Europe. As far as I can see though this just lists the metrics, there are no values for the metrics given in t...