This file contains hidden or 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
| [4233374] controller.ChartController SubView Data: {"viewset":[{"series":[{"type":"dataset","data":[{"label":"org-summary:id","value":5},{"label":"annual","value":7.10930577782E9},{"label":"gross-ob","value":5.59038009095E9},{"label":"org-summary:id","value":8},{"label":"annual","value":3.76166824959E9},{"label":"gross-ob","value":2.91999211187E9},{"label":"org-summary:id","value":7},{"label":"annual","value":5.48849089717E9},{"label":"gross-ob","value":3.88675621221E9},{"label":"org-summary:id","value":12},{"label":"annual","value":2.91910676044E9},{"label":"gross-ob","value":2.10178094007E9},{"label":"org-summary:id","value":13},{"label":"annual","value":3.2083779E8},{"label":"gross-ob","value":1.9029132419E8},{"label":"org-summary:id","value":9},{"label":"annual","value":2.80368134152E9},{"label":"gross-ob","value":2.11618796923E9},{"label":"org-summary:id","value":6},{"label":"annual","value":3.48806074877E9},{"label":"gross-ob","value":2.97415625776E9},{"label":"org-summary:id","value":4},{"label":"annua |
This file contains hidden or 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
| [4233374] controller.ChartController SubView Data: {"viewset":[{"series":[{"type":"dataset","data":[{"label":"org-summary:id","value":5},{"label":"annual","value":7.10930577782E9},{"label":"gross-ob","value":5.59038009095E9},{"label":"org-summary:id","value":8},{"label":"annual","value":3.76166824959E9},{"label":"gross-ob","value":2.91999211187E9},{"label":"org-summary:id","value":7},{"label":"annual","value":5.48849089717E9},{"label":"gross-ob","value":3.88675621221E9},{"label":"org-summary:id","value":12},{"label":"annual","value":2.91910676044E9},{"label":"gross-ob","value":2.10178094007E9},{"label":"org-summary:id","value":13},{"label":"annual","value":3.2083779E8},{"label":"gross-ob","value":1.9029132419E8},{"label":"org-summary:id","value":9},{"label":"annual","value":2.80368134152E9},{"label":"gross-ob","value":2.11618796923E9},{"label":"org-summary:id","value":6},{"label":"annual","value":3.48806074877E9},{"label":"gross-ob","value":2.97415625776E9},{"label":"org-summary:id","value":4},{"label":"annua |
This file contains hidden or 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
| This from OC4J: | |
| 2008-10-28 13:36:46.110 NOTIFICATION Started application : mdd-services | |
| 2008-10-28 13:36:46.115 NOTIFICATION Binding web application(s) to site secure-web-site begins... | |
| 2008-10-28 13:36:46.115 NOTIFICATION Binding mdd-services web-module for application mdd-services to site secure-web-site under context root mdd-services | |
| Oct 28, 2008 1:36:46 PM org.springframework.web.context.ContextLoader initWebApplicationContext | |
| INFO: Root WebApplicationContext: initialization started | |
| Oct 28, 2008 1:36:46 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh | |
| INFO: Refreshing org.springframework.web.context.support.XmlWebApplicationContext@ed4893: display name [Root WebApplicationContext]; startup date [Tue Oct 28 13:36:46 MST 2008]; root of context hierarchy | |
| Oct 28, 2008 1:36:46 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions |
This file contains hidden or 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
| WARNING: Unable to initialize MDD Service Simulator: File: response_all.xml could not be loaded | |
| Oct 28, 2008 2:08:05 PM org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromWSDL | |
| INFO: Creating Service {http://metadata.dod.mil/mdr/ns/MDE/1.0/ws/MetadataDiscoveryService}MetadataDiscoveryService from WSDL: WEB-INF/wsdl/MetadataDiscoveryService.wsdl | |
| [ERROR] - Context initialization failed (ContextLoader.java:initWebApplicationContext:204) | |
| org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mdd-service': Invocation of init method failed; nested exception is java.lang.IncompatibleClassChangeError | |
| Caused by: | |
| java.lang.IncompatibleClassChangeError | |
| at org.apache.cxf.wsdl11.WSDLServiceBuilder.copyExtensionAttributes(WSDLServiceBuilder.java:120) | |
| at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:228) | |
| at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:153) |
This file contains hidden or 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
| class ProductController { | |
| def index = { redirect(action:list,params:params) } | |
| // the delete, save and update actions only accept POST requests | |
| def allowedMethods = [delete:'POST', save:'POST', update:'POST'] | |
| def list = { | |
| if(!params.max) params.max = 10 | |
| [ productList: Product.list( params ) ] |
This file contains hidden or 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
| public enum Color { red, yellow, green } | |
| class TrafficLight { | |
| def color = Color.red | |
| } | |
| def light = new TrafficLight() | |
| println "The traffic light is ${light.color}" |
This file contains hidden or 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
| package com.accenture.netcds.notification.event; | |
| /** | |
| * Created by IntelliJ IDEA. | |
| * User: kplummer | |
| * Date: Mar 25, 2009 | |
| * Time: 1:12:18 PM | |
| * To change this template use File | Settings | File Templates. | |
| */ |
This file contains hidden or 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
| private List<NotificationFilter> processFiltersJson(String filters) { | |
| List<NotificationFilter> fl = new ArrayList(); | |
| fl = Collections.EMPTY_LIST; | |
| JSONArray ja = new JSONArray().fromObject(filters); | |
| for (Iterator i = ja.iterator(); i.hasNext();) { | |
| JSONObject jf = (JSONObject)i.next(); | |
| NotificationFilter nf = new NotificationFilter(); | |
| nf.setEmail(jf.getString("email")); | |
| nf.setFilterTypeCode(jf.getString("filterTypeCode")); | |
| nf.setFilterText(jf.getString("filterText")); |
This file contains hidden or 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
| import groovy.xml.MarkupBuilder | |
| import org.jivesoftware.smack.packet.PacketExtension | |
| import org.jivesoftware.smack.Chat | |
| import org.jivesoftware.smack.ConnectionConfiguration | |
| import org.jivesoftware.smack.PacketListener | |
| import org.jivesoftware.smack.XMPPConnection | |
| import org.jivesoftware.smack.XMPPException | |
| import org.jivesoftware.smack.filter.PacketFilter | |
| import org.jivesoftware.smack.filter.PacketTypeFilter |
This file contains hidden or 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
| # $ tweet Hi mom! | |
| # | |
| # Put this in ~/.bashrc or wherever. | |
| # If it doesn't work, make sure your ~/.netrc is right | |
| # | |
| # (Thanks to @anildigital and @grundprinzip for curl-fu) | |
| function tweet { | |
| curl -n -d status="$*" https://twitter.com/statuses/update.xml --insecure &> /dev/null | |
| echo "tweet'd" |
OlderNewer