Hello there.
How do you put google analytics code on a link, for example a link on your page to a download file. Is there a way to call the analytics function from a link?
Cheers.
What tools are good to use for code analysis in python?
I have a large source repository split across multiple projects, and I would like to be able to run tools across the directories to see details like Cyclomatic Complexity, and perhaps be able to spot errors using static analysis.
Ideally, I would like to be able to produce a report about the health of the source code, so we can spot problem areas that need to be addressed.
Hi All
For Example You know foreach loop is heavy And if we use for loop is Better.
What Tools Can Help me to Write Code With Best Performance In C Sharp net,And Check My Code for this?
Please Help me
In Internet Explorer 7, this code executes consistently in 47 ms:
function updateObjectValues() {
$('.objects').html(12345678); // ~500 DIVs
}
however, this code executes consistently in 157 ms:
function updateObjectValues() {
$('.objects').html('12345678'); // ~500 DIVs
}
Passing a number is over 3x faster than a string. Why are these results so dramatically different? And, is there any way to help the performance of the string?
Hi,
I am about to start developing an edge detection system (once I've read through a couple of books, which I'm doing so at good speed), but one thing I am wondering is the speed of an app like Matlabs (which can compile code to C++) vs AFORGE.NET for edge detecton.
Is unmanaged code generally faster?
Thanks
Hi folks
I'm attempting to get a timezone of a user based on area code information that they provided. I discovered the following resource on maxmind:
http://geolite.maxmind.com/download/geoip/api/php/timezone/
I suspect that I could use this with another api that provides the state that an area code belongs to. I'm looking for a simple REST API that provides this info - or a robust scraping routine that achieve the same results.
Thanks in advance!
Is it possible to read HTML Web 2.0 Source Code that is dynamically generated ?
The Perl LWP with its agent-response does not pick up any dynamically generated HTML code.
Many websites today are generating dynamic html. If I am shoppping for best prices, and the prices are dynamically fetched and dumped, then I am out of business.
Are we reaching the end of a era?
WPF code behind is not displayed in the Visual Studio project view, yet is compiled with the project and is available in IntelliSense. This code behind file (Window1.g.i.cs, for example), is generated by a custom tool.
I would like the files generated by my custom tool to be hidden as well, but I cannot find any documentation on how this is done. How can I do this?
Hi folks,
this might be quite simple, but I must say I'm a bit confused on this topic.
I'm writing code based on two popular libraries:
jQuery
underscore.js
I am just wondering what would be the best way to isolate the code and prevent conflicts and how to merge it with its dependencies.
By merging I mean putting them within the same file. :)
I hope I'm not asking something which is too basic.
...and a last thing
MERRY CHRISTMAS EVERYONE! =D
I know my way around Objective-C and I have experience with garbage collection from .NET, although I never used it in objective-c. I write my code without using it.
Now I'm thinkig about using one of the frameworks (Blocks) which is available as GC-only. My question is - can I still use the framework without any changes to my current non-GC code and without using GC myself?
Hi Friends,
Please take a Matt Gallagher's Audio Streaming code with call interruption from the following link,
http://www.smartsdktips.com/blog/2010/03/14/iphone-audio-streamer-working-code-with-call-interruption/
Thanks.
How would one go about proving to management that a batch reformat of all .java files in a large code base (to place the code in compliance with the company's coding standards) is safe and will not affect functionality.
The answers would have to appease the non-technical and the technical alike.
Hi,
I'm trying to download a file from the internet, but I get the error -3001 back. I've been searching through google but the error doesn't appear on any website, so i have no idea what it means.
Can anyone tell me what the error code "NSURLErrorDomain error -3001" means?
Thanks
Is there a way to force the MVC automatically generated code to follow the conventions you have set in your preferences? For example, I keep all curly braces on the same lines as their declaring class, method, etc, but when generating a controller, it completely disregards my settings. Is there a setting someplace to force the same code generation as other parts of project?
I have a webservice that I want to call from the browser every few seconds to see if there are any notification messages in the database that should be displayed on the screen. We have the JSON code working to display the messages in a JavaScript function after an Async Postback, but this only executes after a page turn. I want it to execute every 10-15 seconds as well. A code sample would be very helpful.
Can you please tell me how does this java code work? :
public class Main {
public static void main (String[] args) {
Strangemethod(5);
}
public static void Strangemethod(int len) {
while(len > 1){
System.out.println(len-1);
Strangemethod(len - 1);
}
}
}
I tried to debug it and follow the code step by step but I didn't understand it.
Hello every one I am trying to add color in c# code with color code
for eg ..
ListTreeView.Background = "#FFE7EFF2";
but this will give me error ;
so what can I do tell me ..
Thanks....
hello friends,
How to include any assembly code lines into my C program ?
In turbo c is there a possibility to add an assembly code file (.asm) to a project of few .c files?
I have something like the below code
I need to pass the variable selectedIndex to the jstl code.
How can i do this?
Please help
javascript function:-
function updateSP(selectedIndex)
{
}
I have just tried to upload Mac app to app store.
But Apple said just error.
Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on MAC OS X.
Specifically, key 'application-identifier' in '(My app name).app/Contents/MacOS/(My app name) is not supported.
My XCode is 4.2 and I didn't check Enable Entitlements.
Please help me!!!
I've been reading about MVC in which the authors suggest that testability is one of the major strengths of MVC. They go to compare it with ASP.NET WebForms and how difficult it is to test the code behind in WebForms.
I do understand it's difficult but can someone explain how unit tests were written to test code behind logic in the old days?
Hi
I have this API - which I managed to carryout some API steps solely from the CLI without using their GUI.
Now I need to execute these CLI commands (i.e. for carrying out these API steps) in Java.
When surfing, I couldn't find a helpful link for sample code on how to deal with this.
May I know how to execute CLI commands using Java code (say in a Java class)
Appreciate any insight, suggestions or guidance.
Many thanks in advance
I am trying to run code coverage in VS 2010 and I am running into the following error. No coverage information is generated.
Code coverage in-place instrumentation: Cannot fully backup the binary 'MyProject.dll'. Cannot find the back up file, created by instrumentation utility: 'MyProject.dll.orig'.
I want to be able to get the current CPU usage in a C++ program running under Wince.
I found this link that states where the source code is but I cannot find it in my platform builder installation - I expect this is because it isn't the Windows Automotive platform.
Does anyone know where I can find this source code or (even better) know how I can get this information directly? i.e. what DLL / function calls to make etc.