Vim
How to select between brackets (or quotes or …) in vim?
http://stackoverflow.com/questions/1061933/how-to-select-between-brackets-or-quotes-or-in-vim/1062001#1062001 http://vimdoc.sourceforge.net/htmldoc/motion.html#object-selectTo select between the single quotes I usually do a vi' (select inner single quotes).
Inside a parenthesis block, I use vib (select inner block)
Inside a curly braces block you can use viB (capital B)
To make the selections "inclusive" (select also the quotes, parenthesis or braces) you can use a instead of i.
You can read more about the Text object selections on the manual.
http://stackoverflow.com/questions/1061933/how-to-select-between-brackets-or-quotes-or-in-vim/1062001#1062001
Java
JAXBElement Response from WebServices
https://www.java.net//node/694561Method m = item.getClass().getMethod("getFirstName"); JAXBElement firstName = (JAXBElement)m.invoke(item); System.out.println(firstName.getValue()); m = item.getClass().getMethod("getLastName"); JAXBElement lastName = (JAXBElement)m.invoke(item); System.out.println(lastName.getValue());
How do I prevent JAXBElement
<jaxb:bindings version="2.1" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <jaxb:globalBindings generateElementProperty="false"/> </jaxb:bindings>
<jaxb:globalBindings generateElementProperty="false" fixedAttributeAsConstantProperty="true" choiceContentProperty="true">
Html
Href attribute for JavaScript links: “#” or “javascript:void(0)”?
http://stackoverflow.com/questions/134845/href-attribute-for-javascript-links-or-javascriptvoid0javascript:void(0)
No comments:
Post a Comment