I would like to detect the following sequences:
a
aA
aAa
aAaA
...
where a~[a-z] and A~[A-Z], the case alternates and the first letter is always lower-case.
Thanks,
Tom
Just to give you a fair idea, I am new to the web development / hosting world and planning to develop a Multilingual Social networking Web Applications in ASP.NET 4.0 , expected the content to deliver in many countries German, France, China, India and MiddleEast. My question is will Cloud Hosting provides a development environment? or should i buy…
$(document).ready(function() {
$('#chekboxes a').click(function(e) {
$('.visible').removeClass('visible').addClass('invisible');
var thediv = $(this).attr('href');
$(thediv).removeClass('invisible').addClass('visible');
})
});
This simple bit of jq works in FF and not in Chrome and Safari.
Despite googling…
Hello Experts,
could someone please explain to me, how in netty "Downstream Exceptions" are handeled? According to the javadoc there are no Downstream exceptions:
http://docs.jboss.org/netty/3.1/api/org/jboss/netty/channel/ExceptionEvent.html
Given the case that in one of my downstream handlers an exception occures OR in the I/0 Thread…
Hi,
Has anyone been able to implement Facebooks Graph API in a native iPhone Application?
The documentation is pretty sparse when it comes to iPhone integration, but the calls to get users information looks a lot more light weight than the previous method of using FBConnect. So i would like to use it.
I have seen a few posts about but…
Hey,
I'd like to have a link generated with BlueCloth that opens in a new window. All I could find was the ordinary [Google](http://www.google.com/) syntax but nothing with a new window.
Ideas?
Regards
Tom
I have a result set of data that I want to write to an array in php. Here is my sample data:
**Name** **Abbrev**
Mike M
Tom T
Jim J
Using that data, I want to create an array in php that is of the following:
1|Mike|M
2|Tom|T
3|Jim|j
I tried array_push($values, 'name', 'abbreviation') [pseudo code], which gave me the…
Hi I've got two tables:
Table: Shopping
shop_id shop_name shop_time
1 Brian 40
2 Brian 31
3 Tom 20
4 Brian 30
Table:bananas
banana_id banana_amount banana_person
1 1 Brian
2 1 Brian
I now want it to print:
Name: Tom | Time: 20 | Bananas: 0 Name: Brian | Time: 101 | Bananas: 2
I used this code:
…
rpmbuild generates RPM under which directory?
I checked the RPMS directory:-
[root@tom adil]# ls /usr/src/redhat/
BUILD RPMS SOURCES SPECS SRPMS
[root@tom adil]# ls /usr/src/redhat/RPMS/
athlon i386 i486 i586 i686 noarch
[root@tom adil]#
How to decide rpmbuild outputs in which of the above sub-directories?
Is it…
Currently, I have an HQL query that returns all Members who possess ANY Award from a set of specified Awards:
from Member m left join m.awards as a where a.name in ("Trophy","Ribbon");
What I now need is HQL that will return all Members who possess ALL Awards specified in the set of Awards.
So, assuming this data:
Joe…
I've found this excel add-in to buy that appears to do what I need, but I'd rather have code that's open to use as I wish. While a GUI is nice, it's not required.
In an attempt to make the question more clear, I'm adding some two sample "input" tables in tab delimited form, and the resulting output table:
…
Which coding style do you prefer:
object o = new object();
//string s1 = o ?? "Tom"; // Cannot implicitly convert type 'object' to 'string' CS0266
string s3 = Convert.ToString(o ?? "Tom");
string s2 = (o != null) ? o.ToString() : "Tom";
s2 or s3?
Is it possible to make it shorter? s1 does not obviously…
How can I create PHP to search the testing.txt file for each name in the database table and replace the name with the database table id?
So that the text file looks like this:
3 | 1 | 4 | 5
2 | 3 | 6
4 | 5 | 2
and so forth an so on...
I have a mysql table called "nameslist" that looks like this:
…
Yes, Im having a little edit profile page, index.php?mode=profile. Lets take the username in the editprofile form as example. The username is already in the username-field. So i changed from "Peter" to "Tom" and press save.
The action is ?mode=profile&edit=true. So now when i have pressed save…
Say I have a table like this:
Field1 Field2 Field3 Field4
fred tom fred harry
tomtom
dick harry
harry
and I want to determine what proportion of it has been completed for each field.
I can execute:
SELECT COUNT (Field1) WHERE (Field1 <> '') AS…
Hello,
I'm somewhat new to SQL queries, and I'm struggling with this particular problem.
Let's say I have query that returns the following 3 records (kept to one column for simplicity):
Tom
Jack
Tom
And I want to have those results grouped by the name and also include the fraction (ratio)…
Hi.
Using Centos 5.4, with Postfix. I can do a
mail foo@gmail.com
subject: blah
test
.
Cc:
and the msg gets sent to gmail, but it resides in the spam folder, which is to be expected.
My goal is to be able to generate email msgs, and to have them appear in the regular Inbox! As I…
Does anyone have any experience with the new Drobo FS, specifically using it from a MacBook Pro?
My experience thus far is this:
Set up the Drobo Dashboard software (hereinafter called simply 'Dashboard') on my WinXP machine, which is hard-wired to the network to do the data migration…
Hi all,
I have a strange problem that I can't seem to find the answer to anywhere online. The issue has to do with using Windows RDP to connect to our servers.
Here is what works:
-XP/Vista client (any SPs) connecting to 32-bit Server 2003 machine
-XP (SP2 and lower) client conecting…
Hi all,
I have a strange problem that I can't seem to find the answer to anywhere online. The issue has to do with using Windows RDP to connect to our servers.
Here is what works:
-XP/Vista client (any SPs) connecting to 32-bit Server 2003 machine
-XP (SP2 and lower) client conecting…
I've received a bunch of text data files consiting of Lots of records (30K/file) of 3 fields each of 5-place numbers in exponential format: s0.nnnnnEsee (where s is +/-, n is a digit and ee is the exponent (always 2 digit). When I open the file in Notepad, the format is perfectly…
Hi.
Exploring Vmware products/services and have a few questions.
As I understand VM, you can use VMWare Workstation to create a VM of a target machine/box/OS. Let's call this VM, "foo".
If I have 100 client PCs in my dept, and I want to install the VM (foo) on each client, and…
I'm trying to test UDP multicast throughput via iperf but it seems like it's not sending more than 10Mbit/s from my dev machine:
C:\> iperf -c 224.0.166.111 -u -T 1 -t 100 -i 1 -b 1000000000
------------------------------------------------------------
Client connecting to…
I have come across a bug in Visual Studio 2010 Database Projects (aka datadude aka DPro aka Visual Studio Database Development Tools aka Visual Studio Team Edition for Database Professionals aka Juneau aka SQL Server Data Tools) that other people may encounter so, for the…
Tom Janssens left a comment: What still bugs me is that we do not have a unified pattern for all .net dev (using modelbinders and icommand for example...) But, Tom we are pretty close. At least as close as we should be, I think. With .NET there are plenty of low…