Is it possible to bring GCC into an infinite loop by inputting strange source code? And if yes, how? Maybe one could do something with Template Metaprogramming?
Given the number X, is it a fibonnaci number?
Any source code or mathematical formula would be ok.
Yes, it looks like this is a duplicate of (this question). How does stack overflow deal with duplicates?
I having a website developed in .net and need to get a HTML to PDF converter.
Are there any open source or alternatives to http://www.html-to-pdf.net as it is quiet expensive.
Hi,
Are there any open source algorithms in c# that solve the problem of creating a difference between two text files?
It would be super cool if it had some way of highlighting what exact areas where changed in the text document also.
I don't know much about the full GPL license other than that it's very restrictive to anyone wanting to use GPL anywhere near closed-source code. How does Apache 2.0 license compare with GPL and other license like LGPL, MIT, etc?
I am trying to pass some data from one page to another page by using jquery but it dose not working, below is the code which I want to click the text in source page and the destination page will hide the current text.
Source page:
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript">
$(function () {
$("a.pass").bind("click", function () {
var url = "Destination.html?name=" + encodeURIComponent($("a.pass").text());
window.location.href = url;
});
});
</script>
</head>
<body>
<a class="pass">a</a><br />
<a class="pass">b</a><br />
<a class="pass">c</a><br />
<a class="pass">d</a>
</body>
</html>
Destination page:
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript">
var queryString = new Array();
$(function () {
if (queryString.length == 0) {
if (window.location.search.split('?').length > 1) {
var params = window.location.search.split('?')[1].split('&');
for (var i = 0; i < params.length; i++) {
var key = params[i].split('=')[0];
var value = decodeURIComponent(params[i].split('=')[1]);
queryString[key] = value;
}
}
}
if (queryString["name"] != null) {
var data = queryString["name"]
$("p.+'data'").hide();
}
});
</script>
</head>
<body>
<p class="a">a</p>
<p class="b">b</p>
<p class="c">c</p>
<p class="d">d</p>
</body>
</html>
Please Help.
I'm working in a class library and there are other source projects associated with the same solution.
Is there a way for me to stop the VS refactoring tools from traversing those other projects, without removing them from the solution, but keeping everything the same?
Can you load a binary file onto an iPhone using xcode? We are an OEM that needs to QA test an application from a third party developer that owns the source code. They only provide us with the binary.
We use Visual Studio 2008, with visual source safe v8. Lately, I seem to be getting a lot more crashes than usual, mainly when viewing history (comparing, etc.).
I have taken a screencapture of the series of dialog boxes that will always appear, leading up to the crash:
http://img529.imageshack.us/img529/1360/msvscrash.jpg
Does anyone know what could be causing this? Thanks.
Before I go off and code this, I thought I'd see if anyone here knows of any open source (or paid for) equivalents already built.
I'm looking for a browser control where users can preview a web page and then highlight elements of it and once highlighted, I can get the div or id of the element selected.
Has anyone seen such a thing?
I'm looking for a postage scale that already has linux support (drivers, etc) for a shipping system that I'm working on. I'm planning to use Ubuntu 9.04, but I am willing to switch distro's for compatibility.
Does anybody know of any scales that currently work? Is there an open source project that's working on scale drivers or similar?
Thanks!
Is it possible? Run a cvs diff in terminal at the project root that outputs only modified files (like local files that aren't in source control and local modified files).
I'm running cvs diff --brief but I still have too many results since my project is large, and with a lot of subdirectories - it shows the whole hierarchy and I just want to know which files are different from HEAD revision. I'm using Linux.
Somehow I don't like IDE very much,
but I don't find a particular good tool to build java applications fromsource yet.
I welcome all kinds of feedbacks!
Does anyone know where or how to obtain a C++ example to create iPhone apps? What I am looking for is just using C++ (no objective-C or just the bare essential objective-C) and no interface builder, source only.
Can ayone help me locate such a beast?
this is gaema : http://code.google.com/p/gaema/
this demo : http://code.google.com/p/gaema/source/browse/#hg/demos/webapp
only has Google Accounts
i want demo for Facebook and Twitter
thanks
Hi all!!
I have a source code for a project with their make files. I want to create a Visual Studio (2005) solution from it. Is there any direct way to do this? can anyone help me please. I spent hours for searching, but couldn't find a way to do this.
Thanks.
most of my traffic is on video media pages, like this one
http://markem.iyobo.com/7AXzCJkehsS
however i have already implimented section targeting as you can see by viewing the page source. sections targeted are as follows
title
descp
tags
after waiting for some time, relevant ads still fail to show up. what seems to be the problem? and what can we do to make it better
helpful and friendly tips welcome
i have studied design patterns and want to use them to code an open source library (not an application).
but i have never coded a library before and don't know where should i include files, should i have a bootstrap file that loads everything or should every class load their own classes they are dependent on etc.
are there any tutorials for writing libraries in php from start to finnish?
thanks
Is it possible to read/edit iframe contents(not only properties like src) with scripts that are on page but outside of this frame? I know that is impossible if source is from other site as it would be a big serurity hole, but I only ask whether it works for other content from the same origin.
I am looking for a XML tool which does the following things.
Allows me to enter xpath expressions and highlights the nodes selected
Assists me in creating complex xpath expressions.
What are other people using out there?
I've used something fromsource forge but it only selects one matched node.
Hello All,
I'm exporting some data to PDF. The data contains one or more bitmaps.
Unfortunately I'm getting the following error during the export.
Sorry, Parameter is not valid.
Source: at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
at System.Drawing.Bitmap..ctor(Image original, Int32 width, Int32 height)
Type: System.ArgumentException
Any help will be highly appreciable.
Regards,
Maruthi Kumar
Hi there
In a given binding is it possible to specify the path on the source object? Seems like this could a void a lot of trivial converters..
Imagine this..:
class foo
{
bool A
int B
}
<ComboBox ItemsSource="ListOfFoos" SelectedItem="{Binding number, SourcePath=B}" />