text

jquery ui is not scaling text properly!

I'm trying use jquery ui to scale a div that I'm dragging around to make it easier to see what's behind it, but any text inside it is scaling strangely. The text itself becomes smaller, but it seems to have a bunch of padding around it and is floating now. The text extends past the bottom of the div even though it should be contained pro...

is it possible to extract dynamic text from a swf (flash application) programatically ?

is it possible to extract dynamic loaded text from a swf (flash application) programatically ? ...

insert simple text into iframe ? not .htm file

hi, is it possible to insert simple text into iframe ? trying to do small texteditor with this tutorial http://www.devarticles.com/c/a/HTML/Building-a-WYSIWYG-HTML-Editor-Part-1/ and want to have some text in iframe, which i can then change.. but i don't want to get that text from some external html file. it is possible to insert te...

split a file into segments?

I have a file containing text data which are separated by semicolon ";". I want to separate the data , in other words split where ; occurs and write the data to an output file. Is there any way to do with bash script? ...

Remove line from big txtfile in Java

Hello, Does anybody know how to remove a line from a textfile. I'm looking for something else than u read and write line by line and skip the line you want te remove. For exemple: My File count 1346 lines and I want to remove line 520. Thanks, Martijn ...

Text localization in iPhone apps that use openGL ?

I'm writting an small game in iPhone, and I'm being asked to add in-game text will be localized in EFIGS+J+Chinese Simplified and provided to me later. Which tools and methods are avaiable in OpenGL ES for the iphone in order to render text ? ...

VBA to read hierarchical ini-like files/what are these files?

Hello, I am trying to find an efficient way to read through a report file generated by a machine where I work. I was reading this page about using the Windows API to read and write .ini files from VBA. I was hoping to use a similar approach on a different type of file, but I don't really know what this file is. It is a text report fil...

Reading a file in vb.net

how to read a text file character by character in VB.NET?? ...

Find diff between web pages

With C# .NET i would like to DL 2 webpages and find the DIFF between the webpage. Then i would like to program my app to allow me to label specific dif areas then parse for a series of urls. What diff lib may help me find each area? ...

How to convert a document back to string?

I need a java script function that converts the document object of the current loaded page back to it's source text. In firefox it's smth like that: var doc = document; var str = (new XMLSerializer()).serializeToString(doc); alert(str); But i need a cross browser solution. How would this be done? For example: <html> <body> <sc...

Resource interpreted as other but transferred with MIME type text/javascript?

I keep getting "Resource interpreted as other but transferred with MIME type text/javascript.", but everything seems to be working fine. This only seems to be happening in Safari 4 on my Mac. I was advised to add "meta http-equiv="content-script-type" content="text/javascript" to the header, although that did nothing. ...

How to save text in php as a pdf file?

I have textarea in my site(link shortening site) i want to user enter some kind of text and as a return i will give(shorten link) a pdf file which user can download.How can i do that with php do i need extra library or default php libraries are capable of doing that?(i am working on windows machine by the way)(site using php mysql apache...

Adobe Flex - any way to automatically change font size to fit in its container?

I have a component in Flex, and part of that component is a label. Is there a way to automatically adjust the font size to fit into its container? ...

Flash: How to change a text fields' textFormat on the fly/per action in AS3?

Hi :) my question today is how to change a textFormat on a textfield. I have a textFormat that has white text and one that has green text, on a button rollover I need to swap that textFormat on my textField to one that has green text. The textFields are getting their .text data from an Array to complicate things... Arrays, Text Forma...

Split ByteString on a ByteString (instead of a Word8 or Char)

I know I already have the Haskell Data.ByteString.Lazy function to split a CSV on a single character, such as: split :: Word8 -> ByteString -> [ByteString] But I want to split on a multi-character ByteString (like splitting on a String instead of a Char): split :: ByteString -> ByteString -> [ByteString] I have multi-character sepa...

Oracle Text URL indexing performance

I have an oracle table that has two columns - id and url. The URL is simply http://somemachinename/mypage.php?id= I then create an oracle text index using the URL datastore on the url column. If I then do: BEGIN ctx_ddl.sync_index(idx_name => 'MY_INDEX', memory => '50M', parallel...

How can I remove all non-word characters except the newline?

I have a file like this: my line - some words & text oh lóok i've got some characters I want to 'normalize' it and remove all the non-word characters. I want to end up with something like this: mylinesomewordstext ohlóokivegotsomecharacters I'm using Linux on the command line at the moment, and I'm hoping there's some one-liner I c...

How do I right-align my text in Python?

I have some data that I am displaying in 3 column format, of the form "key: value key: key: value key: value". Here's an example: p: 1 sl: 10 afy: 4 q: 12 lg: 10 kla: 3 r: 0 kl: 10 klw: 3 s: 67 vw: 9 jes: 3 t: 16 uw: 9 skw: 3 u: 47 ug: 9 mjl: 3 v: 37 mj: 8 lza: 3 w: 119 fv: 8 fxg: 3 x: 16 fl: 8 aew: 3...

Basic jQuery slideUp/slideDown help.

I was wondering if there was a function that I can add to this, that would show the data again, as in make it slide back down or something after a given set of time so you can go back and re-enter your data. It currently just slides up after submit, and then shows the text. $("#help").slideUp(function() { $("#help").before('<div class...

Stop IE8 from opening or downloading a text/plain MIME type

I'm dynamically generating a text file in PHP, so it has a .php extension but a text/plain MIME type. All browsers display the file as nicely preformatted text, except IE8. Googling tells me that they've added security where if the HTTP header content type doesn't match the expected content type (I think based on the extension and some...