Hi guys.
I've accidentally dropped a database inside my server .
I have no backup of it and binary logs are not enabled (shame on me!) ...
Is there any way to restore that db?
I need ability to modify the cursor while my application is running, and restore it afterwards.
Cursor.Current doesn't seem to work. Any other alternatives? Is there any API for this?
Thanks
Hey
I know that in the google maps API it's possible to replace the existing tiles with my own - and using their tile server - feed my own maps.
i'm interested in doing this using monotouch - is there any way of doing this atm - or does anyone know of a way of achieving this any other way?
w://
I have only .APK file of PDF Viewer and my requirement is to use pdf viewer for reading document called through Web API . Is there any possibility to integrate these two in same package apart from source code ?
Waiting for reply. Thnaks in advance.
Regards,
Praween
I have a python Interpreter written in C++, the PyRun_String function from the Python API is said to return a handle, however in my code I have it assigned to pointer to a PyObject?
PyObject* presult = PyRun_String(code, parse_mode, dict, dict);
Is this actually correct? Can you implicitly cast this handle to this object pointer?
Should it not be a HANDLE instead?
I have used perf4j to calulate the performance of the process. Now I want to make the graph for that file. Is it possible to make it without using google API or any other metohd that can be used
Thank You
I'd like to create a Google Visualization API intensity/heat map based on UK counties.
To do this, it appears that I need to use a custom KML/KMZ file that contains the county mapping data (which I've located).
Could anyone provide me with a sample of how I can display an intensity map based on a KMZ file? I know how to display Google Visualization intensity maps in general. I just can't find any examples that use a custom KMZ file.
I know that there is no API to remove the header row, but I'm sure it can be done by modifying some CSS. Any ideas ?
For example, here: http://mleibman.github.com/SlickGrid/examples/example4-model.html
I'm using the winmm.dll API method waveOutGetPosition to get the current position of the playback of a WAV file. Sometimes this works as expected for me, but eventually one of the calls never returns and my application locks up.
I found this thread with a few users who have experienced the same problem:
http://social.msdn.microsoft.com/Forums/en-US/windowsgeneraldevelopmentissues/thread/c6a1e80e-4a18-47e7-af11-56a89f638ad7
but no solution. Has anyone run into this problem before?
Hi all,
I am looking to send a large message 1 MB through the windows sockets send api . Is there a efficient way to do this , i do not want to loop and then send the data in chunks . I have read somewhere that you can increase the socket buffer size and that could help . Could anyone please elobrate on this . Any help is appreciated
$(function(){
$.ajax({
url:'http://api.twitter.com/1/statuses/user_timeline.json?screen_name=user_name&callback=?',
//dataType:'json',
success:function(data){$('body').append('the data is' +data);}
});
});
the above code with dataType line prints out [objects] while with the dataType line commented it prints out nothing ...how can i get it to print the json output from the server rather then the javascript object?
If I have an app that connects to Amazon's S3 service, is it worth my time to hide/obfuscate the connection strings and API keys? I'm guessing that most hackers won't care all that much, but it would be financially painful if someone found this information and was able to upload data to my account!
Has anyone done this or have any ideas/patterns/code to share?
-dan
I'm using Maven in the context of another build-tool (leiningen for Clojure, but this should not matter), and I would like to know how I would call a plugin like dependency:build-classpath programmatically (i.e. via the Maven-API, not via the mvn-command).
I have a raw sql query I need to run, but the database name changes in each environment (live: db, dev db_test)
I need to get the current database name from the databases.yml file.
How can I get just the current database name?
I am using the Propel ORM
I am creating a windows application which needs to send some sms to mobile phone.This is just for testing purpose.
Now can I use my cell phone to get this done. I have android phone which can be connected to pc using USB.
Application is created in C++, windows api.
Any pointers will help
I'm fairly new to Java and am writing an app that needs an XML config file. The problem I have is that there doesn't seem to be any easy way to do this, which seems a bit strange. I've looked SAX and DOM and both seem quite complicated. Are there any other good API's out there? What's the best way to do this in Java?
Thanks...
On Wordpress, I keep getting irrelevant search results.
Some search strings that do not exist on the DB yield All Posts as results.
Some search strings that DO exist, works great.
What could be the cause of that behavior? I've uninstalled all related plugins. Is there a way to debug the search?
Thanks!
The definitive reference for using Scala on android seems to be here: http://www.scala-lang.org/node/160
Unfortunately, all the references on using scala with android are based around Scala 2.7 and refer to a custom build android-library.jar, with a couple of cryptic references suggesting that this custom build isn't needed for later versions of android (I'm using 2.1 / API v7)
So... What are the steps needed to use Scala 2.8 in an android project? Preferably using eclipse and the Android tools that Google supplies for that IDE.
I'm looking for something like the following:
previous_invoices = Invoice.objects.filter(is_open=False).order_by('-created').group_by('user')
(group_by() doesn't exist)
This would find the most recently closed invoice for each user. This aggregation API seems to let you do stuff like this for counts and sums, but I don't need a count or sum or anything, I actually want the invoice objects!
Is there a way to change the window title of my SQL Server Management Studio to display current server I'm connected to?
To know which DB I'm connected to, I have to scroll all the way up to see the name of the server and it's a pain..
Maybe there's an available plug-in or something.
Can somebody tell me, why does Linq to Entities translate many to 1 relationships to left outer joins instead of inner joins? It relation was many to 0..1. There's referential constraint on DB itself, that ensures there's a record in the right table, so inner join should be used instead.
Is it possible to write LINQ in a way so they will translate to inner joins rather than left outer joins. It would speed query execution a lot.
If Apple doesn't want developers using private APIs in the iPhone SDK, why don't they do something like mark the classes and/or methods with whatever the Objective-C equivalent of C#'s "internal" keyword? If the APIs are spread amongst multiple binaries, Apple could refactor them into dedicated private-API-only binaries to make this easier for them.
I am creating a twitter plugin for wordpress and I was told that when using oauth you can't really make the plugin act natively because each time the user installs the plugin they have to add their own twitter api credentials because of the callback url. Is this correct? Or is there a workaround for this?
Thanks for your help in advance!
I'm going to create a new PayPal project. Should I just create a regular Class Library project then add the reference to the WSDL? We are not using WCF. I just want to know what the best project type / template I should use if I'm going to share this project with lets say another WAP web project. I simply want to create wrappers for some of the WSDL that we'll be using in part of the PayPal API.
Hi I have an web application where in I have 4 fields in the form, like streetname,nearest street,zip,state and country.Based on this I need to show the location of this address in the google maps.I have to implement this functionality for GoogleMaps/Bing/ and Yahoo maps.
Can someone point to correct api's for these.This is my first implementation of maps,so need some inputs.Appreciate if someone can point me to right direction.