Hello,
I have dates in an excel field of these formats, 01-jan-10, 02/02/05. I formated the cells to 03-mar-2010.
I did a find such as 03-mar-2010 does not turn up any result. Any reason to why.
Thanks
Jean
Hi guys,
Suppose I have a string like this
SOMETHING [1000137c] SOMETHING = John Rogers III [SOMETHING] SOMETHING ELSE
and I need to turn it into this
SOMETHING [1000137c] SOMETHING = John_Rogers_III [SOMETHING] SOMETHING ELSE
Therefor I need to replace spaces between words after "[1000137c] SOMETHING = " and before " [". How can I do that in php?
Thanks!
How can I get "git add -i" to start up in patch mode directly without having to type "5" + Enter?
I know about "git add -p", but it's not the same as it doesn't show me a list of files to select from first.
This is very annoying because I'd like to jump between "git add -i" and "git commit" very quickly to turn my dirty tree into some nice looking commits.
I have a Java Swing project for my class. I would like put it on my website so people can use it. However I'm not sure if there is a way to turn it into a servlet. Or do I need to know JavaScript? I'm confused. Is there a way to make my swing application into a servlet automatically?
basically i have this click function in jquery: (this is just a snippet, not full)
$('.block').click(function(){
var id= $(this).attr('id');
i want to chnage the background color of the block that has been clicked only, assigned with the id i.e.
$('.block').click(function(){
var id= $(this).attr('id');
$('.block').css('background-color','grey');
but where do i assign the id, so jquery knows, to only turn the clicked block into grey, not the others, cheers
I want to have draggable markers (already done), but I need to be able to turn off draggability in certain conditions.
Marker is created like this;
var Marker = new GMarker(center,{draggable:true});
...which works fine. But I can't figure out how to make it undraggable.
I am trying to figure out how to create an 'if' statement that uses a time value as a condition. For example:
if (time <= 10:00) {
score = 3;
} else if (time <= 20:00) {
score = 5;
} else {
score = 9;
}
I know that a string of "5:23" cannot be compared this way but I don't think I can just turna string value like that directly into an integer. Any thoughts?
I recently configured my app to use the new AppStats feature of GAE. However, while debugging it, the extremely verbose logging from AppStats is annoying & I'd like to disable it while I'm debugging and then turn it back on later. Surely there is a single line I can add to or modify in a config file that will let me do this.
Hi, I'm trying to output lists of objects as json and would like to know if there's a way to make objects usable to json_encode? The code I've got looks something like
$related = $user->getRelatedUsers();
echo json_encode($related);
Right now, I'm just iterating through the array of users and individually exporting them into arrays for json_encode to turn into usable json for me. I've already tried making the objects iterable, but json_encode just seems to skip them anyway.
I made a css menu with css sprites but the problem is with sprite we don't use inline image we use in background only so if images are disabled in browser then nothing will show . any solution for this ?
For example :
See this menu and turn off images : http://line25.com/wp-content/uploads/2009/css-menu/demo/demo.html
Hi All,
I have a column in excel, wherein I have all the website url values. My question is I want to turn the url values to active links. There are about 200 entries in that column with different urls in all cells. Is there a way I can create active hyperlinks to all the cells without writing a macro.
hey Guys,
I need to run a string of html through a regex function that checks to see if the attributes are closed in quotes, and if they aren't then close them.
for example i want
<img src=http://www.domain.com/image.gif border=0>
to turn into
<img src='http://www.domain.com/image.gif' border='0'>
Can anyone help me?
I have created a C++ CLI wrapper for native C++ code, which in turn I reference in my C# application. Is it possible to somehow protect this assembly so that it may only be used in my application without the possibility of someone else using it?
I'm a Microsoft technology developer, I'm all about selfishness :)
I've read in many threads that it is impossible to turn off garbage collection on Sun's JVM. However, for the purpose of our research project we need this feature. Can anybody recommend a JVM implementation which does not have garbage collection or which allows turning it off? Thank you.
I checked out the microsoft documents. it shows how to create a static library upon creation of the project. but not necessarily on how to convert a previously made project, into a static library. So my question is, where do I go to turn my previously made project, into a static lib. so I can include it in my other projects
Hello, I have a web application. On the client side I basically need to get the values of some fields and turn them into JSON and then send them to the server in an AJAX kind of way.(asynchronous)
How would you do that? I also am using jQuery
This may seem a strange question, but is it possible to disable javascript for the printed version of a webpage?
The reason being, it causes the printout's layout to all be on top of each other. But if I turn off javascript it works fine.
Any ideas?
Suppose I have some output from a command (such as ls -1):
a
b
c
d
e
...
I want to apply a command (say echo) to each one, in turn. E.g.
echo a
echo b
echo c
echo d
echo e
...
What's the easiest way to do that in bash?
As I remember there is a magic command line option in Java that turn on writing of operations that are currently executed to console. The output was looked like byte code. I do not mean -verbose, because it prints only class loading, while this option outputs information like memory allocation etc.
Hi,
I Want a php code to turna youtube/dailymotion/vimeo/metacafe... URL into an EMBEDABLE code so i can show it using echo , it is really hard to read the API of every website, so i'm wondering if there is a class or code to do this.
Note: if there isn't anyone, then maybe a jQuery facebox alternative who supports more than youtube.
Thanks
C files renamed to C++ are going to be compilable with C++ compilers after renaming?
So I have 25 C files and 1 C++ file I do not want to create Make files or anething like that. I want to turn all that C files into C++ so will simple renaming work or what shall I do?
I have a Java application that I run from a console which in turn exec's another Java process. I want to get a thread/heap dump of that child process. On Unix I could do a "kill -3 " but on Windows AFAIK the only way to get a thread dump is Ctrl-Break in the console. But that only gives me the dump of the parent process, not the child. Is there another way to get that heap dump?
I am new to Git. I have created a master repository in a linux server. The same server is going to be used by 5 groups of 3 users each. I want to create one local repository for each group. And the group members in turn should create one local repository for each of them, play with the contents and committ the modificatons to the group's local repository. How should i go about doing this?