string inputText = "abc13500008888, *a1c13688886666abc mm13565685555**" ;
How to use C# Regular Expression to get the match number list?
The rule is that is a 11 continuous number and the first letter is 1.
The results should be:
13500008888
13688886666
13565685555
I have made a build system for my web application that's rewriting all resource url's to include the file's revision number (to improve client caching). As of today I'm running this command for each file to get the revision number:
hg log --template '{rev}\n' path-to-file
Executing hg for each file is really time consuming. Is there a fast way to list all files in a repository with the latest revision number?
Hi,
is there a possibility to get a list of all installed apps in my app? I don't need all information of the installed apps, but a title or an "id" would be great.
Thanks!
Hi,
I have a list of records that all need their individual TTLs modified. I can't seem to find a way with this odd syntax to do so, however. Any recommendations? Would I have to delete them all and then re-add after with the correct settings?
I can't seem to find a "modifyrecord" option unfortunately :(
Does anybody know of a good list of what is new in JPA 2? Not what is new with Hibernate/TopLink in the version that supports JPA 2 but what is new in the actual spec.
Hi,
There are many sites providing services similar to SO. For example http://careeroverflow.com/ and http://mathoverflow.net/. Is there some kind of list of ...overflow.com's?
So I am looking for a nice list of NHibernate events that actually describes when they are fired, in a typical scenario. IE something like
PreUpdateEventListener - Fires when an
object that is already persistent is
changing
I currently just rifle through the source and try to figure it out, but it's kinda painful, and I figure that someone must have done this already at some point.
I have a LAMP server running. External services connect to this server (services running on iPhone).
I want, from a php script, to get a list of all the services that have connected to the Apache server... How do I do it? Should I use fsockopen?
Any help would be greatly appreciated.
I am working with a list view. I want a column to have look similar to the document library column named "Type (icon linked to document)" column. I should also be able to set the path this hyperlinked icon should open. I tried a lot with existing site columns but could still not figure out how to do this. Has anyone implemented this earlier. Please share your expertise. Thanks in advance.
I have a form with 3 text values and one image..
I want to save these values such that i can display these records in the list below..
hoe can i do that...
I am using osCommerce
I am using the Microsoft Chart Controls for .NET 3.5 (C#) and have a chart in a winform.
My hope is to allow the user to change the color palette based on their preference.
How do I iterate through the color properties of the ChartColorPalette and add them to a combobox list?
I know it should be something like:
for each(something in ChartColorPalette)
{
combobox.items.add(something.ToString);
}
What key reasons for software developers can you list so they will decide to make its products as open source (I don't mean products just for fun but real products)?
Hi,
I have to load excel file into sql server i use window application so i select filepath in textbox when click button using fileopendialogbox my problem is that i want ot provide list of sheets of file in combo box.
so user can select appropriate sheet to upload. Because it may possible that there are many sheets in file and tool doesn’t know which one to upload.
I want the list of all functions executed to a certain point in code, somehow like debug_backtrace() but including functions not in the exact thread that leads to where debug_backtrace() is called. e.g :
a();
function a() {
b();
c();
d();
}
function b() { }
function c() { }
function d() { print all_trace(); }
would produce :
a(), b(), c(), d()
and not
a(), d()
like debug_backtrace() would
With jQuery I'm retrieving positions of a sortable list using 'serialize', like this:
var order = $('ul').sortable('serialize');
The variable 'order' then receives the following:
id[]=2&id[]=3&id[]=1&id[]=4&id[]=5
Now how can I use this data in an ajax call?
This is how I plan to do it, but it's ugly and I can't change the parameter name 'id':
$.post('ajax.php?'+order,{action:'updateOrder'});
Maybe I need to unserialize, then implode the variable 'order' and assign it to just one parameter?
Most mainstream IDEs use code-completion in the form of a linear list of suggestions (typically methods).
Are there any IDEs (mainstream or not) or IDE plugins that use a non-linear widget, such as a tree? (e.g., pick category first, then the actual recommendation)?
I'm working on an IDE feature and want to make sure I'm not reinventing the wheel or infringing some patent.
I have a function foo(i) that takes an integer and takes a significant amount of time to execute. Will there be a significant performance difference between any of the following ways of initializing 'a':
a = [foo(i) for i in xrange(100)]
,
a = map(foo, range(100))
, and
vfoo = numpy.vectorize(foo)
vfoo(range(100))
? (I don't care whether the output is a list or a numpy array).
Is there some other better way of doing this?
Thanks.
After choosing 'Range Type:' Table Range and 'Select Range:' Sheet1!Table1
I get the error pop-up 'Import to Windows SharePoint Services list' 'Cannot connect to the server at this time. Your table cannot be published.'
Is there somewhere in my computer I can look at for more information as to what I am doing wrong?
When stopped at a breakpoint on main(), i can manually add name of a global variables to watch windows, but what i want is how to show a list of all global variables, because i'm using an external library, which contains many static things.
Is it possible?
Thanks in advance!
.Net defines a "Trace Source" concept, allowing configuration files to specify which trace sources to listen for messages on. WCF provides several trace sources, and I would presume that other portions of the .Net Framework BCL publish other trace sources as well. What is the list of trace source names published to by the BCL?
I have several Flex applications in a project, and I would like to know if there's a way to get a list of the classes (and ideally, other assets) that are being compiled into each one. I want an easy way of making sure I've kept things separate and there aren't unnecessary dependencies. Any ideas? I'm running Flash Builder 4.