大约有 10,150 项符合查询结果(耗时:0.0239秒) [XML]
Determining type of an object in ruby
I'll use python as an example of what I'm looking for (you can think of it as pseudocode if you don't know Python):
5 Answe...
How do I expire a PHP session after 30 minutes?
I need to keep a session alive for 30 minutes and then destroy it.
15 Answers
15
...
Who architected / designed C++'s IOStreams, and would it still be considered well-designed by today'
First off, it may seem that I'm asking for subjective opinions, but that's not what I'm after. I'd love to hear some well-grounded arguments on this topic.
...
string sanitizer for filename
I'm looking for a php function that will sanitize a string and make it ready to use for a filename. Anyone know of a handy one?
...
Clicking the text to select corresponding radio button
I'm creating a quiz web application using PHP. Each question is comprised of a separate <label> and has 4 possible choices, using radio buttons to allow the user to select his/her answer. The current HTML for a single question looks like:
...
Adding up BigDecimals using Streams
I have a collection of BigDecimals (in this example, a LinkedList ) that I would like to add together. Is it possible to use streams for this?
...
Execute and get the output of a shell command in node.js
In a node.js, I'd like to find a way to obtain the output of a Unix terminal command. Is there any way to do this?
5 Answer...
Rails formatting date
I am posting a date to an API and the required format is as follows:
4 Answers
4
...
How to get a pixel's x,y coordinate color from an image?
Is there any way to check if a selected(x,y) point of a PNG image is transparent?
4 Answers
...
Why do we need a pure virtual destructor in C++?
I understand the need for a virtual destructor. But why do we need a pure virtual destructor? In one of the C++ articles, the author has mentioned that we use pure virtual destructor when we want to make a class abstract.
...