This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DocFlavor flavor = DocFlavor.BYTE_ARRAY.AUTOSENSE; | |
PrintService service = PrintServiceLookup.lookupDefaultPrintService(); | |
DocPrintJob pj = service.createPrintJob(); | |
byte[]bytes =cadena.getBytes(); | |
Doc doc = new SimpleDoc(bytes, flavor,null); | |
try{ | |
pj.print(doc,null); | |
}catch(Exception e){ } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case class Bool(b: Boolean) { | |
def ?[X](t: => X) = new { | |
def |(f: => X) = if(b) t else f | |
} | |
} | |
object Bool { | |
implicit def BooleanBool(b: Boolean) = Bool(b) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export CP=lib/ | |
for i in $(ls -1 lib/*jar); do CP=$CP:$i; done | |
java -cp $CP org.apache.axis.wsdl.WSDL2Java -w -p ${package} -o src ${wsdl} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ifconfig lo0 alias <IP> | |
ifconfig lo0 -alias <IP> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for ((k,v)<-map) { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
instance.asInstanceOf[Class] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select 'alter table '|| tablename ||' owner to ;' from pg_tables where schemaname = 'public'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./startManagedWebLogic.sh stigmataMS http://192.168.0.102:7001 -Dweblogic.management.allowPasswordEcho=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./startWebLogic.sh && ./startNodeManager.sh |
OlderNewer