What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it?

How to avoid ArrayIndexOutOfBoundsException or IndexOutOfBoundsException?


How to [recursively] Zip a directory in PHP?


How to fix: "No suitable driver found for jdbc:mysql://localhost/dbname" error when using pools?

The infamous java.sql.SQLException: No suitable driver found


Excel cell from which a Function is called

How to get address of cell which calls a VBA Functions in a Excel sheet


Can two Java methods have same name with different return types?

Overload with different return type in Java?


How can I download correct versions of mscordacwks and mscorwks?

WinDbg: Copy of SOS.dll x86 4.0.30319.237


C# methods with multiple return parameters

Return multiple values to a method caller


Implode all the properties of a given name in an array of object - PHP

Create a comma-separated string from a single column of an array of objects


Get particular element from mongoDB array

Retrieve only the queried element in an object array in MongoDB collection


Protected member access from different packages in java - a curiosity


How to extract the code blocks between multiple script tags with JavaScript?

My regex is matching too much. How do I make it stop?


Using xargs in msysgit to remote prune all doesn't seem to work

Make xargs execute the command once for each line of input


Error ".onLoad failed in loadNamespace() for 'tcltk'"


Question on whitespaces in h:outputText and h:inputText

h:outputText seems to trim whitespace, how do I preserve whitespace?


Saving the state of a program to allow it to be resumed


Ajax requests clears the session in Rails 3.0.5

Devise + Rails 3.0.4 ends session after AJAX request


srand(time(NULL)) doesn't change seed value quick enough


How do i convert an RGB color or Hex into HSB?


What the difference between .click and .change on a checkbox

Getting value of HTML Checkbox from onclick/onchange events


Python lookup hostname from IP with 1 second timeout


Crash on [[NSBundle mainBundle] loadNibnamed:owner:options:]

Xcode - How to fix 'NSUnknownKeyException', reason: … this class is not key value coding-compliant for the key X" error?


Is there any standard way of embedding resources into Linux executable image?

Embedding resources in executable using GCC


I get the following warning listed below from my PHP application and I was wondering how to fix it:

Warning: mysql_fetch_* expects parameter 1 to be resource, boolean given error


How do I get string value of a parameter in to create key for a hash Javascript

How to use a variable for a key in a JavaScript object literal?


Image center align vertically and horizontally

How to center an element horizontally and vertically


Pure virtual function with implementation


How to get the calling method properties in c#

How do I get the calling method name and type using reflection?


How to write unicode strings into a file?


Add client side property for Ria Services

Is it possible to have two partial classes in different assemblies represent the same class?


How can I define how many spaces a TAB jumps in a XAML TextBox?


PHP flatten array of two dimensions into array of one dimension

Turning multidimensional array into one-dimensional array


T-SQL: Opposite to string concatenation - how to split string into multiple records


How to use java.util.Scanner to correctly read user input from System.in and act on it?


Java. Implicit super constructor Employee() is undefined. Must explicitly invoke another constructor

Java error: Implicit super constructor is undefined for default constructor


Can't use an array as default values for Ruby Hash?

Strange, unexpected behavior (disappearing/changing values) when using Hash default value, e.g. Hash.new([])


where can i find XFS API reference and samples?


Sorting arraylist in alphabetical order (case insensitive)


retrieve links from web page using python and BeautifulSoup


Why is this function wrapped in parentheses, followed by parentheses?

What is the (function() { } )() construct in JavaScript?


How to avoid soft keyboard pushing up my layout?

Android: How do I prevent the soft keyboard from pushing my view up?


Ant XSLT 2.0 with saxon9 Loading Stylesheet very very slow


boolean variable values in PHP to javascript implementation

How do I pass variables and data from PHP to JavaScript?


How can I open Java .class files in a human-readable way?


In Oracle, is starting the SQL Query's WHERE clause with 1=1 useful?


Really weird error all of a sudden. Can subtract in a query but multiplying gives an error

mysql_fetch_array()/mysql_fetch_assoc()/mysql_fetch_row()/mysql_num_rows etc... expects parameter 1 to be resource


iphone MPMoviePlayerViewController handling network problems (black screen)

Dismiss MPMoviePlayerViewController on play error


How to convert the file last modified timestamp to a date?

Getting the last modified date of a file in Java


Detecting when head phones are plugged in


Detecting if user is using proxies or vpn

How do you detect a VPN or Proxy connection?


iOS: Why do I have white, rounded corners on my modal view?


How do you connect localhost in the Android emulator?

How to connect to my http://localhost web server from Android Emulator


how do I restart an activity in android?


Prevent user from seeing previously visited secured page after logout


"date(): It is not safe to rely on the system's timezone settings..."


Handle errors or inconsistencies when parsing JSON using JSON.NET

Deserializing JSON when sometimes array and sometimes object


Replace fullwidth punctuation characters with normal width equivalents

Python: How can I replace full-width characters with half-width characters?


Pattern matching email address using regular expressions

How to validate an email address using a regular expression?


Disappearing divider in ListView when ArrayAdapter.isEnabled returns false


Warning: preg_replace(): Unknown modifier


how can i solve " Deprecated: Function eregi() is deprecated" error

How can I convert ereg expressions to preg in PHP?


Difference between int* p and int *p declaration

Placement of the asterisk in pointer declarations


Why is a number having greater than 15 digits auto rounded in javascript?

Large numbers erroneously rounded in JavaScript


How to select a radio button by default?

Assign an initial value to radio button as checked


create a unique filename from a SQL statement in PHP


How do I remove all specific characters at the end of a string in PHP?


Querying empty Datamapper has n relationships


How to convert the following text into a proper string in C#?


How can I make my local repository available for git-pull?


Usage of Reactive Extensions in the "Real World"


How do I add a class to an @Html.ActionLink?


All elements of An ArrayList change when a new one is added?

Why does my ArrayList contain N copies of the last item added to the list?


Is there any way to make sbt stop printing so much info?

How to change log level from command line?


Javascript/JQuery perform function when user scrolls near bottom of page

Check if a user has scrolled to the bottom


How to restore .bash_profile on a mac? None of my unix terminal are working


mysql inserting records twice in database

Insert query on page load, inserts twice?


Can Facebook HipHop (PHP to C++) be compiled and run on Windows


Restrict C++ Template Parameter to Subclass


Is there a RegExp.escape function in JavaScript?


Contenteditable table row,column modifier

Javascript, Firefox: how to disable the browser specific cell controls?


How do I force cmake to include "-pthread" option during compilation?

How to get CMake to recognize pthread on Ubuntu?


What are some "mainstream" lightweight alternatives to storing files in .csv format?


JavaScript - Is it possible for two user-agents to communicate without server interaction?

Will HTML5 allow web apps to make peer-to-peer HTTP connections?


preg-replace, xhtml strict, php, & ampersand error

RegEx to Reject Unescaped HTML Character


MVC3 Null value when I click next page on my WebGrid

MVC3 Drop Down List Control does not keep State, Why?


iPhone : Insert Contact to Address book without any User Interface

Add Contacts into AddressBook without UI


Using C# delegates with methods with optional parameters

Optional parameters on delegates doesn't work properly


What's the best way to store images in android?

Efficient Way to store images in android


Render without layout when format is JS (needs drying)

Never render a layout in response to xhrs


How to add information to a contact already existing in iPhone

adding a new number to existing ABRecord in ABAddressBook - iPhone


Invoking a command line with spaces from a variable in a Bash script

Executing commands containing space in Bash


How to format numbers as currency strings


How to set fixed background position from right side in css?

Offset a background image from the right using CSS


How do you create a PDF document using iText that has pages with differing page sizes?


iPhone (iOS4): Can I get the phone number of a phone call read to an application (similar to Mr.Number)?


Chrome Uncaught Syntax Error: Unexpected Token ILLEGAL

No visible cause for "Unexpected token ILLEGAL"


Why does std::getline() skip input after a formatted extraction?


How to name the threads of a thread pool in Java

Naming threads and thread-pools of ExecutorService


Can't set attributes on instance of "object" class


static final vs an instance final when and why? Java interview question

point of having an instance variable as final?


How to use GPG exported keys in libgcrypt?

Using output from gpg --list-packets on a key to get the mpi values to generate s-expressions


Java PreparedStatement retrieving last inserted ID


node.js equivalent of python's if __name__ == '__main__'

Detect if called through require or directly by command line


*** glibc detected *** free(): invalid next size (normal): 0x0a03c978 ***

Facing an error "*** glibc detected *** free(): invalid next size (fast)"


C++ - Determining if directory (not a file) exists in Linux

Checking if a directory exists in Unix (system call)


How may I define the "Group table view" pattern as background programmatically?

Background of a UIViewController to Grouped table view color


Binding an enum to MVVM Light RelayCommand<T> CommandParameter

Passing an enum value as command parameter from XAML


Calling servlet results in HTTP Status 404 "The requested resource is not available"

Servlet returns "HTTP Status 404 The requested resource (/servlet) is not available"


Static method in Java can be accessed using object instance

Why isn't calling a static method by way of an instance an error for the Java compiler?


Why an unnamed namespace is a "superior" alternative to static?

Superiority of unnamed namespace over static?


How do I test my browser timezone dependent application againts different timezones?

How to use a custom time in browser to test for client vs server time difference


iterator pattern - error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'std::string'

error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion)


Why are the bits of a std::bitset in reverse order?

Why does std::bitset expose bits in little-endian fashion?


jquery event handler inside updatepanel not working after postback

jQuery $(document).ready and UpdatePanels?


How does GitHub change the URL but not the reload?

How do I do awesome refreshless page changes like GitHub do?


Crashing due to "No package identifier when getting value of resource number..."

ERROR No package identifier when getting value for resource number


PyQt 4 - save all data in window to file on app close

How to remember last geometry of PyQt application?


Why is my Random number generator seeding both arrays with the same numbers?

Random number generator only generating one random number


StringTemplate slow than plain string concatenation?


How to convert a String to CharSequence?


How do I perform an id array query in Mongoose?

mongodb/mongoose findMany - find all documents with IDs listed in array


INSTALL_FAILED_ALREADY_EXISTS when trying to install APK-package

Failure [INSTALL_FAILED_ALREADY_EXISTS] when I tried to update my application


Verify type of string (e.g. literal, array, pointer) passed to a function

Restrict passed parameter to a string literal


Grouping a list into lists of n elements in Haskell


how to make a jquery "$.post" request synchronous

How can I get jQuery to perform a synchronous, rather than asynchronous, Ajax request?


The better Java singleton pattern nowadays?

What is an efficient way to implement a singleton pattern in Java?


Hypothetical question: Can you embed flash in java JFrames?


How to fix "Headers already sent" error in PHP


Why transforming normals with the transpose of the inverse of the modelview matrix?


Sending My Own Arguments To A Event Handler?


HTML form action method="POST" or method="post"?


Adding network users to _developer group (Leopard Server, Snow Leopard Client)

Authorize a non-admin developer in Xcode / Mac OS


Calling a servlet from JSP file on page load


Razor ViewEngine HTML.Checkbox method creates a hidden input. Why?

asp.net mvc: why is Html.CheckBox generating an additional hidden input


Exporting and importing bookmarks in Visual Studio

Visual Studio 2008/2010 Code Bookmarks Backup


What does a member and collection route mean?

difference between collection route and member route in ruby on rails?


Trouble linking static libraries using Android NDK r5b

Linking thirdparty libs (libs.a) with NDK


In vim, is there a way to rebind "*" to highlight the current word, without advancing to the next?

Vim: search and highlight but do not jump


How to define Map contents on initialisation?


Hide hyperlink URL in RichTextBox (Windows Forms)

Broken hyperlinks in RTF file in RichTextBox


Unwanted margin in inline-block list items


piping output through sed but retain exit status

Pipe output and capture exit status in Bash


What is polymorphism, what is it for, and how is it used?


Installing a apk file ,in android emulator

How do you install an APK file in the Android emulator?


Unintentional destruction of php array element?


Why isn't current directory on my Ruby path?

Why does Ruby 1.9.2 remove "." from LOAD_PATH, and what's the alternative?


javascript creating multi-dimensional array syntax

How can I create a two dimensional array in JavaScript?


Generate random number between two numbers in JavaScript

Generating random whole numbers in JavaScript in a specific range?


How to get a value of an object's property when the property name is a variable itself in JSP?

How to get value of bean property when property name itself is a dynamic variable


File.Copy() to file server with network Credential

How to provide user name and password when connecting to a network share


Xcode - How to fix 'NSUnknownKeyException', reason: … this class is not key value coding-compliant for the key X" error?


Duplicate packets in Multicast Receiver Socket

Receiving multiple multicast feeds on the same port - C, Linux


Sequences expansion and variable in bash


How to listen/subscribe to Outgoing SMS notifications?


Div 100% height works on Firefox but not in IE


How do I set the path to a DLL file in Visual Studio?


What does a "Cannot find symbol" or "Cannot resolve symbol" error mean?


How do you reverse a string in place in C or C++?


Compare two objects and find the differences

Finding property differences between two C# objects


Regex in javascript fails every other time with identical input

Why does a RegExp with global flag give wrong results?


Most efficient way to randomly "sort" (Shuffle) a list of integers in C#


How do I get a class instance of generic type T?


How to checksum an entire folder structure?


Make overlay background click-through-able

Click through div to underlying elements


How to store printStackTrace into a string

How can I convert a stack trace to a string?


How to handle infinite loop caused by invalid input (InputMismatchException) using Scanner


Is it possible to use Razor View Engine outside asp.net


Prevent Gnome Terminal From Exiting After Execution

Avoid gnome-terminal close after script execution?


How to prevent a method from being overridden in derived class?

Is there a way to prevent a method from being overridden in subclasses?


What is the difference between all the different types of version control?


How can I block further input in textarea using maxlength


What is the path in the html dom for a selected element?

Return XPath location with jQuery? Need some feedback on a function


How to handle double quotes in string before XPath evaluation?


What does bnum exactly mean in tokyo tyrant

Why does tokyo tyrant slow down exponentially even after adjusting bnum?


What is the difference between the various HTTP methods?

What is the difference between POST and PUT in HTTP?


can CakePHP automatically create tables from models?


Minify JavaScript code through C# - ASP.NET

Elegantly minify dynamically generated javascript in a .NET environment?


How to create a 30 day free trial Android app?

Creating an Android trial application that expires after a fixed time period


automapper how to ignore property in source item that does not exist in destination

Ignore mapping one property with Automapper


How to use index/position with Where in LINQ query language?

Is there a LINQ syntax for the (T, int) overloads of Where and Select?


Is it possible to list all functions in a module?

How to list all functions in a Python module?


Play sound on iPhone even in silent mode

iPhone - Is it possible to override silent mode or have a recursive alert sound with push notification?


How do I export UIImage array as a movie?


how to read a config file with sections using Java

What is the easiest way to parse an INI file in Java?


Django - is there a way to view the queries being executed by the ORM?

Getting all queries that django run on postgresql


How can I test with junit that a warning was logged with log4j?

How to do a JUnit assert on a message in a logger


PHP shortest/longest string length in array

How to get the length of longest string in an array


How can I read a file even when getting an "in use by another process" exception?


The EXECUTE permission was denied on the object 'zzzzzz, database 'xxxxxx' schema 'yyyyyy',

The EXECUTE permission was denied on the object 'xxxxxxx', database 'zzzzzzz', schema 'dbo'


$(document).click() not working correctly on iPhone. jquery

How do I use jQuery for click event in iPhone web application


Change priorityQueue to max priorityqueue


Should I choose ActivePerl or Strawberry Perl for Windows?

Which version of Perl should I use on Windows?


Iterate over each Day between StartDate and EndDate


How do I remove leading whitespace chars from Ruby HEREDOC?


How to write very long string that conforms with PEP8 and prevent E501


MySQL VS Postgres/POSTGIS spatial database support

GIS: PostGIS/PostgreSQL vs. MySql vs. SQL Server?


How to find out why Eclipse is freezing?


how to copy one workbook sheet to another workbook sheet using apache POI and java


FPDF error: This document (mine.pdf) probably uses a compression technique which is not supported by the free parser shipped with FPDI

FPDF error: This document (testcopy.pdf) probably uses a compression technique which is not supported by the free parser shipped with FPDI


How to keep count in a recursive function?


Is there a CSS selector for elements containing certain text?


java.lang.IllegalArgumentException: Invalid URL Pattern: [xhtml]

java.lang.IllegalArgumentException: Invalid <url-pattern> in servlet mapping


Passing an optional parameter in PHP Function

How do you create optional arguments in php?


Can I extend a class using more than 1 class in PHP?


Connect DATABASE Error TYPE: 2002: Permission denied


How can I tell a ContextMenu to place itself relatively to its control and not the cursor?

Setting a WPF ContextMenu's PlacementTarget property in XAML?


Best way to bind a dropdown at client side

How do I add options to a DropDownList using jQuery?


Printing the source code of a Ruby block


Content Assist for JSF2 + CDI (weld) beans + Eclipse Helios


HashSet (.NET4) isn't ignoring duplicates in c#


how to develop a replacement for the android lock screen

Custom Lock Screen Implementation Techniques


Why can't we initialize members inside a structure?


what the difference between using synchronized keyword and lock

What's the difference between Synchronized and Lock in my example?


How to declare string constants in JavaScript?


do we need to manually add xml to our solution?


Taking a screenshot of a particular window with c/GTK


Should we use CScript.exe or WScript.exe to run .vbs files?


How to set layout_margin programmatically?

Set margins in a LinearLayout programmatically


Automatically provide unique id in the database


Need regular expression to remove Name tags from a string

Using C# regular expressions to remove HTML tags


Why is reassigning Object.prototype not working?


Draw transparent lines on bitmap via touch input

Making Overlaid image transparent on touch in Android?


How do i select the 1st and then every 4th row in a html-table with nth-child()-selector?


`Double.ToString` with N number of decimal places

How do I format a Decimal to a programatically controlled number of decimals in c#?


Replace into equivalent for postgresql and then autoincrementing an int

Insert, on duplicate update in PostgreSQL?


Enumerated types with specified values do not have TypeInfo, why?

Why do I get "type has no typeinfo" error with an enum type


Create a "with" block on several context managers?

Multiple variables in a 'with' statement?


PHP command shell_exec() not working for my custom Java app5


Hibernate Schema Validation Fails on Oracle Table Synonyms


Recursive Lock (Mutex) vs Non-Recursive Lock (Mutex)


Why do switch statements continue after case

Switch statement fall-through...should it be allowed?


How to split (chunk) a Ruby array into parts of X elements?


Make a POST request with parameters and an attached file

Flex HTTPservice and POST, Sending Files?


Disabling mouse movement and clicks altogether in c#

Block/Nullify mouse movement/click in C#


In ASP.NET MVC, why can't I inherit from "MyCustomView" without specifying the full type name?

Generic Inherited ViewPage<> and new Property


Conditions for automatic generation of default/copy/move ctor and copy/move assignment operator?


How to add List<> to a List<> in asp.net

Append a Lists Contents to another List C#


PHP: filtering 2 dimensional array / multidimensional array

php multi-dimensional array remove duplicate


how to check if 2 files are equal using .NET?


How to add a browser tab icon (favicon) for a website?


ereg_replace to remove all non-alphanumerics is skipping square brackets

Difference between regex [A-z] and [a-zA-Z]


How do I limit the number of rows returned by an Oracle query after ordering?


Are parallel calls to send/recv on the same socket valid?


Executing a background process with system()

using exec to execute a system command in a new process


Passing selected check boxes using jQuery servlet

How to send request parameter array to servlet using jQuery $.ajax?


How to read and write to an ini file with PHP


boolean properties starting with "is" does not work


Easy way of posting on Facebook page (not a profile but a fanpage)


How to compare multiple words separated by comma in an if statement?


Why does Map not extend Collection interface


Syntax error due to using a reserved word as a table or column name in MySQL


How can I convert ereg expressions to preg in PHP?


When to use the !important property in CSS

What are the implications of using "!important" in CSS?


Removing a character from my stringbuilder

Best way to remove the last character from a string built with stringbuilder


Regular expression to match a line that doesn't contain a word


What's the behaviour of "" + number and why c++ compile it?


What's the difference between INNER JOIN, LEFT JOIN, RIGHT JOIN and FULL JOIN?

What is the difference between "INNER JOIN" and "OUTER JOIN"?


How to secure access to SWF file using ASP.NET?


VB6: Is there a standard library (parser) to strip HTML tags from content?

How to strip ALL HTML tags using MSHTML Parser in VB6?


Warning: PDOStatement::execute() [pdostatement.execute]: SQLSTATE[23000]:

Error 1062 - Duplicate entry '127' for key 'PRIMARY' - can't find the reason


Drawing an animated gif over another animated gif without flickering?

How to get rid of the flicker that appears during my animation?


no match for ‘operator<<’ in ‘std::operator


determine length of calloc array of TCHARs (not string length)

Determine size of dynamically allocated memory in C


How to detect unsaved data in form when user leaves the page?


How do I round a double to two decimal places in Java?

How to round a number to n decimal places in Java


Special uses of this syntax in PHP? (Triple 'Angle Brackets')

Reference — What does this symbol mean in PHP?


How do I slice a string every 3 indices?

What is the most "pythonic" way to iterate over a list in chunks?


How to use replaceAll() in Javascript.........................?

How to replace all occurrences of a string in JavaScript?


Use CSS3 transitions with gradient backgrounds


The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved

How to install JSTL? The absolute uri: http://java.sun.com/jstl/core cannot be resolved


CSS – why doesn’t percentage height work?


PHP prepend leading zero before single digit number, on-the-fly

Formatting a number with leading zeros in PHP


ArrayIndexOutOfBoundsException when using ListAdapter

How to avoid ArrayIndexOutOfBoundsException or IndexOutOfBoundsException?


Facebook Like Button refresh after AJAX-Load

How to add a Facebook "Like" button to an AJAX driven page


How to hide address bar using javascript window.open?


PrintQueue is the printer the default printer?

How to determine the default printer using WPF?


What's the purpose of each of the different UIDs a process can have?


Getting The Method That A Method Was Called From?

How can I find the method that called the current method?


Split large string in n-size chunks in JavaScript


mysqli_query() expects parameter 1 to be mysqli, object given


Where do you place the starting SQLite database within an Android project?


How to cross compile from windows g++ cygwin to get linux executable file

C++ cross-compiler from Windows to Linux


C# - How to detect a Windows shutdown/logoff and cancel that action (after asking the user)


sprintf() for JavaScript that behaves like Python's format (%)?

JavaScript equivalent to printf/String.Format


How can I download Java Servlet documentation and attach with eclipse

How to add Javadoc for Servlet API in Eclipse


Synchronizing Serial Port Reading/Writing

Problem with serial port data receive in C#


Downloading multiple images using PHP cURL


Reference: What is variable scope, which variables are accessible from where and what are "undefined variable" errors?


List of lists changes reflected across sublists unexpectedly


Using :before and :after CSS selector to insert HTML

Can you add line breaks to the :after pseudo element?


What is use of start activity for result in Android?

How to manage startActivityForResult on Android?


Orientation problem with tabbarcontroller + navigation controller

Selective Autorotation within a UINavigationController and UITabBarController


How to create native binaries for your Java app?

How can I convert my Java program to an .exe file?


Expected lifespan of ereg, migrating to preg

How can I convert ereg expressions to preg in PHP?


How to find time complexity of an algorithm


How to create a bash variable like $RANDOM


NSUnknownKeyException view... What to do?

Xcode - How to fix 'NSUnknownKeyException', reason: … this class is not key value coding-compliant for the key X" error?


Is there anyway to pass arguments to a signal handler?

Providing/passing argument to signal handler


MySQL ERROR 1045 (28000): Access denied for user 'bill'@'localhost' (using password: YES)


filling a rectilinear polygon with rectangles

Algorithm for finding the fewest rectangles to cover a set of rectangles without overlapping


.NET 4.0 build server reference assemblies warnings MSB3644


What is the difference between Bitmap and Drawable in Android?


Edit-in-place JavaScript for editing multiple fields at a time

How do I make a div element editable (like a textarea when I click it)?


Correct way to document open-ended argument functions in JSDoc


How to create UINavigationController animation top to bottom

How can I change the animation style of a modal UIViewController?


is there something like htaccess for windows asp.net/IIS Server

.htaccess or .htpasswd equivalent on IIS?


Checking for a null int value from a Java ResultSet


Python: find all classes which inherit from this one?

How to find all the subclasses of a class given its name?


Cannot implicitly convert type 'int' to 'short'

Integer summing blues, short += short problem


How to get Javascript Select box's selected text


Redirecting cout to a console in windows


Required attribute on multiple checkboxes with the same name?

Using the HTML5 "required" attribute for a group of checkboxes?


How to store JavaScript variable value in JSP session

how to access the javascript variable in jsp


Atlassian JIRA Plugin Development: How to make variables available to velocity templates


Integer wrapper class and == operator - where is behavior specified?

Integer wrapper objects share the same instances only within the value 127?


the best practice for performance bettween using parameter in url ?p=2 and Managed bean

ViewParam vs @ManagedProperty(value = "#{param.id}")


Determine the language of a unicode string in Java


How lazy loading images using JavaScript works?


how to check if the toast have dismissed or not

Stop all toast messages when going to another screen in Android


iPhone Sdk can Access SQL Server Directly

How do i query data from SQL Server 2005/2008 databases to iPhone


How do you detect Credit card type based on number?


How to check my internet access on Android?


C# Remote Server Unique Identifier for License

Is there really any way to uniquely identify any computer at all


How to submit a form from a html file to a java file?

How to transfer data from JSP to servlet when submitting HTML form


Getting variable value from $.each anonymous function

jQuery: Return data after ajax call success


Get a random item from a JavaScript array

Getting a random value from a JavaScript array


Programmatically reading static resources from my java webapp

How to find the working folder of a servlet based application in order to load resources


java.awt.AWTError: BoxLayout can't be shared

error upon assigning Layout: BoxLayout can't be shared


scanf() leaves the new line char in the buffer


Visual Studio/MSBuild copy referenced class library's app.config as *.dll.config to bin folder of current project


How to detect reliably Mac OS X, iOS, Linux, Windows in C preprocessor?

How do I check OS with a preprocessor directive?


How to get HTML content text of a Wikipedia Page (via Wikipedia API)?

Get Text Content from mediawiki page via API


How to stop Eclipse from putting the variable type after the variable name

Eclipse auto suggesting and filling in variable names


How to get the current Python interpreter path from inside a Python script?

Find full path of the Python interpreter?


Is it Possible to Concatenate variable in Split Regexp in Javascript? Eg: var.split(/[A-Z]/+ variable + / \d/);

How do you use a variable in a regular expression?


What is the difference between "px", "dip", "dp" and "sp"?


use of private method inside abstract class

Why is there a private access modifier in an abstract class in Java, even though we cannot create an instance of an abstract class?


show a specific view when application returns to foreground

redraw GUI on didreceivelocalnotification when come from lock screen iphone


What are the rules about default parameters in Python?

"Least Astonishment" and the Mutable Default Argument


What is the JavaScript >>> operator and how do you use it?


How to replace value in list at same collection location


Data at the root level is invalid. Line 1, position 1 -why do I get this error while loading an xml file?


need to fix html and values appending with javascript

need to display extra text inputs when selecting add button, also need to remove fields


Does Python have an equivalent to java.lang.Math.nextUp?

Increment a Python floating point value by the smallest possible amount


Pretty-printing output from javax.xml.transform.Transformer with only standard java api (Indentation and Doctype positioning)


Linux command line : edit hacked index files

Hacked Site - SSH to remove a large body of javascript from 200+ files


How can I print each command before executing?

How to echo shell commands as they are executed


How do I get the effect and usefulness of "set -e" inside a shell function?


portable IIS or other server for asp.net app


Servlet returns "HTTP Status 404 The requested resource (/servlet) is not available"


Get $this->Auth->user('id') in user model cakephp


How to use match two cases using regular expression?

Regex to match string containing two names in any order


Why we can't do List<Parent> mylist = ArrayList<child>();

Is List<Dog> a subclass of List<Animal>? Why are Java generics not implicitly polymorphic?


What are the advantages of IntelliJ over Eclipse?

Things possible in IntelliJ that aren't possible in Eclipse?


How do I output HTML in a message in the new Django messages framework?


AJAX - Sending data to my php file does not seem to work


Coverting a Boolean object array to boolean primitive array?

Converting an array of objects to an array of their primitive types


Python regex find all overlapping matches?

String count with overlapping occurrences


how to validate a URL / website name in EditText in Android?


How to concatenate items in a list to a single string?


How do you concatenate the rows of a matrix into a vector?


(iphone) build for archive, can't find 3rd party library header files. such as boost


Switch on ranges of integers in JavaScript

How can I use ranges in a switch case statement using JavaScript?


Wix: create a sql server database at a specified location

SQL Server: use parameter in CREATE DATABASE


Assert and unused local variable warning in GCC don't mix well?

Avoiding unused variables warnings when using assert() in a Release build


Variable concatenated mysql query string runs fine in phpMyAdmin but not PHP in script

Problem with $_POST, if isset() and mysql_fetch_assoc(): echo returns correct value, page source always returns else value


In C how to strcmp just the beginning 2 characters and then concatenate?

How to check if a string starts with another string in C?


Passing a PHP Variable in external JS file

How do I pass variables and data from PHP to JavaScript?


How to check the differences between local and github before the pull

git diff between cloned and original remote repository


What would cause intermittent SQLSTATE[HY000] [2002] No such file or directory errors from php PDO mysql on Debian Lenny?

MySQL connection not working: 2002 No such file or directory


Trouble redefining Protected symbols and system functions


"java.net.SocketException: Connection reset" sometimes on Tomcat localhost log

What's causing my java.net.SocketException: Connection reset?


empty dictionary as default value for keyword argument in python function: dictionary seems to not be initialised to {} on subsequent calls?

numpy array subclass unexpedly shares attributes across instances


iPhone APIs to access SMS, calendar, emails, call logs?


What is the JavaScript >>> operator used for?

What is the JavaScript >>> operator and how do you use it?


Bus error while running a simple string C program

Difference between char *str="STRING" and char str[] = "STRING"?


Need help with: jquery prepend doctype to html


DataTable merge without primary key column


What's the proper way to read which RadioButton is checked in C#?

Which Radio button in the group is checked?


"sslv3 alert bad record mac" error when using cURL over HTTPS

cURL/PHP Request Executes 50% of the Time


How does one create an InputStream from a String?

How do I convert a String to an InputStream in Java?


Java: Foreach loop not working as expected on int array?

Why does the foreach statement not change the element value?


PDF footer at the bottom using iTextSharp


What is the best way do draw an strike text with iPhone sdk?


ERROR: Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\...\....php on line 19

mysql_fetch_array()/mysql_fetch_assoc()/mysql_fetch_row()/mysql_num_rows etc... expects parameter 1 to be resource


Ignore self-signed ssl cert using Jersey Client

Resolving javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed Error?


Is Java's default value for Boolean 'true'?

Default value of 'boolean' and 'Boolean' in Java


Setting onclick to use current value of variable in loop

JavaScript closure inside loops – simple practical example


Google Maps V3 - How to calculate the zoom level for a given bounds

Google Map API v3 — set bounds and center


How to set file input value when dropping file on page?


Linking a UNC / Network drive on an html page


<input type="file"> limit selectable files by extensions

Limit file format when using <input type="file">?


CSS rule to apply only if element has BOTH classes

CSS Selector that applies to elements with two classes


Can I have a submit button on a form that overrides/ignores jquery.validate plugin?

jQuery Validation plugin: disable validation for specified submit buttons


In Node.js, how do I turn a string to a json?


Git error: src refspec master does not match any

Message 'src refspec master does not match any' when pushing commits in Git


Prevent scrolling of parent element when inner element scroll position reaches top/bottom?

prevent Scroll bubbling from element to window


Sort ObservableCollection<string> through C#


realloc after free problem ("realloc: invalid next size")

Facing an error "*** glibc detected *** free(): invalid next size (fast)"


I need to be able to store sound files for my application on sdcard


how can i prevent user to access the previous jsp page using browser's back button or backspace

Prevent user from seeing previously visited secured page after logout


An extension method on IEnumerable needed for shuffling

Optimal LINQ query to get a random sub collection - Shuffle


Formatting floats without trailing zeros


Start Activity and Service from broadcastreceiver

NullPointerException when calling service in onResume


Android send SMS which is visible in SMS thread (no GUI)


With css is it possible to use an image for text color?


Java: How to check if a lock can be acquired?

How do determine if an object is locked (synchronized) so not to block in Java?


PHPDoc type hinting for array of objects?


How to ajax-refresh dynamic include content by navigation menu? (JSF SPA)


What should be the leagth of int in a sql table where i store the facebook profile id?


Is there a technical difference between "=" and "<-"

What are the differences between "=" and "<-" assignment operators in R?


How to view which files is Writing a Process

How do I get the list of open file handles by process in C#?


Script skips second for loop when reading a file


How to handle deprecated gem warning (SourceIndex#all_gems)?

Gem.source_index is deprecated, use Specification. Should I re-install Gem or Rails?


PHP not loading xdebug when started from Eclipse PDT

While I am debugging PHP Script in Eclipse, it doesn't load mysql extension


How do I generate random integers within a specific range in Java?


Error: The server is not responding (or the local MySQL server's socket is not correctly configured)

No connection could be made because the target machine actively refused it (PHP / WAMP)


iphone app - how to detect which tab bar item was last pressed

iphone app - detect which tab bar item was pressed


How can I convert ereg expressions to preg in PHP?


How to access the correct `this` inside a callback?


Change color of individual print line in Python 3.2?

How to print colored text to the terminal?


Ruby - Does array A contain all elements of array B

How to determine if one array contains all elements of another array


JDBC giving me Parameter index out of range (1 > number of parameters, which is 0)

java.sql.SQLException Parameter index out of range (1 > number of parameters, which is 0)


Call to a member function on a non-object


Can a method be used as either a staticmethod or instance method?


What is the purpose of the single underscore "_" variable in Python?


Split Strings into words with multiple word boundary delimiters


How to convert this deprecated ereg() using pointer to preg_match()


Fatal error: [] operator not supported for strings


Order List in same order as another list


Filename not printing correctly with underscore "_" in Bash


Using variables in Python regular expression

How to use a variable inside a regular expression?


How do I find the owning PID of a socket using only /proc

How can i match each /proc/net/tcp entry to each opened socket?


Is there a method I can overload to handle undefined properties in JavaScript?

Is there an equivalent of the __noSuchMethod__ feature for properties, or a way to implement it in JS?


CSS: How to make left float div to adjust height dynamically?

HTML/CSS: Making two floating divs the same height


How might I force our developers to enter notes when committing via TortoiseSVN?

How can I prevent Subversion commits without comments?


In WPF, what are the differences between the x:Name and Name attributes?


NullPointerException when Creating an Array of objects

What is a NullPointerException, and how do I fix it?


How can I make MySQL's LIMIT in SQL Server?


Convert dateTime to ISO format yyyy-mm-dd hh:mm:ss in C#

Given a DateTime object, how do I get an ISO 8601 date in string format?


How do I make an HTML text box show a hint when empty?


Is there a method in C# to check if a string is a valid identifier

How to determine if a string is a valid variable name?


What's the difference between Array(1) and new Array(1) in JavaScript?

What is the 'new' keyword in JavaScript?


how refer to a local variable share same name of a global variable in C?

How to print value of global variable and local variable having same name?


Draw an item in a static location relative to the QGraphicsView


Ruby: Remove whitespace chars at the beginning of a string

Ruby function to remove all white spaces?


Simple Natural Language Processing Startup for Java

Is there a good natural language processing library


LF will be replaced by CRLF in git - What is that and is it important?


How to check if a string starts with a specified string?


How does the regex expression that checks for prime numbers work?


Is there a way to run multiple iOS Simulators at once?

Is there a way to simulate multiple iphones using xcode/iphone sim?


Android/Google Maps: get distance of route travelled

J2ME/Android/BlackBerry - driving directions, route between two locations


Best practice for passing server-side variables to javascript?

How do I pass variables and data from PHP to JavaScript?


Developer Tools - preserve console record

How to make Google Chrome JavaScript console persistent?


Operator '&' cannot be applied to operands of type 'T' and 'T'

C#, Flags Enum, Generic function to look for a flag


How do I use the Enter key as an event handler (javascript)?

How can I execute a function on pressing the enter key in an <input> field?


How to programmatically send a HTTP request with parameters?

How to use java.net.URLConnection to fire and handle HTTP requests?


The class is not key value coding-compliant for the key

Xcode - How to fix 'NSUnknownKeyException', reason: … this class is not key value coding-compliant for the key X" error?


How do I prevent mails sent through PHP mail() from going to spam?

How do you make sure email you send programmatically is not automatically marked as spam?


Getting an array of a property from an object array


grep returns "Too many argument specified on command"

Argument list too long error for rm, cp, mv commands


Are "(function ( ) { } ) ( )" and "(function ( ) { } ( ) )" functionally equal in JavaScript?

Location of parenthesis for auto-executing anonymous JavaScript functions?


netbeans 7.0 shows error in Struts2 select tag .. netbeans version 6.9 does not show this error

Struts 2 #{} giving compilation error in Netbeans 7.3


SQL return first day of last month and current month @ 00:00:00

How to get first and last day of previous month (with timestamp) in SQL Server


Warning: preg_match() [function.preg-match]: Unknown modifier '('

Warning: preg_replace(): Unknown modifier


Parser for .NET that will handle invalid XML

How to parse invalid (bad / not well-formed) XML?


How do I apply URL normalization rules in PHP?


String concatenation in JSP EL, inside a function


Rebase array keys after unsetting elements

How to re-index the values of an array in PHP?


How to get date of last Friday from specified date?


Counting occurrence of specific value in an Array with PHP

Count number of values in array with a given value


How to make backtrace()/backtrace_symbols() print the function names?


Java: Force stopping of ExecutorService threads

How to properly shutdown java ExecutorService


SQLite Query in non case sensitive alphabetical order

How to use SQL Order By statement to sort results case insensitive?


Abandoned instances that will not continue execution (zombie instances)

AppFabric / WF 4.0 instances stuck despite no bookmark and pending timer


Zend Framework - session id regenerated, can't stay logged in

Duplicate DB sessions created upon Zend_Auth login


android error: Can't create handler inside thread that has not called Looper.prepare()

Can't create handler inside thread that has not called Looper.prepare() inside AsyncTask for ProgressDialog


Using function as a parameter when executing a stored procedure?

Incorrect syntax near ')' calling stored procedure with GETDATE


looping through array using while loop? - MIPS

Translating C function with args to MIPS: loop over an int array and count negatives


How to correctly sort a string with a number inside?

Is there a built in function for string natural sort?


Can I define a dynamic intent-filter in my Android application?

Android: Dynamically asscociating data type with an activity


How can I store the '€' symbol in MySQL using PHP?


Is there a built-in function to print all the current properties and values of an object?


C++ Redefinition Header Files (winsock2.h)


Reading and writing environment variables in Python?

How to set environment variables in Python?


is there any Recommendations plugin in drupal 7?


In GWT 2.0 CssResource, how I can turn off obfuscation for all my css classes?

Is there a way to set GWT to include style names in the compiled names?


How do I fix Rubygems recent deprecation warning?


difference between IComparable and IComparer

When to use IComparable<T> Vs. IComparer<T>


Why is address of an array variable the same as itself?

How come an array's address is equal to its value in C?


The infamous java.sql.SQLException: No suitable driver found


Including jQuery in Microsoft Dynamics CRM 2011


How can I calculate the day of week for a date in Java?

How to determine day of week by passing specific date?


Is using System.* Namespaces on your own classes considered Bad Practice?

Placing custom code in a System namespace


How can I create directories recursively?

How can I safely create a nested directory?


how to concatenate two dictionaries to create a new one in Python?


HTML: How can I display an image using just its hex representation

Is it possible to put binary image data into html markup and then get the image displayed as usual in any browser?


Dropdownlist box in asp.mvc 2 and jquery

DropDown list onchange event and AJAX in MVC


Cannot install R-forge package using install.packages


How to store Java Date to Mysql datetime with JPA


Check if one div is hovering another - jQuery/Javascript


Is it possible to reference a variable with an interpolated string?

Creating or referencing variables dynamically in Sass


regex. how to exclude a substring from the result after it matches the pattern

How to match, but not capture, part of a regex?


How to exit from the application and show the home screen?


How can I make a UIButton enable as a function when I touch outside the button and drag over the button?

How can I make a UIButton get a function when I touch outside the button and drag over the button?


how to split an image in to multiple parts

how to crop image in to pieces programmatically


'innerText' works in IE, but not in Firefox


PHP : Best way to push data from server to clients.....?


How to call a Java method while deploying a WAR

Using special auto start servlet to initialize on startup and share application data


Fixing bad XML file (eg. unescaped & etc.)

How to parse invalid (bad / not well-formed) XML?


How to convert visual basic operator \ in C#


Hiding MDI child forms on close using C#

How do I prevent a form object from disposing on close?


JavaScript Infinitely Looping slideshow with delays?


Purpose of else and finally in exception handling

Why do we need the "finally" clause in Python?


What does the regular expression /_/g mean?


Unable to run Web project on eclipse on tomcat server

JSP in /WEB-INF returns "HTTP Status 404 The requested resource is not available"


Any way to return PHP `json_encode` with encode UTF-8 and not Unicode?


How to include route handlers in multiple files in Express?

How to separate routes on Node.js and Express 4?


How to provide relative path in File class to upload any file?

Recommended way to save uploaded files in a servlet application


What's the difference between apklib and jar files?


In Java, does read only access to Strings need to be synchronized?

Do I need to synchronize access to immutable types in Java?


Calling @Html.Partial to display a partial view belonging to a different controller

Render partial from different folder (not shared)


Column in where clause is ambiguous - What does that mean?

How to resolve ambiguous column names when retrieving results?


What is the name for the "<<<" operator?


How to get IP address of the device from code?

Android How to find Dynamic IP from device?


Is there a way to determine the ideal number of threads?

How to find out the optimal amount of threads?


document.getElementById(...).setAttribute('style',... not working in Internet Explorer

setAttribute is not working for 'style' attribute on IE


Is it possible to change a UIButtons background color?


Why Iterator.next() throws ConcurrentModificationException

Why is a ConcurrentModificationException thrown and how to debug it


A weird behavior of C compilers GCC and Turbo

Why are these constructs using pre and post-increment undefined behavior?


Can we use @EJB annotation in Apache tomcat

How to deploy EJB based application on Tomcat


Difference between JSP forward and redirect


How to use a variable for a key in a JavaScript object literal?


MySql Constraint to have particular fields value greater than zero

CHECK constraint in MySQL is not working


How to concatenate multiple strings in android XML?

Reference one string from another string in strings.xml?


Can you connect to multiple databases using entity framework?

Entity Framework to multiple databases (same schema) at runtime?


Downloading attachment from database using java

Submitting form to Servlet which interacts with database results in blank page


Algorithm design to search a value in matrix

How do I search for a number in a 2d array sorted left to right and top to bottom?


Best way to select random rows PostgreSQL


PHP preg_replace error: Unknown modifier ']'

Warning: preg_replace(): Unknown modifier


How to remove a key from HashMap while iterating over it?


Changing language on iPhone simulator crashes app

Localization: application crashes when language is changed in simulator


ANSI C How to get name server (DNS) address in linux?

Programmatically obtain DNS servers of host


Updating an AD UserPrincipal that has been extended with custom properties

Adding address information to active directory users


how to know the path of the webcontainer using java?

How to find the working folder of a servlet based application in order to load resources


Simple way to count character occurrences in a string

How do I count the number of occurrences of a char in a String?


How to properly use unit-testing's assertRaises() with NoneType objects?

How do you test that a Python function throws an exception?


Entity Framework - Get Table name from the Entity

Get Database Table Name from Entity Framework MetaData


Improving bulk insert performance in Entity framework

Fastest Way of Inserting in Entity Framework


is it possible to ignore some field when mapping in annotation,Entity class

What is the easiest way to ignore a JPA field during persistence?


Spinner does not wrap text -- is this an Android bug?


Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource

mysql_fetch_array()/mysql_fetch_assoc()/mysql_fetch_row()/mysql_num_rows etc... expects parameter 1 to be resource


Catch OutOfMemoryError but NO heap size increasement


Initialising an array of fixed size in Python

Create an empty list in Python with certain size


remove unwanted space in between a string

Substitute multiple whitespace with single whitespace in Python


Breaking java generics naming convention?

Generic type parameter naming convention for Java (with multiple chars)?


mysqli_fetch_assoc() expects parameter / Call to a member function bind_param() errors. How to get the actual mysql error and fix it?


How to find each instance of a class in Ruby


Is there a way to compile node.js source files?

Is it possible to create desktop applications with node.js?


when i try to echo $10 it becomes echo $1 0

How to handle more than 10 parameters in shell


Why doesn't [Required] work for me? MVC3

What is the fastest way to parse & split XML content with huge file size (800MB UP) into several xml files in Java


System.TypeLoadException - Method get_*** in type *** from assembly *** does not have an implementation when it does?

TypeLoadException says 'no implementation', but it is implemented


How to build a Facebook-style input box in GWT


Segmentation fault when trying to modify a string

Why do I get a segmentation fault when writing to a "char *s" initialized with a string literal, but not "char s[]"?


How to reduce MongoDB storage space after deleting a large amount of data


jquery validation plugin inside ajax loaded content


How to generate core dump file in Ubuntu

How to generate a core dump in Linux on a segmentation fault?


Is it possible to set code behind a resource dictionary in WPF for event handling?


function inside list comprehension - is it evaluated multiple times

Python: Is the split function evaluated multiple times in a list comprehension?


How to scale/resize text to fit a TextView?


How to display FacesMessage from PostConstruct method of a request scoped bean?

How can I add FacesMessage during page load? Using @PostConstruct does not seem to work


Determine if hash contains any key from a set of keys?

Testing if a hash has any of a number of keys


How do you create different variable names while in a loop?


What is a NullReferenceException, and how do I fix it?


How to make javascript ignore escape ( \ ) character?

How can I use backslashes (\) in a string?


Converting a Date object to a calendar object


How to implement an ordered, default dict?

How can this function be rewritten to implement OrderedDict?


Best JavaScript framework for desktop applications

Can you do Desktop Development using JavaScript?


Variables in bash seq replacement ({1..10})

How do I iterate over a range of numbers defined by variables in Bash?


free and open source alternative to extjs


using :counter_cache with some conditions

Counter Cache for a column with conditions?


Detect IE version from a WinForms application


How do I make a div element editable (like a textarea when I click it)?


How to run a background task in a servlet based web application?


How to concatenate multiple ternary operator in PHP?

Stacking Multiple Ternary Operators in PHP


Saving Core Data From Multiple TableVIews

Querying Core Data with Predicates - iPhone


Calling generic method using reflection in .NET

How do I use reflection to call a generic method?


Can chrome.tabs.executeScript() be called from within a content script?

"Cannot read property of undefined" when using chrome.tabs or other chrome API in content script


preg_match unknown modifier '.' in wordpress

Warning: preg_replace(): Unknown modifier


JQuery How to add a Accordion inside a Dialog

putting a jQuery UI Accordion in a jQuery UI Dialog


Redirecting to error page if a partial view encounters an error

ASP.NET MVC Custom Error Handling Application_Error Global.asax?


How can I use a list comprehension to extend a list in python?


Ways of parsing an XML document to Java objects


Uncaught exception 'Exception' with message 'String could not be parsed as XML on line 48

How to generate XML file dynamically using PHP?


How to inherit the attribute from interface to object when serializing it using JSON.NET

Getting SerializeObject to use JsonProperty "name" defined inside interface


Is there a way to do something on a J2EE server-start? I'm using Tomcat

Using special auto start servlet to initialize on startup and share application data


Doctrine 2: Find entity using entity relations

Doctrine2 findBy relationship object triggers string conversion error


Mail_Queue PHP Crond - mail sends but PHP process hangs


compare value with all the fields of a table in mysql

Search for all occurrences of a string in a mysql database


How doyou Amend the last commit message in git?

How to modify existing, unpushed commit messages?


Overwriting my local branch with remote branch

Reset local repository branch to be just like remote repository HEAD


Is there a way to tell matplotlib to loosen the zoom on the plotted data?

Add margin when plots run against the edge of the graph


Little endian Vs Big endian convention in x86 chips

How to interpret objdump disassembly output columns?


Help understanding class method returning singleton

What does @synchronized() do as a singleton method in objective C?


What are the specific differences between an "emulator" and a "virtual machine"?


How to get the name of attribute in python object?


JSF returns blank/unparsed page with plain/raw XHTML/XML/EL source instead of rendered HTML output


Function composition in Haskell with tuple arguments

Feed elements of a tuple to a function as arguments in Haskell?


java.lang.IllegalStateException:Could not find backup for factory javax.faces.application.ApplicationFactory


Best solution to remove duplicate values from case-insensitive array


Python code hangs while trying to open a named pipe for reading

Why does a read-only open of a named pipe block?


How to create instance of a class with the parameters in the constructor using reflection?

Can I use Class.newInstance() with constructor arguments?


C#'s switch statement is case-sensitive. Is there a way to toggle it so it becomes case-insensitive?

How to make C# Switch Statement use IgnoreCase


Click on ListBox with DataTemplate, select ListBox Item


Changing title and options in javascript confirm dialog

Changing the default title of confirm() in JavaScript?


How to resolve : Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"

Can not find the tag library descriptor for “http://java.sun.com/jsp/jstl/core”


How to add subject alernative name to ssl certs?


Should I use the datetime or timestamp data type in MySQL?


How to set a:link height/width with css?


How Do I Use Factory Girl To Generate A Paperclip Attachment?


How can a user cancel a long running query?


How to get the height of the text inside of a textarea


Should PDO::ATTR_PERSISTENT be used every time?

What are the disadvantages of using persistent connection in PDO


Best way to read/edit/add the googlecode wiki offline

Best way to read/edit/add to the googlecode wiki offline


Python rounding error with float numbers


What's the best way to return a pair of values in Java?


Mysql Update with table joins - update one table's field with sum of other table's field


How to randomize (shuffle) a JavaScript array?


nodejs - mongodb - how to find all where a != b?


Using the LinkedIn API in a C# application


jQuery Validation not running in IE (works in FF)

jQuery Validation not working in IE7 + IE8


Can textview have letters in different colors?

Is it possible to have multiple styles inside a TextView?


How do I check if a UIView is animating?

Test whether a UIView is in the middle of animation


Objective-C: Finding the amount of times an Object occurs in an Array with indexes

Objective-C: Count the number of times an object occurs in an array?


What does "<html xmlns="http://www.w3.org/1999/xhtml">" do?


Error java.lang.OutOfMemoryError: GC overhead limit exceeded


How to disable GridView scrolling in Android?


tellg() function give wrong size of file?


What are Alternative's "some" and "many" useful for?


HTTP 404 the requested resource can not be found

Servlet returns "HTTP Status 404 The requested resource (/servlet) is not available"


How to use xml2array get the xml date from a foreach?

How do you parse and process HTML/XML in PHP?


JavaScript problem: getElementsByName() doesn't work for me

What do querySelectorAll and getElementsBy* methods return?


Android code won't generate R.Java after cleaning

Developing for Android in Eclipse: R.java not regenerating


Compared to C#, Java's final is similar to const or readonly

What is the equivalent of Java's final in C#?


Why isn't this regular expression test working?


Fatal error: Call to a member function num_rows() on a non-object

Reference - What does this error mean in PHP?


How to de/encrypt user data with attr_encrypted and authlogic

How to implement password protection for individual files?


How to check if python module exists and can be imported

How to check if a python module exists without importing it


How to prevent the console window to close when running a console application?

What is the Best Practice for Combating the Console Closing Issue?


PHP Zend Route Config.ini - similar patterns


checking if a string has special characters

Check if a String contains a special character


How can I pass a parameter to a Java Thread?


Why does Spring MVC respond with a 404 and report "No mapping found for HTTP request with URI [...] in DispatcherServlet"?


undefined reference to pthread_create in linux (c programming)

Undefined reference to pthread_create in Linux


How to find if an array contains a specific string in JavaScript/jQuery?

How do I check if an array includes a value in JavaScript?


How can I disable a user's mouse and keyboard (Make the mouse not visible) in VB.net?


window.event.keyCode how to do it on Firefox?

ReferenceError: event is not defined error in Firefox


iPhone: counting unique items in an array

Objective-C: Count the number of times an object occurs in an array?


Java EE Enterprise Application: perform some action on deploy/startup

Using special auto start servlet to initialize on startup and share application data


How do I automatically install missing python modules?


How to get the key for a given object from an NSMutableDictionary?


favicon.png vs favicon.ico - why should I use PNG instead of ICO?


Is HTML, CSS remote debugging possible for Mobile and Tablets like Android , ipads?

How to debug web sites on mobile devices?


Dynamic regex pattern not working with special chars

Is there a RegExp.escape function in JavaScript?


How to automatically execute some code every time my JSP Application is deployed


XamlParseException after deploying WPF project


How to change the name of threads in an ExecutorService?

Naming threads and thread-pools of ExecutorService


Converting a string into date format in the code behind


Pass extra parameter to jQuery getJSON() success callback function

JavaScript closure inside loops – simple practical example


Check if iPhone is connected to the internet

How to check for an active Internet connection on iOS or macOS?


EditText needs clicking twice to open search dialog

How to do something after user clicks on my EditText


How does one create Buttons with Equal Widths?


Acquiring drive names (as opposed to drive letters) in Java


Why can't I declare a constant using var in C#?


XSS prevention in JSP/Servlet web application


What is the fastest way to parse & split XML content with huge file size (800MB UP) into several xml files in Java


Get number from Contacts into EditText android


Android splash screen image sizes to fit all devices


How to get the numbers after the decimal point? (java)

How do I get whole and fractional parts from double in JSP/Java?


How can I pass selected row to commandLink inside dataTable or ui:repeat?


PHP: Warning: sort() expects parameter 1 to be array, resource given

mysql_fetch_array()/mysql_fetch_assoc()/mysql_fetch_row()/mysql_num_rows etc... expects parameter 1 to be resource


trying to use Directory .EnumerateFiles("*.jpg", SearchOption.AllDirectories);

UnauthorizedAccessException cannot resolve Directory.GetFiles failure


Waveform visualization in JavaScript from audio

How to write a web-based music visualizer?


Using Amazon API/Webservice for search product by UPC barcode

Do the Amazon web service APIs support barcode/UPC queries?


Can popen() make bidirectional pipes like pipe() + fork()?


How can I convert ereg expressions to preg in PHP?


A 'for' loop to iterate over an enum in Java


How do the post increment (i++) and pre increment (++i) operators work in Java?


How to get the SQL command via "to_sql" when calculation methods like "count" / "maximum" are used?

How to use `to_sql` in AREL when using `average()`?


Is it possible to change mouse cursor when handling drag (from DragOver event)?

Can I choose a custom image for C# Windows Application Drag Drop functions?


Create an assoc array with equal keys and values from a regular array


How do I check the Database type in a Rails Migration?


Setting overflow-x: hidden adds a vertical scrollbar

CSS overflow-x: visible; and overflow-y: hidden; causing scrollbar issue


What happens if I define a 0-size array in C/C++?


How to display the comment text which you set in the xml comment?

Show <returns> xml tag into visual studio intellisense


parse an XML with SimpleXML which has multiple namespaces


Pre & post increment operator behavior in C, C++, Java, & C#

Why are these constructs using pre and post-increment undefined behavior?


ASP.NET MVC3: Debug and Release app settings not working

How can I use Web.debug.config in the built-in visual studio debugger server?


Why is my variable unaltered after I modify it inside of a function? - Asynchronous code reference


Returning multiple items from a function call in PHP


Google App engine - submitting form field "field[key]"


A pattern that matches all except starting with a word

Regex: match everything but specific pattern


Ignoring non-serializable objects in XamlWriter.Save

C# Attribute XmlIgnore and XamlWriter class - XmlIgnore not working


How can I eliminate spacing between inline elements in CSS?

How do I remove the space between inline/inline-block elements?


CSS3 Box-Shadow Showing Behind Sibling Div Element


Copy entire directory contents to another directory?

Copying files from one directory to another in Java


adding encoding information to the result of FOR XML


target both android and iphone with Python

Is it possible to use Python to write cross-platform apps for both iOS and Android?


Break a previous commit into multiple commits

Split a commit into smaller commits with Git?


jqGrid inline edit: how to save again if post returns error

Prevent restoring row if error was rised while editing


How to ajax-refresh dynamic include content by navigation menu? (JSF SPA)


Hints for java.lang.String.replace problem?


How do I do the equivalent of a java If-Else block using JSTL?


Is there any keyword in Java which is similar to the 'AS' keyword of C#


Matching files with various extensions using for loop


Understanding nested PHP ternary operator

Stacking Multiple Ternary Operators in PHP


Equivalent of .try() for a hash to avoid "undefined method" errors on nil?

How to avoid NoMethodError for nil elements when accessing nested hashes?


Is there a need to do a if(log.isDebugEnabled()) { ... } check?

In log4j, does checking isDebugEnabled before logging improve performance?


JSF: Partially adding text to component from AJAX call

How to monitor asynchronous/background thread status and get notifications in a JSF component


Using JQuery UI datepicker inside UpdatePanel

jquery datepicker ms ajax updatepanel doesn't work after post back


Is there an algorithm to extract values in duets from an array and operate over them?

Ruby array access 2 consecutive(chained) elements at a time


Undefined method 'task' using Rake 0.9.0


Warning - Build path specifies execution environment J2SE-1.4


Is there a way to avoid null check before the for-each loop iteration starts?


Use Code to write code inside of UITextView

Is it possible to include a quotation mark as part of an nsstring?


install_requires in setup.py depending on installed Python version

install_requires based on python version


Is there anyway to modify stat information like mtime or ctime manually in Python or any language at all?


Is it good practice to make the constructor throw an exception?


jQuery.getJSON not working properly in IE8 with gdata json-c. Why?

How to make cross-domain AJAX calls to Google Maps API?


Java:Why should we use BigDecimal instead of Double in the real world?


how to fix [function.getimagesize]: failed to open stream: in php?

trying to turn on allow_url_fopen by putting php.ini in wordpress root does not work


Java: no security manager: RMI class loader disabled

java.rmi.ServerException: RemoteException occurred in server thread (ClassNotFoundException)


JSF Validation Error: Value is not valid


How to get outgoing call number in android?

Not getting correct value when retrieving current outgoing phone number in android


SendMessage API to a java program - How to


What's the diffrerence between, Statically linked library and Dynamically linked Library


Should I Dispose() DataSet and DataTable?


How can I convert ereg expressions to preg in PHP?


LogCat Stops Running in Eclipse Needs Restart


What is the C++ equivalent of C#'s readonly field modifier?

Declaring readonly variables on a C++ class or struct


Programmatically set the value of a type="file" input HTML element?

How to set file input value when dropping file on page?


Python: Removing list element while iterating over list

How to remove items from a list while iterating?


Ruby on Rails App Displaying Unwanted Data

What is the difference between <%, <%=, <%# and -%> in ERB in Rails?


How to evaluate a math expression given in string form?


Resize background image in div using css


How can I generate random number in specific range in Android?

How do I generate random integers within a specific range in Java?


How do I set a variable to the output of a command in Bash?


AVL Tree: Finding the key with the smallest data values in keys between two values in O(logn) time


Windows skipping language-specific resources

LoadString works only if I don't have an English string table


ResultSet exception - before start of result set


Help about : View.setMargins(left , top, right , bottom ) ;

Margins of a LinearLayout, programmatically with dp


How to access numeric property of an object

How to access object properties with names like integers?


How to find each instance of a class in Ruby


JSF 2.1 ViewScopedBean @PreDestroy method is not called


regex matching an open and close tag and a certain text patterns inside that tag

What to do Regular expression pattern doesn't match anywhere in string?


Insert/update query on SQLite database with PDO works on local, but fails silently online


Comparing two strings, ignoring case in C#

What is difference between different string compare methods


How to get all captures of subgroup matches with preg_match_all()?

Get repeated matches with preg_match_all()


"Notice: Undefined variable", "Notice: Undefined index", and "Notice: Undefined offset" using PHP


Class not starting off from the main file in android

Android code starting from ContentProvider class rather than Main class


Perl Comparing two arrays if they match exactly

In Perl, is there a built in way to compare two arrays for equality?


help me understand partial matching in data.frame column names

Strange behaviour dropping column from data.frame in R


Is there a simple way to convert C++ enum to string?


Convert linq query expression with multiple froms into extension method syntax

Nested "from" LINQ query expressed with extension methods


Reading string from input with space character?

How do you allow spaces to be entered using scanf?


What are the best resources to learn Ant?


How can I pull from remote Git repository and override the changes in my local repository?

Reset local repository branch to be just like remote repository HEAD


SQL Server - use a parameter to select the top X of the result set

Use variable with TOP in select statement in SQL Server without making it dynamic


How can I tell when a CSS background image has loaded? Is an event fired?

How can I check if a background image is loaded?


What is the meaning of the ^ character in the Objective-C code?

Caret character between types rather than variables, surrounded by parentheses


How to convert string to NSDate in iphone?


Working with UTF-8 encoding in Python source

Correct way to define Python source code encoding


Java Scanner why is nextLine() in my code being skipped?

Scanner is skipping nextLine() after using next() or nextFoo()?


Traversing a "list" tree and get the type(item) list with same structure in python?

Iterating through list of list in Python


prevent a form from being submitted while pressing enter key

Prevent users from submitting a form by hitting Enter


How to add some images to resources & can be used in form?

Example code required for how to access embedded .Net image resources in C#


The $.param( ) inverse function in JavaScript / jQuery


Objective C, Thread 1 Program Received Signal SIGABRT

Xcode - How to fix 'NSUnknownKeyException', reason: … this class is not key value coding-compliant for the key X" error?


MySQL: Quick breakdown of the types of joins

What is the difference between "INNER JOIN" and "OUTER JOIN"?


How to remove item from a JavaScript object

How do I remove a property from a JavaScript object?


How can I open a link in new tab (and not new window)?


Android: How to implement Parcelable to my objects?


How to include all the jars present at a particular directory in the CLASSPATH in one go?

Including all the jars in a directory within the Java classpath


What does a "Cannot find symbol" or "Cannot resolve symbol" error mean?


How to upload files to server using JSP/Servlet?


Margins of a LinearLayout, programmatically with dp


ASP.NET MVC 3 localization with DisplayAttribute and custom resource provider


Whats the difference between window.location.host and window.location.hostname

location.host vs location.hostname and cross-browser compatibility?


PHP & Oracle - oci_connect() ORA-12705: Cannot access NLS data files

ORA-12705: Cannot access NLS data files or invalid environment


onload not getting called for object element

Load event not fired on Safari when reloading page


In which folder should I put "global" shared partial templates?

Where to put partials shared by the whole application in Rails?


How do I determine the current operating system with Node.js


How do I extract Rails view helpers into a gem?


Can't install libqt4-webkit on CENTOS 5.6 x86_64


Defining a generic nested map in thrift (JAVA - C++)

how can I define a map accept different kind of value in thrift?


sort records by two fields in ruby on rails

Ruby on Rails: updated_at - set as 0 on creation


What is a NullReferenceException, and how do I fix it?


How to know where the input/element goes to after the blur event?

When a 'blur' event occurs, how can I find out which element focus went *to*?


Defining a percentage width for a LinearLayout?

Set ImageView's max width as a percent of its parent's width


SQL Server: Extract Table Meta-Data (description, fields and their data types)


Doubt with the template instantiation problem in the below snippet of a user defined class

"template polymorphism" when calling function for templated parameter of base type, with derived type?


Fluent NHibernate: Query a many to many relation

Implementing "where not exists" with NHibernate QueryOver


Dealing with MVC forms authentication expiration during ajax request

How to manage a redirect request after a jQuery Ajax call


What do the numbers on a Git Diff header mean?

What does the “@@…@@” meta line with at signs in svn diff or git diff mean?


Syntax error due to using a reserved word as a table or column name in MySQL


confusion between using Keys.Shift and Keys.ShiftKey

.net difference between right shift and left shift keys


how to convert java string to Date object


How to prepare statement for update query?

How to include a PHP variable inside a MySQL statement


Why am I getting errors with execs nested in functions?

Why doesn't exec work in a function with a subfunction?


How to get emails and save them into mysql database

How do I receive email and process it in a web application


CREATE TABLE IF NOT EXISTS equivalent in SQL Server


Test if element is present using Selenium WebDriver?


How does browser generate symmetric key during SSL handshake


Excel VBA: getting row of clicked button

Excel VBA - Get corresponding Range for Button interface object


JSF page reflects Date incorrectly - 1 Day shifted

JSF convertDateTime renders the previous day


How can I detect if my browser is Firefox?


How can Python regex ignore case inside a part of a pattern but not the entire expression?

restrict 1 word as case sensitive and other as case insensitive in python regex | (pipe)


STA thread required for AutoCompleteMode set to SuggestAppend on ComboBox

Why do all Winforms programs require the [STAThread] attribute?


Where to place and how to read configuration resource files in servlet based application?


Wait until all jQuery Ajax requests are done?


How to replace selected text with html in a contenteditable element?


Difference between @android:id/list and @id/list

What is difference between @+id/android:list and @+id/list


Regex: match everything but specific pattern


How to match a line not containing a word

Regular expression to match a line that doesn't contain a word


Sorting HashMap objects on their properties rather values


Strange result when removing item from a list while iterating over it

How to remove items from a list while iterating?


Short circuit Array.forEach like calling break


how to pass variable from php template to javascript

How do I pass variables and data from PHP to JavaScript?


async validation on facebook registration plug-in using c#

facebook registration plug-in Async Validation


FileNotFoundException, the file exists Java


Proper way to detect that post_max_size was exceded in php?

How to gracefully handle files that exceed PHP's `post_max_size`?


Does Windows 7 restrict folder access as Vista does?


Proper way to close an OutputStream in Java?


Bash script won't re-direct input to a subprocess


Java : ConcurrentModificationException while iterating over list

Iterating through a Collection, avoiding ConcurrentModificationException when removing objects in a loop


Set a different text to an ACTION_SEND intent according to the application selected in the chooser

How to filter specific apps for ACTION_SEND intent (and set a different text for each app)


Firefox 6 Infinite Page Refresh With Page With Hash Tags


Android and setting width and height programmatically in dp units


MVC4 FoolProof Data Annotations - How to check that field does not equal to zero?


multiple instances of a short when switching between uiviewcontrollers


*** glibc detected *** : free(): invalid next size (fast) in C code

Facing an error "*** glibc detected *** free(): invalid next size (fast)"


How can I reload objects in my namespace in ipython


Passing special Characters from JSP to Controller

How to pass Unicode characters as JSP/Servlet request.getParameter?


How to get indices of a sorted array in Python

Equivalent of Numpy.argsort() in basic python?


How do you close/hide the Android soft keyboard programmatically?


How do I convert a single value of type T into an IEnumerable<T>?


ASP.NET MVC: The model item passed into the dictionary is of type (...), but this dictionary requires a model item of type (...)

The model item passed into the dictionary is of type .. but this dictionary requires a model item of type


the right way to pass variable to a callback function

Pass an extra argument to a callback function


App Submission Error - Invalid binary - Invalid Code Signing Error


IP address storing in MySQL database using PHP

What is the most appropriate data type for storing an IP address in SQL server?


Knockout JS + Partial Views and Validation?


When is null or undefined used in JavaScript?

What is the difference between null and undefined in JavaScript?


jQuery access to element by ID after a .load() call

How to select an element loaded through the jQuery load() function?


Setting the height of the TabWidget on Android?


how to deserialize WCF Data Service object?

How to deserialize object from OData Atom feed?


System.Exception: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine


How can I convert ereg expressions to preg in PHP?


What am I not understanding about getline+strings?


How to convert a string list into an integer in python

Get a list of numbers as input from the user


Ignore files that have already been committed to a Git repository


iOS 4 Image Oriented Incorrectly When Posted To Server

iOS UIImagePickerController result image orientation after upload


Styling navigationBar but keeping navigationItem the default style


How to make my program read edge of screen so that can window snapping


Call to undefined function curl_init().?


Difference starting program from registry to starting from startup folder

Why does impersonating a process return "The directory name is invalid"?


How to create a dynamic property in this scenario

Adding unknown (at design time) properties to an ExpandoObject


php preg_replace returns unknown modifier '+'?

Warning: preg_replace(): Unknown modifier


setSize() v/s setPreferredSize() and pack()

Java: Difference between the setPreferredSize() and setSize() methods in components


Oracle Search all tables all columns for string

Search All Fields In All Tables For A Specific Value (Oracle)


What does the construct x = x || y mean?


How to check if another instance of the application is running

What is the correct way to create a single-instance WPF application?


Why don't the std::fstream classes take a std::string?


Why serialize does not include submit button name?

jQuery serializeArray doesn't include the submit button that was clicked


Run one last Ajax Request on (Back button, forward button, close tab/browser)

JavaScript, browsers, window close - send an AJAX request or run a script on window closing


Dynamic favicon using image manipulation similar to Gmail adding a count


How to parse a month name (string) to an integer for comparison in C#?


How to create a hash or dictionary object in JavaScript


PHP PDO code to insert in MySQL db does not work


How to shrink a database in MS SQL Server if the drive is full?


How to access object attribute given string corresponding to name of that attribute


Adding a directory to the PATH environment variable in Windows


CSS3 border-radius on display:table-row element


Does it make sense to make std::map key const?

What is difference between const and non const key?


"Fatal error: Cannot redeclare <function>"


Can I optionally turn off the JsonIgnore attribute at runtime?


What's up with different contexts in android?

Diffinitive rules for using Android's getBaseContext, getApplicationContext or using an Activity's "this"


What are the PowerShell equivalents of Bash's && and || operators?


How can I change Firefox window.location.hash without creating a page reload?

Change the URL in the browser without loading the new page using JavaScript


.NET Framework Time complexity in the documentation

Asymptotic complexity of .NET collection classes


How to find intersection point between lines matlab

Find point of intersection between two vectors in MATLAB


How to download image from internet using greasemonkey script?

Save images to hard disk WITHOUT prompt?


How to retrieve image from database and display in JSP via Servlet?

How to retrieve and display images from a database in a JSP page?


I want to get index in array which contains my value in C#


How to turn a string into a method call?

How to call methods dynamically based on their name?


Why do regex constructors need to be double escaped?


How to convert list of key-value tuples into dictionary?


Is "SELECT COUNT(column)" faster/slower than "SELECT COUNT(*)"?

COUNT(*) vs. COUNT(1) vs. COUNT(pk): which is better?


Replacing a colon using string replace using Javascript and jQuery


JasperReports: Getting JRRuntimeException: Error creating SAX parser


How to download large files through PHP script


How to force quit the Android app and restart it?

How to force stop my android application programmatically?


Search all .pdf file present in the Android device


How to programmatically minimize an iPad application?


How to detect that the app is running on a jailbroken device?

How do I detect that an iOS app is running on a jailbroken phone?


Custom listbox with move fwd/bwd buttons


sorting array based on inner-array key-value


Read both text and binary data from InputStream

Read from InputStream in multiple formats


What is the best regular expression to check if a string is a valid URL?


How to reuse templates from jar in a seam project


How to make a copy of a 2D array in Python?


How do I import the javax.servlet / jakarta.servlet API in my Eclipse project?


How to make Git "forget" about a file that was tracked but is now in .gitignore?


Replace a link with it's text with jQuery


My WPF UserControl doesn't receive input when hosted in a WinForm Form

WPF WinForms Interop issue with Enable / Disable


How to print colored text to the terminal?


Meaning of the line marker with 'blue ball' when stepping through code in VS2008?

What does a blue dot beneath the Visual Studio breakpoint mean?


Not able to compile C/C++ code that's using ncurses

Why is curses on linux giving me following error?


Is there a way to use html in an all-flash air app?


Invoice table: Send fees and Receive Fees


WM_KEYDOWN - capturing keypress causing event


How to access an element deep in an array of arrays without getting 'undefined method' error

Ruby Style: How to check whether a nested hash element exists


Can git tell me if a merge will conflict without actually merging?


Invalid JSON in Chrome, no problem in Firefox (so strange!)


How to get last modified date of the webpage?


How to identify if an iPhone is in airplane mode?


What are the pros and cons of Git submodule and Repo?

What is Repo and Why does Google use it?


Get extension from filename like variable - Javascript - jQuery

How can I get file extensions with JavaScript?


How can I prepend the 'http://' protocol to a url when necessary?

How can I prepend http to a url if it doesn't begin with http?


Can we have multiple lines in subtitle of annotation in mapkit

Custom MKPinAnnotation callout bubble similar to default callout bubble


NoAccessToProcedureBodies error when executing MySql procedure with CFStoredProc

Can't execute a MySQL stored procedure from Java


Using Node.JS Over PHP in my next Web App Project?


Executing ssh command in a bash shell script within a loop

in my bash loop over a list of some servers, if the ssh connects the bash script exits


How do I pass variables and data from PHP to JavaScript?


(java) ObjectInputStream deserializing wrong version of object

Java socket/serialization, object won't update


QGLWidget appears black in Windows 7 64 bit


How to save integer to sql column with data type int

Problem with querying sql server from vb


Scroll to a specific position on a page using Javascript / Jquery

jQuery jump or scroll to certain position, div or target on the page from button onclick


Select element by index (multiple elements of same class)


Switching from PHP !ereg and !eregi to preg_match

How can I convert ereg expressions to preg in PHP?


microtime to seconds or hours or min conversion

How to calculate the difference between two dates using PHP?


Is there any #IF and #CONST .NET equivalent in Java/Android?


In XAML using ItemsControl if !Source.Any() technique to show "No records" Label


Default Cell Format Changing Automatically on Datagrid


How do I remove all traces of Git for my repository?


ASP.NET Membership Password Recovery E-mail

ASP.NET PasswordRecovery Control with Localized content


How can I use += operator in PHP for String

How to combine two strings together in PHP?


how to use Graph Theory for scheduling execution order?


How to grep for two words existing on the same line?


Difference in output of i=i++ + ++c; and i=++i + c++;

Why are these constructs using pre and post-increment undefined behavior?


mysql_fetch_array() expects parameter 1 to be resource, boolean!

Warning: mysql_fetch_* expects parameter 1 to be resource, boolean given error


What is the JavaScript version of sleep()?


How do I split a string into an array of characters?

How to get character array from a string?


Google Maps integration kills jquery animations (in Safari)

jQuery jScrollPane issue/conflict with Google maps on Safari


How to generate event handlers with loop in Javascript?


How can I convert ereg expressions to preg in PHP?


How to hide the horizontal line at the bottom of each item in android listview?

How do I remove lines between ListViews on Android?


Vertically centering a div inside another div

How to vertically center <div> inside the parent element with CSS?


How to find current base execution directory in groovy (or java)?

How do you get the path of the running script in groovy?


tabs disappear when starting new activity from tab content

Launching activities within a tab in Android


"error LNK2001: unresolved external symbol"

What is an undefined reference/unresolved external symbol error and how do I fix it?


How do I make UILabel display outlined text?


Strange result when removing item from a list while iterating over it


Linux: how to mark a file descriptor as not inheritable on fork?

Prevent file descriptors inheritance during Linux fork


How do I rename the android package name?


Get top results for each group (in Oracle)


100% width table overflowing div container


How can I align the columns of a space separated table in Bash?

How can I align the columns of tables in Bash?


How do I search for a number in a 2d array sorted left to right and top to bottom?


Getting error: The content of element type "web-app" must match,


Hashmap gives Null when trying to get an objects that exists in it

Why do I need to override the equals and hashCode methods in Java?


What are documentation comments in Xcode?

What are the new documentation commands available in Xcode 5?


Get datetime in javascript/jquery with "31/12/2010 03:55 AM" format

Compare 2 dates in format DD/MM/YYYY with javascript/jquery


Pros and cons of explicitly adding your unit names to Delphi's project source

Adding files to the DPR file vs project paths in Delphi 2010


Compare two images, and return the rate of similarity in %


Smooth reload of uitableview data when rows are deleted


Infinite While Loop When InputMidmatchException is caught in try-catch block

try/catch with InputMismatchException creates infinite loop


How can I retain HTML form field values in JSP after submitting form to Servlet?


iPhone Development - NSDate - help with my clock


How to start an Android application from the command line?

How to start an application using android ADB tools?


Where in Qt Creator do I pass arguments to a compiler?


Truncate table in foreach breaking with table name 'order'

Syntax error due to using a reserved word as a table or column name in MySQL


How to navigate to implementing class from interface in Eclipse?

Jump into interface implementation in Eclipse IDE


In what order are locations searched to load referenced DLLs?


for (var key in object) in CoffeeScript?

How to use Javascript's for (attr in this) with Coffeescript


can I write a variable from thread A while I read the same variable from thread B

Do I need to guard a variable that is written by one thread and read by many?


How to make my app singleton application?

What is the correct way to create a single-instance WPF application?


What's the right way to create a date in Java?


Shell script to get the process ID on Linux


Strange, unexpected behavior (disappearing/changing values) when using Hash default value, e.g. Hash.new([])


Can you add a non-square drop shadow to PNG content with CSS?


Xcode - How to fix 'NSUnknownKeyException', reason: … this class is not key value coding-compliant for the key X" error?


How to get the list of properties of a class?


"Connect failed: Access denied for user 'root'@'localhost' (using password: YES)" from php function

MySQL ERROR 1045 (28000): Access denied for user 'bill'@'localhost' (using password: YES)


How to give the "Root Element" name in two Words In XML


ending input loop when input file is routed through stdin at end of file

Detecting EOF in C++ from a file redirected to STDIN


Mapping ManyToMany with composite Primary key and Annotation:


Regular expression for URL validation in javascript

What is the best regular expression to check if a string is a valid URL?


Get text of the selected option with jQuery

Get selected text from a drop-down list (select box) using jQuery


JQuery $.post in a function. Wait for callback to define the return.

How do I return the response from an asynchronous call?


Converting a String Operation to Short (JAVA)

How to evaluate a math expression given in string form?


Classes to Protect from SQL/XXS attacks?


Syntax error due to using a reserved word as a table or column name in MySQL


iPhone : Problem while sending image and text in HTML formate using MFMailCompose

How to add a UIImage in MailComposer Sheet of MFMailComposeViewController


Find X/Y of an HTML element with JavaScript


How do I use accurate float arithmetic in Python?

Is floating point arbitrary precision available?


Where and why do I have to put the "template" and "typename" keywords?


M_PI works with math.h but not with cmath in Visual Studio

How do I access math constants (eg. M_PI) in Visual C++ 2008?


How to perform deep copying of struct with CUDA?

Copying a struct containing pointers to CUDA device


Can't update RVM - "fatal: Unable to find remote helper for 'http'"


When monkey patching an instance method, can you call the overridden method from the new implementation?


Create Image in Java using 16 bit pixel data


Visibility IValueConverter for ObservableCollection<T>


What does SwingUtilities.invokeLater do?

SwingUtilities.invokeLater() why is it needed?


Detect if executable file is on user's PATH

How can I check if a program exists from a Bash script?


How do you do a deep copy of an object in .NET?


python parsing a datetime with a timezone


Shorthand function for checking whether a property exists

Test for existence of nested JavaScript object key


Unexpected output printing a float cast as an int


Ordering Array of Objects by an attribute

Sort ArrayList of custom Objects by property


How to access a Java object in JavaScript from JSP

Access Java / Servlet / JSP / JSTL / EL variables in JavaScript


What's the most simple way to convert comma separated string to int[]?


How to go from a selected button in a list to different activities or the same activity with different text

ListView with a dynamic intents that change a TextView and WebView on each call


What is an alternative to execfile in Python 3?


How to construct a std::string with embedded values, i.e. "string interpolation"?


Intercepting call to the back button in my AJAX application


Why does foo.append(bar) affect all elements in a list of lists?

List of lists changes reflected across sublists unexpectedly


How to output file content (from DB) in page source?

Obtaining Facelets templates/files from an external filesystem or database


how get integer only and remove all string in C#


Dispose not working as expected in DirectorySearcher

Memory Leak when using DirectorySearcher.FindAll()


Standard Android Button with a different color


Is there an example code in Python for creating dropdown / popup menus using PGU?


iPhone - Detect (recognize) a visual pattern or object using the device's camera


Monitoring R data loading progress when using read.table

How do I create a progress bar for data loading in R?


Check if a file exists with wildcard in shell script

Test whether a glob has any matches in bash