Do we have a preg_callback equivalent in Perl ?
Lets say I want to match something and replace it with the return value of the function that is called with the matched thing.
I'm looking for an equivalent to GetTickCount() on Linux.
Presently I am using Python's time.time() which presumably calls through to gettimeofday(). My concern is that the time returned (the unix epoch), may change erratically if the clock is messed with, such as by NTP. A simple process or system wall time, that only increases positively at a constant rate would suffice.
Does any such time function in C or Python exist?
Hi,
I came around this technique of converting datatable to excel
http://www26.brinkster.com/mvark/dyna/downloadasexcel.html
Do we have any Equivalent of Response.AppendHeader in windows application in C#.
Regards
Hema
ASP.NET has a reorderlist control
http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/ReorderList/ReorderList.aspx
Is there anything equivalent (control, source code, ...) in Winform ?
For some compilers, there is a packing specifier for structs, for example ::
RealView ARM compiler has "__packed"
Gnu C Compiler has "__attribute__ ((__packed__))"
Visual C++ has no equivalent, it only has the "#pragma pack(1)"
I need something that I can put into the struct definition.
Any info/hack/suggestion ? TIA...
I am looking for a Java equivalent to .NET's Snippet Compiler. Is there any such utility out there? That or a really light weight Java IDE for Windows? Eclipse and NetBeans seem too heavy-weight to practice basic syntax.
In PostgreSQL there is the Limit and Offset keywords which will allow very easy pagination of result sets. What is the equivalent syntax for Sql Server?
Hi, I am wondering if there is a Javascript equivalent of php's parse_url. Currently, I wrote my a simple parser with regex; however, I would think that such function already exists in the in Javascript.
Does anybody out there know of a Gtk equivalent for a System.Windows.Forms BindingSource?
I'm trying to get a windows based project to work under a gtk environment and can't use the Windows.Forms dll for this. So does anybody know of a BindingSource replacement either in mono or a third party dll? (I've looked at the gtk-databindings project didn't seem to have what i need)
Is there an equivalent C function in linux for reading the CPU counter and its frequency?
I am looking for something similair to GetWPC and GetWPCFreq winapi functions that uses the 64bit counters in modern cpu's
What is the equivalent of YUI 3's Y.Array in jQuery?
Y.Array() takes array like inputs and converts them into array. More info at http://developer.yahoo.com/yui/3/api/yui-array.js.html
I've discovered PARSENAME function as a good choice to order IP address stored in Database. Here there is an example.
My issue is I'm using Hibernate with named queries in a xml mapping file and I am trying to avoid the use of
session.createSQLQuery(..)
function.
I'm wondering if exists any PARSENAME equivalent function for HQL queries. I'm searching for it and cannot find anything.
Many thanks.
Hi There,
I'm trying to create a glossary using the glossaries package in latex. Is there a way to force all defined terms to appear in the output glossary, even if they are unused in the text? I see this as the equivalent to \nocite for glossary entries.
Cheers,
Ken.
Hi,
What is Python's equivalent of "public static void main(String[] args) { ... }"? I remember having used it in the past and then forgot.
What I'm basically trying to remember is a function which I think included some underscores (__)...
thx
Is there any equivalent of the VS7/8/9/10 Edit - Advanced - Format Document (Ctrl+K,Ctrl+D) function in the Visual Basic 6 IDE?
I've inherited an old codebase and it is messy in places so I'd like to tidy it up.
Hello all,
Is there a java equivalent to python's bisect library? With python's bisect you can do array bisection with directions. For instance bisect.bisect_left does:
Locate the proper insertion point for item in list to maintain sorted order. The parameters lo and hi may be used to specify a subset of the list which should be considered; by default the entire list is used.
I'm just getting started in Visual Studio 2010 and I'm coming from Delphi 7.
In Visual Studio 2010, what is the equivalent to Delphi's Object TreeView?
Or to ask it another way, in Visual Studio 2010, during WinForm Gui development, how do you navigate your Gui hierarchically? If I have, say, a bunch of Panels with some of them inside of others and some Docked to Client, how can I directly select a specific Panel?
Is there any equivalent of the VS7/8/9/10 Edit - Advanced - Format Document (Ctrl+K,Ctrl+D) function in Visual Studio 6 (specifically VB6)?
I've inherited an old codebase and it is messy in places so I'd like to tidy it up.