Hey.
I have a large amount of log data that I need to get some relevant information out of.
The syntax is:
WORD1 some text KEYWORD some text WORD2 WORD1 some text KEYWORD some text WORD2 WORD1 some text KEYWORD some text WORD2 WORD1 some text KEYWORD some text WORD2
Would it be possible to use regex to get a certain block out of it - so that when I queried some keyword it would return WORD1 some text THIS_KEYWORD some text WORD2
PS: There could be multiple instances of one keyword, it should return all of the blocks (preg_match_all, PREG_SET_ORDER?).
Hey Guys,
i have a project table which has a image_id field and a newsimage_id field.
Both are linked to the image table. But InnoDB doesn't allow me to set a foreign key for
both fields to the same column (id).
Is there a way I can do this or is it not possible?
I'm using MySQL through MAMP.
Thanks in advance!!
hey folks
i am coding opera recovery tool in my delphi
i am using c++ which is already exist
http://pastebin.com/ViPf0yn6
but i didnt get whats DES_KEY_SZ in that code .
i think they are present in des.h ,but i couldnt found same des.pas :(
can any one help me please
regards
Hey all,
Does anybody know how to implement an HTTP PROXY with oauth for rails?
I'm using the oauth gem but am behind a proxy server.
Finding it very difficult to work this out.
Very frustrating!
Thanks for any help,
John
Hey All,
i am very new to iphone Development and i am asked to use nsxml parser to parse xml from a google api. i have parsed another url which has xml but i am not able to parse google's because it is using id's to store data rather than inside tag. i.e.
Can somebody help me that how can i parse the attribute inside the tag.
Thanks & Regards
Hey,
I wanted to know if we can access the HttpContext class in the App_Code folder. I am asking so because i have a CommonMethods.cs class inside my App_Code folder.
I have written a method that checks if a cookie exists on the client machine or not, but it does not return the cookie.
Although when i write the same code on the ASPX.cs page i get the cookie!!
can anybody clarify me as in whats going on??
thanks
Hey,
I've got a repeater which is placed inside an updatepanel. When the user enters a new value, the repeater is updated without a postback. Is it possible to get the row that was updated in JQuery so that I can place an effect on it to make the change less subtle? For example, I'd like to fade a new color in on just the row that was changed.
Thanks
Hey Everyone!
I just want to get valuable suggestions from your side that which language should I go for. I have learned C, C++ and Java upto GRADUATION level. Now i want to be professional in any language. Which one should I go for. is it okay to start with VB or any suggestions from your side.
Thank you !
hey, i have this path name from an input element interesse[angebote][flurfuerderfahrzeuge] as a string in my php var. now i need convert it somehow (with regex or explode()) so it looks like this: $_POST['interesse']['angebote']['flurfuerderfahrzeuge'] and the use eval() to get the value. But I'm sure there must be a much easier way do this.
Any ideas? Thanks!
Hey Guys, I am trying to find the way to use same view-state but with different views so that based on where it is being called, I can provide different view to the user.
For instance, trying to achieve as follows:
Please share your experience so that I can achieve this functionality easily.
Hey all, just wondering how I can add 30 seconds on to this?
$time = date("m/d/Y h:i:s a", time());
Thankyou, again.
I wasn't sure how to do it because it is showing lots of different units of time, when I only want to add 30 seconds.
hey there,
in my google analytics account there is a page tracked usually opened as a javascript window.open() pop-up (same domain as referring page).
unfortunately, g.a. categorizes the pop-up page as entrance, although it is just a step in the whole navigation flow.
how can i avoid this?
thanks for your help!
Hey guys,
I'm looking for a simple solution to place a draggable element inside of a box container. When the user begins to interact with the draggable, the draggable element should remain constrained to a circular shape, within the container.
At a complete loss as to how I should accomplish this.
Thank you! :-)
Additional:
Box container would be 100 pixels wide and tall
Draggable would be 20 pixels wide and tall
http://tool-man.org/examples/dragging.html This is on the TODO list, but of course this site is no longer maintained
Hey,
I have this asp.net code in my page :
<div id="prx">ABC</div>
And I want to change the value "ABC" to something when for example the user type a value in TextBox.
How can I do that using Ajax ?
Thanks
Hey, So, I've seen web developers writing in their CV that they create "SEO friendly sites.
". Also I heard that Wordpress is SEO friendly site and other CMSs.
So, what does SEO friendly site mean? I understand, that titles and URLs are probably the most important things for making good positions in google, but is there any other things which I should know?
Thanks
Hey there.
I'm currently working on a file uploading sript in PHP, but i'm kind of stuck. Users are allowed to upload files such as PHP and JS, but i don't want the scripts to run when a user is trying to download them. Is it possible to block that somehow using htaccess or something?
Thanks in advance.
Hey guys, i've this theme of the week script, easy, just post like normally, save in database and echo it in a column.
But since its theme of the week, i would like it to automatically renew the value to say "none" or "not set" after a week. I know cron jobs could do this but is there another way? [Running in PHP]
Hey,
I'm looking for a way to use something similar to link_to_unless_current but for sub URLs, so for instance for both these URLs:
/entity_name/
/entity_name/123
it will not result as a link. How can I achieve that in Rails?
Hey,
I have two textbox called BIRTH & EMAIL, and I must test in button click if the user has typed a date & email format in those two TextBox.
How can do that ?
Hey I'm wondering when accessing Zend_Registry in an application if you need to include getInstance() and if so, why?
for example
Zend_Registry::getInstance()-get('db');
vs.
Zend_Registry::get('db');
they both seem to work with the later being less verbose.
I vaguely understand that Zend_Registry is a singleton, which I think means there can only be one instance of it? so why would you need getInstance()?
Hey all,
im building a webshop in Drupal and i was wondering if you could help me with the following problem:
I got one big image frame (500x500) and 5 little image thumbnails(95x95) underneath the big one.
How can i realise that if the visitor clicks on the thumbnail, the big image frame gets filled with that specific image?
hey guys,
someone already helped me solving the following problem: i wanted to iterate with my up and down arrows through list-items. http://jsfiddle.net/zBjrS/1/
in this example i only had one UL and wanted to navigate through its list-items.
meannwhile i have multiple ul's underneath each other and want to navigate seemlessly through all of them as if there were only one UL. http://jsfiddle.net/zBjrS/2/
any idea how i could do that?
thank you
hey guys
i have a column in the database(postgresql)
i want to insert the current time in GMT in this column
when getting the current time and inserting it into the DB
it's inserted in the server timezone GMT-5 although that time was in GMT+0
any ideas how to insert this time in the database in GMT timezone ?
Hey,
In my asp.net application I create pdf file and save it in App_Data folder on server. Next I want to open this file that user can print it.
How to open this file in browser ? Send it in http header etc ? Someone have some examples?
Please help ;)