Pages
(Move to ...)
Home
Java
Android
Php
Cake PHP
jQuery
Grails
All Pages
▼
Saturday, June 23, 2018
When do I need to call this method Runtime.getRuntime().addShutdownHook() > Java.lang.Runtime.addShutdownHook(Thread hook) Method > Java Shutdown hook – Runtime.addShutdownHook() > Grails on Groovy: Add a ShutdownHook > Runtime: addShutdownHook(Thread hook)
›
The java.lang.Runtime.addShutdownHook(Thread hook) method registers a new virtual-machine shutdown hook.The Java virtual machine shu...
How to pass parameters / arguments to your PHP script via the command line
›
If you want to be able to assign variable names for the values being passed in like php script.php -pvalue1 , getopt() is the way to...
Friday, June 22, 2018
Header only retrieval in php via curl | PHP CURL get content type from URL | PHP CURL retrieve headers information from URL
›
Response headers can contain valuable information and may help to keep your API responses simpler by separating the actual response ...
jQuery AJAX fetch only headers and decide wheather to get the content | Use jQuery to send a HEAD request with AJAX and get the size of a file | Getting response headers data from an AJAX request with javascript
›
Response headers can contain valuable information and may help to keep your API responses simpler by separating the actual response ...
Get URL and URL Parts in JavaScript | Get an Absolute URL with JavaScript | How to get the exact href value only without their domain | How to check if any Link is for some specific domain | Link attribute HOST > PATHNAME > Filter links by domain | host name
›
I'm having trouble in getting the exact value of href only It's a little known (maybe) fact that most browsers convert...
A regex to match a substring that isn't followed by a certain other substring > Find Any Word Not Followed by a Specific Word > Regex Negative Lookbehind
›
The problem is I need to match a word say "match" in a string. It is very easy using the expression /(match)/gi Above exp...
Sunday, June 17, 2018
Grails on Groovy > Invalidate Session > Error Handling - Session already invalidated
›
Problem is that in my grails application, when I invalidating the existing http session using session.invalidate() and creating a n...
‹
›
Home
View web version