Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
About Me

I work at a company called athenahealth and am currently developing a web-based "clinicals application" for doctors to use in their practices.

Favorite Tags
Member Avatar for davidianstyle

Can someone please tell me what's wrong with this? [code]my $time = "12/Jan/2008:13:38"; my ($day, $month, $year, $hour, $minute) = $time =~ /(\d+)\/(\w)\/(\d+)\:(\d+)\:(\d+)/;[/code] I've tried a hundred different things including not escaping the colons, putting parenthesis around ($time...[regex]), splitting up the assignments to $day = $1, $month = $2, etc... …

Member Avatar for jephthah
0
70
Member Avatar for davidianstyle

Hi Everyone, I'm fairly new to DaniWeb and I was hoping I could get some advice from all you experts out there. I registered my own domain name and got a host a few days ago and am planning on building a personal website based on Ruby on Rails (I'm …

Member Avatar for jenishkottaram
0
156
Member Avatar for davidianstyle

Anyone know why IE7 truncates text in tooltips or better yet, how to stop it from doing so? Looks like there's a 507 (non-spacing/non-newline) character max. Works fine in IE6.

0
81
Member Avatar for davidianstyle

I'm working with perl and javascript and I was wondering if anyone knew of a way to get syntax highlight for two or more programming languages at once in Emacs. For example: [CODE]# This is perl's comment my $variable; // This is javascript's comment var variable;[/CODE] I'd like the perl …

0
77
Member Avatar for davidianstyle

I'm trying to keep all my dates and times to a standard GMT (UTC) time when I store it into the database. When I pull the data however, I want to be able to do the timezone adjustment within the query. I've tried something like this with no luck: [CODE] …

Member Avatar for trudge
0
48
Member Avatar for davidianstyle

My hosting server is located in Texas and when I use the localtime() function, I get Texas local time rather than Massachusetts local time (where I currently reside). I want to standardize all my time information so that when I store it into the MySQL database, I store GMT rather …

Member Avatar for davidianstyle
0
127
Member Avatar for davidianstyle

I just got ASP support enabled with my host and I'm trying to write my first active server page with a simple 'Hello World' test: [CODE]<!-- Test.asp --> <html> <body> <% puts "Hello World!" %> </body> </html>[/CODE] but instead of getting this output in the browser: [QUOTE]Hello World![/QUOTE] I get …

Member Avatar for SheSaidImaPregy
0
95
Member Avatar for davidianstyle

If I want to create a dynamic page where most of the work is handled by the server, is ASP the way to go? I'm guessing my host will have to support ASP in order to do this...

Member Avatar for hopalongcassidy
0
109
Member Avatar for davidianstyle

I'm trying to write a script that removes temporary files (ie. files with a tilde at the end: temp.txt~) [CODE]#!/usr/bin/ruby system("rm *~") if File::exists?( "*~" );[/CODE] but that literally looks for files named [B]*~[/B]. I tried something like this: [CODE]#!/usr/bin/ruby if File::exists?( /\w*~/ ) puts "Temp exists\n"; else puts "Temp …

Member Avatar for Jessehk
0
90
Member Avatar for davidianstyle

I'm a CSS noob and I'm trying to find the best way to get started on learning common practices of creating stylesheets. Is there any good tutorials/examples online besides w3schools to get me going in the right direction? Thanks!

Member Avatar for davidianstyle
0
70
Member Avatar for davidianstyle

I have a homework assignment that I have been trying to figure out for over 12 hours now...The program I am trying to write is too complicated to post, so I created a simpler program which lets a user enter two integers and an operation to perform. If someone can …

Member Avatar for indianscorpion2
0
237