When you first started to write program, what was the first programming language you learned?
Please don't post repeats. If someone already posted it, just vote for it.
What is the PowerShell script to get the speed a specific Windows machine's network card is running at?
I know this can be done with a WMI based and will post an answer once I work it out.
hi, i have 3 tables:
post (id_post, title)
tag (id_tag, name)
post_tag (id_post_tag, id_post, id_tag)
Lets suppose that id_post 3 has 4 linked tags 1,2,3,4 (soccer, basket, tennis and golf).
Is there a way to return something like this in ONE row?
col 1 id_post = 3
col 2 tags = soccer basket tennis golf
Thanks
I'm creating a formset, but it seems to populate it with all of the existing data in the table for that object. I can't figure out how to start with a blank formset; the only way seems to be to delete all of the data from the table, but clearly this isn't an option.
I will post code if necessary (but there's lots of it, so knowing what is relevant is tricky).
I'm using Phing to do post build tasks in Hudson.
I want to generate changelog containing all commits since last successful Hudson build. But looks like neither Hudson nor Git plugin for Hudson does not provide %last_build_time% variable.
This would be satisfying solution, (but how to get the time?):
git log --pretty="%s" --since="%last_build_time%"
The only way I see for now is extracting it from the job xml file, but I do not know if it is possible with Phing.
How do you generate your change logs?
Hello,
I get the warning "Format not a string literal and no format arguments" on the NSLog call in the following block:
(void) alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {
NSLog([NSString stringWithFormat:@"%d", buttonIndex]);
}
I have read in another post here that this error message indicates an insecure use of NSLog. Could someone point me in the direction of a properly formatted string for this?
Thanks for any and all assistance!
Regards,
Steve O'Sullivan
I want to create a proxy server. I googled it and even found some tutorial but those were in PHP.
If somebody is having tutorial of proxy server creation in java then please post it here Or simply let me know what approach should i follow to create a proxy server. [ i will be using Tomcat { if that matters for your answer } ]
Thanks
CodeIgniter claims do sanitize POST variables. I'm also using DataMapper which I believe also does it's own thing. I would like to double check to make sure it's doing what it's supposed to be doing. How can I do this?
I'm trying the following request to access the bucket by using curl, via the public API:
curl -X POST -H 'Content-Type: image/jpeg' -d @xxx.jpeg 'https://www.googleapis.com/upload/storage/v1/b/clips.eyecam.com/o?uploadType=media&name=x.jpeg&key=XXX'
With XXX being the generated key in the Public API.
However I'm getting an authorization failure:
{
"error": {
"errors": [
{
"domain": "global",
"reason": "required",
"message": "Login Required",
"locationType": "header",
"location": "Authorization"
}
],
"code": 401,
"message": "Login Required"
}
}
Seems the request is incorrect and does not pass the authorization key, any idea what would be the right form of the request?
Dear All,
I am a real newbie in programming and now I have to combine Google Maps and Dojo. Both alone are fine but when I try to implement a Google Map into a Dojo content pane which is embedded in a border-container it simply does not work. I think there is a problem with the naming of the divs but perhaps there is something else to take care of?
Could someone post the simplest possible solution?
many thanks
So I have some form processing code which processes the standard text inputs and also uploaded files (through the $_FILES array)
I want to have the submission done through AJAX
Will jQuery's post(). method still pass that stuff through - $_FILES or do I need to do something special?
I want to create web proxy . I googled it and even found some tutorial but those were in PHP.
If somebody is having tutorial of web proxy creation in java then please post it here Or simply let me know what approach should i follow to create web proxy. [ i will be using Tomcat { if that matters for your answer } ]
Thanks
Edit
i guess i was not clear in stating what i require. Actually i am trying to develop a site like 'http://proxyug.com/' .
Hello,
I have a jquery callback function. In that function I want it to change the value of a varible that is in a higher scope, for somereason it is not doing that. Here is the code.
Thanks
function add() {
var returnedData = {
my_id: 0
};
$.post("add_event.php", { event : toSendText }, function(data) {returnedData.my_id = 5;}, "json");
if(add_page == true){
alert(returnedData.my_id);
window.open('content-list.php?cal_id=');
}
}
I have a string encrypted in PHP that I would like to decrypt in C#. I used the tutorial below to do the encryption, but am having problems decrypting. Can anyone post an example on how to do this?
http://www.sanity-free.org/131/triple_des_between_php_and_csharp.html
Hi. I have an app that reads in a plist file from the resources folder. I have looked for about 5 hours for a solution to hosting my plist file on my freewebs acount and have the application update the plist file on launch. Can anyone help me please.
I will post my code if you ask. I am just not sure what you need to see now.
I am using asp.net page methods with jquery..... Here is my code,
$.ajax({
type: "POST",
url: "Default.aspx/GetRecords",
data: "{}",
contentType: "application/json; charset=utf-8",
dataType: "json",
and asp.net page method is,
[WebMethod]
public static string GetRecords(int currentPage,int pagesize)
{
// my logic here
}
How to pass values for currentPage and pagesize from jquery....
I think my title says it all. I have a modal dialog showing up and the user can make some changes and then click a 'Save' button. I need that to totally post back the whole page. What would you suggest? I just assumed the button would fire off regardless of the jQuery.
I am looking for good, objective ideas and examples of a resume for a Software Engineer. By all means, post a link to your own resume if you are comfortable with doing so.
Mostly I am looking at how it should be formatted and what kind of information should be included (and in what order on the resume.)
Is EE better than Plone?
Is there a way to allow guest bloggers to post content in EE?
Is anyone interested in attending the EE conference this year? There
is a discount if we sign up as a group. Please contact me directly if
you are interested bparanj at gmail.
Hello,
I'm using JQuery to consume a WCF Service. Actually this works fine:
var para = ' { "Parameter" : { "ID" : "5", "Name" : "Peter" } }'
$.ajax({
type: "POST",
contentType: "application/json",
data: para,
url: url
success: success
});
But I don't want to pass the data parameter as String and I think it should be possible to pass ist as array in any way. Like that:
var para = { "Parameter" : { "ID" : 5, "Name" : "Peter" } }
But when I try this I'm getting an error. What I'm doing wrong?
Thanks
I am testing out webhooks and I created a postbin test url and I am trying to create a webservice that would listen to the postbin url and be able to get the values out of the post, but I am not sure how to do this: My sample postbin url could be http://www.postbin.org/abcdef
I need to send post message to iframe.
currently its working if i have single iframe inside parent page.But I want to make it work for nested iframes.
Criterias are :
I can just add listener code in last leaf iframe.
Do not know length of iframe nesting.
Need both way communication , from parent to child also by leaf iframe to parent.
I am sick of third part iframes , please suggest me some appropriate solution.
Is there a way to set the next build number in Hudson from a script?
I have the nextBuildNumber plug-in installed, and attempted to use wget with --post-data, but that page appears to require login.
I have two steps of a chained build and I want to keep the build numbers in sync.
i want to develop an application on android phone regarding voice recorder.i have to record a sound for about 30 seconds and then stop and save the recorded sound in gallery.can anyone post the code if you have please?