For Example in shell script :
_CLASSPATH =.
for jar in lib/*.jar
do
_CLASSPATH=${_CLASSPATH}:${jar}
done
how to build dynamically a Java classpath in Perl ?
Hi all,
I need to make the datepicker show when I click on a link and then send the selected date to a different page through a post call.
T tried to use this code for the link call:
$(".click-on-link").click(function(){
$('#datepicker').datepicker({
changeMonth: true,
changeYear: true,
dateFormat: 'dd/mm/yy',
firstDay: 1
});
});
but it's not working. Any idea?
Thanks!
I am new to iphone development.I want to create slide show functionality for my app to display all the photos in my device.since UIImagePickerController is the only documented way to access the photo library on the device and it doesn't come with the slide show option,how can i build the slide show option for displaying photos with UIImagePickerController.Please help me out.Thanks.
Since I played around with OpenFire Server, I started to make up my mind to build an IM Client connecting to this Server. So, I quickly do some research on this by looking for any library based on JavaScript with Flash. Unfortunately, I cannot find any. Does anybody know where to get source? Thanks!
In Teamcity I'm kicking off an Ant Build. I want to add additional jars to the classpath, including ant-javamail.jar
How do I specify these in the settings control panel?
Hey, super newbie question. Consider the following WCF function:
[ServiceContract]
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
[ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall)]
public class Service1
{
private static NLog.Logger logger = NLog.LogManager.GetCurrentClassLogger();
[WebInvoke(UriTemplate = "",
Method = "POST",
ResponseFormat = WebMessageFormat.Json,
RequestFormat = WebMessageFormat.Json,
BodyStyle = WebMessageBodyStyle.Bare) ]
public SomeObject DoPost(string someText)
{
...
return someObject;
In fiddler what would my request headers and body look like?
Thanks for the help.
I am using VS2008 with TFS 2008 and I have a web application project which gets auto check out on build.How can this be avoided? I dont want to change my Source Control changes which are auto check out on edit. When I check in the file it says file are idential, no changes...Any pointers
hi guys,
I'm working on an application using Android SO and Java. I would like to send an xml file as POST to a php server, that inserts the information from the xml into a database.
how can i do that?
regards :D
Hi! I need to post a status update of one of my facebook page when I create a model into my django project, but I don't know how to do it using the new facebook graph api:
http://github.com/facebook/python-sdk/blob/master/src/facebook.py
can you explain to me how to do it?
Thanks in advance :)
There is a build / version number automatically increasing with Publish for ClickOnce applications. This version number is different from the assembly version in the project properties (which in turn is automatically displayed in a generated WPF about box).
Is there a way to sync the ClickOnce version number and the project number in the assembly properties? Goal is to get an automatically increasing and identical version number for both places.
how can I use dotfuscator for my dlls in web application after build time so when I publish my website it will contain the encrepted dlls instead of the old ones?
Hi,
I have a problem with NSURLConnection in my ad-hoc build
I'd like to log the problematic url. In debug version i can just output it to console. The question is how do i track it in ad-hoc? It's not about crashing, so crash logs will not help. Any ideas?
TIA
Hi there,
i am doing a simple ajax call with FBJS.
The server returns a fbml string which i render in one of my DIVs.
The Problem:
FB doesnt render the prefix for attributes like style, onclick etc.
I have seen a function for some kind of post-rendering somewhere. But i cant remember
Thanks for helping.
My git setup was working beautifully, then stopped cooperating today. Right now, I can git-pull, git commit just fine from my local machine. When I git push, the push goes through, but the server files don't actually get updated.
Now I wonder, is my post-update file even getting called anymore? I've checked the permissions, and they are all group +x, and I'm a part of the group... any other suggestions?
I am trying to display a WordPress post on the homepage of a site. It is reporting the following error:
Parse error: syntax error, unexpected '=' in /home/####/####/####/####/wp-content/themes/oceanswaves/home.php on line 105
<?php query_posts(‘p=143'); if(have_posts()) : the_post(); ?>
<?php the_content(); ?>
<?php endif; ?>
Thank you
Hi,
Is it possible to loop over all the properties and replace all token which correspond to them?
For example, if I have three properties defined, a,b,c, I want to replace all three tokens @a@, @b@, @c@ . I however do not want to set up the filterchain manually as properties may be added/removed later on.
I can accomplish this using a custom nant task, but is ther a way to do this through a build file alone.
Thanks,
I am successfully posting a form via ajax, using the following code;
$.post( "Page.do?source=ajax",
$("#Form").serialize(),
function(data){
}
The data response that comes back can be alert'd. I can see that it is the HTML of the entire form, having been submitted. But, I am having trouble accessing an element in that form which has come via ajax, ie
data.find('.Errors').html()
or
$('.Errors', data).html()
Do I need to somehow convert the text into a DOM which can then be parsed by jQuery?
Hi, I'm looking for examples (code) of applications that uses Flash (NOT Flex) and Remoting classes for ActionScript 3 (NetConnection). Once there was ARP, a repository of code of this kind, but it seems there is not anymore. I'm trying to figure out how to build an applications that makes heavy use of calls to WebORB and responders. I need an architect point of view, NOT a sample of communication between parts, but a real world scenario.
Is is possible to get postsharp to remove references to the postsharp assemblies during a build?
I have an exe i needs to have a very small footprint. I want to use some of the compile time weaving of postsharp but dont want to have to deploy PostSharp.dll with the exe.
Hello.
I have a simple Silverlight program that displays a bunch of images. I modified it do display more images, but it when I hit "run without debugging" is keeps running the old build with fewer images. When I copy the code into a new project and run it, it works fine for the first time, but then each subsequent change is not displayed. What could be the problem? I'm using Visual Web Developer 2008 Express.
I'm experienced with php, javascript and a lot of other scripting languages, but I don't have a lot of experience with java or android.
I'm looking for a way to send POST data to a PHP script and display the result.
I want to provide 'install' target for Makefile for web application. I'd like to be able to install it, for example like described below:
$ make install \
xxxdir=/var/www/cgi-bin
(similarly to how one would use 'bindir' for ordinary programs, and 'mandir' / 'infodir' for documentation).
Is there any standard (similar to autotools 'bindir', 'sharedir', etc.) for the name of 'xxxdir' variable in above example?
How do you think should such build configuration variable be named?
How much time does MySQL need to build an index of a table with 30,000,000 entries that are strings of length 256?
At the moment it seems to take hours and I don't know how long I should wait till I conclude that MySql simply failed at building an index.