Anyone know of a code editing platform that allows users to collaborate in a live environment? For example, google docs but for editing PHP code with others?
I need to be able to send text from the clipboard to an application I'm writing (in Objective-C) via AppleScript. Obviously I need to make my application scriptable (I'm currently reading the Apple Docs about this) but is this possible/easy-to-implement?
I have a spreadsheet (in Google Docs, but can be any spreadsheet) with a list of users (one per row), including a username (and other columns). Lets say there are 'n' rows.
I have another spreadsheet with less than 'n' rows. One column has a username, another column has some other piece of data (lets say car rego number). I want to move the car rego number to the corresponding user in the first spreadsheet.
How might I do this?
I want to query against a geospatial index in mongo-db (designed after this tutorial http://www.mongodb.org/display/DOCS/Geospatial+Indexing).
So when I execute this from the shell everything works fine:
db.sellingpoints.find(( { location : { $near: [48.190120, 16.270895], $maxDistance: 7 / 111.2 } } );
but the same query from my nodejs application (using mongoskin or mongoose), won't return any results until i set the distance-value to a very high number (5690)
db.collection('sellingpoints')
.find({ location: { $near: [lat,lng], $maxDistance: distance / 111.2} })
.limit(limit)
.toArray(callback);
Has someone any idea how to fix that?
I need to store authentication information and I rather not have the password in plain text:
<property name="user" value="theUser"/>
<property name="password" value="secret"/>
Has anyone figured out a way to encrypt property values in Nant?
I've looked in Nant and Nantcontrib docs but no mention of encryption. I am considering going the route of creating my own Nant Task.
Any suggestions?
Hi there. I am looking to create a means of building a DataSource object (and hence a Processor) that gets data from a stream instead of a file, RTP, and so on. I am writing a module for a much larger application that is meant to transparently transcode audio data. Going through the JMF docs only specify how to create a source from file however I need to be able to create a source from a stream within my application.
Any idea where I can start looking?
Sometimes someone on our team does a git push and breaks the build because his local build works but he has forgotten to commit all his local modifications and untracked files to git before he pushes.
I'd like to prevent this... I poured over the docs for an hour or so today and couldn't find anything built in.
Does anyone have any solutions?
I'm trying to create an extension using this docs:
http://code.google.com/chrome/extensions/content_scripts.html
I want a part of JS code to run when document is ready (loaded).
This is my manifest.json:
{
"name": "OwnExtension",
"version": "0.1",
"content_scripts": [
{
"matches": ["https://my.site.eu/*"],
"css": ["styles.css"],
"js": ["main.js"]
}
]
}
This is my main.js:
alert(10);
Am I doing sth wrong, that nothing happend when page https://my.site.eu/ loaded in browser?
Hi,
Was just wondering how do these sites (and many other softwares that generate flash movies from audio clips,images , docs) work ? how do they compile the media files(audio/image/vid) into a flv movie on the server ? Can the same be done using some open source tech.
Any info or hint or some direction where i'd get more info regarding this would be very helpful.
Thanks
For example, in the docs a KVC-style validation method is implemented like this:
-(BOOL)validateAge:(id *)ioValue error:(NSError **)outError
They used id* as the type for ioValue. Since that's not part of the method signature, I wonder if it would hurt to do something like:
-(BOOL)validateAge:(NSNumber *)ioValue error:(NSError **)outError
Is this still fine with KVC?
Is there an equivalent to IndexIgnore in .htaccess configuration for hiding specific directories (instead of just files)?
http://httpd.apache.org/docs/2.0/mod/mod_autoindex.html#indexignore
I need (simple) program which allows to choose what to use to transfer data - Infiniband or Ethernet and switch them in runtime. I searched through InfiniBand docs, google and google/codeseaarch and have found nothing. Please provide program or tips where can I find such information.
I got this error: ERROR: could not serialize access due to concurrent update
But I'm not using serializable transaction isolation. Is that possible without setting the default isolation level to serializable? The postgres docs only mention it for serializable transactions.
Not sure if many people are familiar with Scaffolding Extensions for Ruby, but I've looked through their docs, forums, and even the source code of the Heroku test site, and not found an answer.
I made a basic Sinatra app and followed right from the RDoc's instructions:
require 'scaffolding_extensions'
require 'sinatra/base'
class Thingy < Sinatra::Base
scaffold_all_models
end
gives
undefined method 'scaffold_all_models' for Thingy:Class (NoMethodError)
and I know Scaffolding Extensions is loadable because I can successfully set some config variables in its classes.
Hi,
I am trying to play around with integrating with some possible HTTP or XML/SOAP services in rails?
I am looking specifically at Postful access points and Postful's...but I'm not clear exactly how to do it without using net:http but the Nestly gem looks like a way I'd like go. I just need a step-by-step example because the current docs I'm not sure what to do.
Thanks!
I have a website where I want to allow the users to invite their friends, by getting their contacts in hotmail/msn.
Google has the google contacts API for these purposes, does MSN publish a similar javascript API?
Please note that I do not want to ask the user for their username/password like http://openinviter.com/ .
Also, if anyone can provide some tutorials / examples I would appreciate it, as Microsoft docs are usually hard to understand :)
Hi I'm new to Twilio and want to know how How to send an SMS from a GAE web app with Twilio using JAVA ? I've executed the example on their website as Java app and it works. https://www.twilio.com/docs/quickstart/java/sms/sending-via-rest
When I want to make the same in a Java Google App Engine app, it don't and it display a message ("The method GET is not supported")
Can someone share a step by step tutorial on how to make my Java GAE webb app to send SMSes please ?
Thanks
Hello everyone I was just going trough http://static.springsource.org/docs/Spring-MVC-step-by-step/part1.html spring tutorial, and I thought its old I'll think something better on my own. For starters how do I start spring project with maven, which archtype should I choose? I wanna create simple spring app, write class which I will deploy to jboss, spring will instansiate it at startup .. that is what have in mind for now .. for now I need to start it first
I have all my splash screens for iPad and the old iPhone, but the new iPhone will run at 960 x 640 resolution.
I can't seem to find the docs on how a launch image should be sized for this. Does anyone know where Apple documents this, what size the splash screen should be, and what it should be named in the bundle?
Documentation says (http://code.google.com/appengine/docs/java/urlfetch/overview.html#Request_Headers):
These headers are set to accurate values by App Engine, as appropriate
Does the value for X-Forwarded-For included some identity of the gae application?
hello, I create an Slider object:
val slider = new Slider{
min = 0
max = 30
labels = Map(0 -> new Label("Nula"),15-> new Label("Pul"),30-> new Label("Max"))
paintLabels = true
}
when I run this, an exception is thrown:
scala.swing.Label cannot be cast to java.awt.Component
but why?
When i browse the docs, the excpected type for labels is a Map[Int,Label].
I'm MySQL, I have a table full of docs. Each row represents a doc. I'd like to have a data column for "VIEWS" that automatically adds +1 every time the row is accessed and avoid needing to write a SQL UPDATE that hits the DB after the SELECT to get the doc in the web app.
Any smart clever ways to solve for this?
Thanks
I have been following the Android getting started docs and when I try to run the project I get:
!MESSAGE An internal error occurred during: "Launching HelloAndroid".
!STACK 0
java.lang.NullPointerException
at com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.launch(Unknown Source)
The application doesn't launch.
Reading about Django, I saw this: http://docs.djangoproject.com/en/1.1/ref/contrib/admin/#ref-contrib-admin - the fancy simple to use admin page that django can magically create for you.
Is there a plugin or gem offering similar functionality in Rails.
Are there any plans to make Rails do this for you in the future?