R= repeats allowed -> 2
A= alphabet (1-10)
S= space = 4;
So we want example:
[1][1][4][5]
[1][7][4][5]
[5][1][4][5]
But need a fancy math formula to calculate this and all combinations ?
What is the simplest way to convert HEX value to ebcdic char type in Java
e.g. The example below will return at sign but I would like to get ebcidic equivalent i.e. space char..
String hex = "40";
char c = (char) Integer.parseInt(hex, 16);
How can I write a regex to match strings following these rules?
1 letter followed by 4 letters or numbers, then
5 letters or numbers, then
3 letters or numbers followed by a number and one of the following signs: ! & @ ?
I need to allow input as a 15-character string or as 3 groups of 5 chars separated by one space.
I'm implementing this in JavaScript.
I have a bunch of files containing x and y coordinates, representing time and value (space-separated, but can be amended)
For example:
15:06:59 0.0140
.......
I want to create a word file (or some equivalent) to show all these graphs.
Right now I am using Excel. It pretty daunting task, as I ahve to plug paste numbers in two rows for each graph, and I have many of them.
Thanks
I'm developing a web app for the iPad, to run in Safari. I don't yet have an iPad to test on. Does anyone know the usable screen size - after any space for the safari/ipad controls is takes up?
People have been telling me to use spaces for indents, rather than tabs.
But is it just me or is it a pain to hit the space bar 4, 8, times every few lines?
Is there something I'm missing?
Thanks.
I want to have a nice little icon that, when clicked will clear the text in the <INPUT> box.
This is to save space rather than having a clear link outside of the input box.
My CSS skills are weak... Here is a screenshot of how the iPhone looks.
Is there any python module to convert PDF files into text? I tried one piece of code found in Activestate which uses pypdf but the text generated had no space between and was of no use.
i have the following url in a html page-
/delete/Release 1
But when i am trying to print it it comes in following manner-
/delete/Release%201
Can anyone suggest how to convert this hex value of %20 into a white space in PHP.
Hey guys, after using graphical IDE's like Visual Studio, I'm used to pressing CTRL+Space to auto-complete a variable or function name. Now, I know such a thing isn't completely possible in VI, but I heard there was a list of commands that could be mapped that allowed automatic completion of variables and functions in the current file opened. Does anyone know what this sequence is?
Thanks in advance.
Is it possible to compute the number of different elements in an array in linear time and constant space? Let us say it's an array of long integers, and you can not allocate an array of length sizeof(long).
P.S. Not homework, just curious. I've got a book that sort of implies that it is possible.
How can I use PHP to strip out all characters that are NOT alpha, numeric, space, or puncutation?
I've tried the following, but it strip punctuation.
preg_replace("/[^a-zA-Z0-9\s]/", "", $str);
I'm trying to figure out the regular expression that will match any character that is not a letter or a number. So characters such as (,,@,£,() etc ...
Once found I want to replace it with a blank space.
Any advice.
I am trying to reduce the memory footprint of my application. JVisualVM heap dumps report that the objects taking up the most space are:
char[]
byte[]
int[]
Which isn't particularly helpful. How can I track these objects back to the parent classes that are holding them?
Thanks
I get a string from a db, then I remove all the HTML tags, carriage returns and newlines, before I put it in a csv. Only thing is I cant remove the excess white space from between the strings, any ideas?
Thanks,
Joe
My flex builder suddenly stopped highlighting compile time errors.
Its also not giving any code completion suggestion, even after pressing ctrl+Space.
What could be the possible reasons?
Regards,
PK
I am cleaning up my machine and found cannot uninstall MSDN Library - January 2002 due to an error. It takes 1.3G disk space. I want to remove it. any idea where it is and how to manually remove it? or any free tool can do the trick for me? I am plan to install Visual Studio 2008 professional. I am using Windows XP.
thanks,
I need to develop a geometry library in python, describing points, lines and planes in 3d space, and various geometry operations. Related to my previous question.
The main issue in the design is if these entities should have identity or not. I was wondering if there's a similar library out there (developed in another language) to take inspiration from, what is the chosen design, and in particular the reason for one choice vs. the other.
Hello,
I'm working on a project and need a simple free java HTML wysiwyg editor can anyone point me in the right direction?.
It only has a small space to fit into, so something fairly simple would be best.
Thanks for the help!
I am new to Silverlight. How would I go about creating a control for users to tag content.
I would like it to work like it does it StackOverflow i.e. Autocomplete and when you press space it inserts the tag in a box with a remove button. I want the control to be bindable to a collection of strings.
If someone can just point me in the right direction to get me started I would be very grateful.
I am using Lightbox Plus for wordpress. My captions are spilling over and overlapping the picture when the image is in lightbox mode. The captions are covering the image and the close link, as well as being off-center. Here is my URL: http://dev.andreamarymarshall.com/archives/2012-2/
How do I make the space allowed for the captions bigger? So that in fits at least two lines of text without overlapping anything?
Thanks!!
hey i was wondering how i could make a copy of a sqlite3 table and save it to a seperate file in python. im confused as in python your sqlite3 object can only be connected to one database so how would i make it save to a seperate database?
the reason i want to do this is in sqlite3 the database file size can never get smaller, and ive made alot of changes so i want just copy this table to another file which wont have all the extra empty space and then delete the origonal database
thanks guys
The ff. does not work. "Second line" is rendered on the same line as "First line". What's more is that there is no space between the two.
new BooleanFieldEditor("Name", "First line\nSecond line", getFieldEditorParent());
i want to get "the-game" using regex from urls like
http ://www.somesite.com.domain.webdev.domain.com/en/the-game/another-one/another-one/another-one/
http ://www.somesite.com.domain.webdev.domain.com/en/the-game/another-one/another-one/
http ://www.somesite.com.domain.webdev.domain.com/en/the-game/another-one/
Just created space after http, as its not allowing me to post more links
I need to determind when a file has been uploaded via an ftp account so i can parse the data and insert into a db.
I could do this 2 different ways, either set up a schedule or watch the directory for any change. Either option would be fine.
I'm new to the apache /php space so any keywords that i can search upon would be handy.
Thanks.