How do I remove the last two chars from each line in a text file using just Linux commands?
Also my file seems to have weird ^A delimiters in it. What char does ^A correspond to?
Hey,
anyone knows a jQuery plug-in for text zoom a-la MAC OS X "Large Type" function in Address Book? I'd use it for the same situation - to show full-screen phone number after clicking on it.
Cheers
I have multiple textboxes which im using for search query ,i want to validate them in such a way that if any one text box has value user can submit.
Can anyone suggest me ,how to do it .
Thanks
I'm looking for a way to implement a surface where the user can add pictures and text in resizable boxes (with resize handles) - like in PowerPoint. Does anyone know a ready-made control (preferably free) that can do that?
This is what I mean:
Thanks
May I know how to add a new custom text field in TFS to show the lastest revision number?
Can anyone explain in deatil about
Making use of work item’s XML and customize TFS work items.
How to create custom window form control to add to work item.And installation of
custom control runtime
Dear all,
I have a text file .let name is abc.txt .The file have info like this
jani
stay in USA
karim
stay in France
fara
stay in UK
Now i need to collect the information.the name is as nameString and the address is addressString.I have to put those information on anywhere else.So, i need all the name and address in a for loop.
Can anybody pls help me to collect this info.
Thanks in advance
Riad
I'm looking for a way to programatically select all the content inside a TinyMCE editor instance.
The reason I need this is that I'd like it if all the text inside the editor was selected, as soon as someone clicks on it (I'm using TinyMCE in conjunction with JEditable, by the way).
Thanks,
Edan
This is Part 2 of this question and thanks very much for David's answer. What if I need to extract dates which are bounded by two keywords?
Example:
text = "One 09 Jun 2011 Two 10 Dec 2012 Three 15 Jan 2015 End"
Case 1 bounding keyboards: "One" and "Three"
Result expected: ['09 Jun 2011', '10 Dec 2012']
Case 2 bounding keyboards: "Two" and "End"
Result expected: ['10 Dec 2012', '15 Jan 2015']
Thanks!
I have a login form that has Username and password as inputs from user and I want to validate these login credentials from a text file. How can I do it? I know how to write data and read data..but how to read only specific data.or check whether username password combination exists or not.
Thanks a lot.
Ani
I have a radio button list and some of the labels are quite long so they wrap and the second line appears underneath the radio button. Ideally I would like the text to wrap with the second line starting beneath the first character of the first line.
Any ideas on how? or would I have to make my own list based control for this?
Hi
I have a problem with text with apostrophe symbol
example i try to test this xml having the symbol is then how can i compare ?
<xsl:for each select="country[nation='India's]">
this is statement showing error
Regards
Nanda.A
Hello,
I had my site designed through an designer, I have this image from it, I want to use same kind of image for other navigation menus which I want to add now, my designer is not supplying me with psd`s of it.
How can I know what text effects and fonts I should use in photoshop to achieve the same kind of result?
Thank You.
My database has a datetime field, and I want to be able to create new entries. Obviously the Rails datetime_select helper isn't the most user friendly thing to have in your form.
I'd rather have a text field for the datetime (or one for the date, and one for the time) and interpret the inputs like PHP strtotime can.
I might just be searching the wrong keywords. Surely this has been discussed in great depth somewhere.
Thanks
:0)
The user should input two strings and the script will performe a text search:
$sql = "SELECT * FROM table_one WHERE name='%$str1%' AND MATCH (street, city, pin) AGAINST ('$hrtg'IN BOOLEAN MODE)";
somehow the % does not work, but it alwas did actually. please help?
In Firefox 'A' shows in the middle, on Chrome/IE it doesn't:
<button type="button" style="width:24px; text-align:center; vertical-align:middle">A</button>
Note the following has the same results:
<button type="button" style="width:24px;">A</button>
Hello,
I am creating a ebook iPhone application and it consists of a bunch of pages.
My problem is some of the pages consists of images.
Is there a way to put the text and image in the same component.
What would be the best way to acheive this?
Thanks
i have some comboboxes and some textboxes on a form
i would like to clear all of them with one line of code. is that possible?
something like all_controls.text=""
I would like to know if it was possible using Javascript to find an image tag by its alt text. For instance I have this tag: <img src="Myimage.jpg" alt="Myimage"> would there be a vay to abtain the tag by looking for the "Myimage" alt attribute?
hello folks,
i am looking to develop a new plugin for tinyMCE rich text Editor in umbraco.. i refered this link..
click here .. but the plugin is not showing up in richtext editor as expected..Am i missing any other settings?
hi
i want to make use of Com intefaces into my .net application,
but this is related to Text Services Framework and i reasearched on this and it was like it only supports COM servers
can anyone help me on this
can i use TSF intefaces into my .net application
and if yes Please tell me how to do it
plzzzzzz :)
thanks
Hello!
I want to write video filter for Adobe Premiere, and I need to print/draw/render some text into the output video frame.
Looking into adobe premiere cs4 sdk I couldn't find a quick answer - is it possible?
Thanks!
How can I find as many date patterns as possible from a text file by python? The date pattern is defined as:
dd mmm yyyy
^ ^
| |
+---+--- spaces
where:
dd is a two digit number
mmm is three-character English month name (e.g. Jan, Mar, Dec)
yyyy is four digit year
there are two spaces as separators
Thanks!