Skip to content

Instantly share code, notes, and snippets.

View delayAnimate.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>delay demo</title>
<style>
div {
position: absolute;
width: 60px;
height: 60px;
View db_import_error.log
Connected to: Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production
Master table "FCIT_QA"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "FCIT_QA"."SYS_IMPORT_FULL_01": fcit_qa/********@xe directory=data_pump_dir DUMPFILE=dump_fcit_qa.dmp
Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
Processing object type SCHEMA_EXPORT/TABLE/TABLE
ORA-39083: Object type TABLE:"FCIT_QA"."BRANDENTITYHQ" failed to create with error:
ORA-00959: tablespace 'FCITTBS' does not exist
Failing sql is:
CREATE TABLE "FCIT_QA"."BRANDENTITYHQ" ("BRAND_ID" NUMBER NOT NULL ENABLE, "BRAND_CODE" CHAR(1 BYTE), "BRAND_BID" NUMBER, "BRAND_NAME" VARCHAR2(255 BYTE), "BRAND_NAME_EN" VARCHAR2(255 BYTE), "PHONE" VARCHAR2(20 BYTE), "CONTACT_NAME" VARCHAR2(255 BYTE), "CONTACT_EMAIL" VARCHAR2(255 BYTE), "CONTACT_PHONE" VARCHAR2(20 BYTE), "CONTA
View db_connection_exception.log
at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.day.j2ee.servletengine.ServletRuntimeEnvironment.service(ServletRuntimeEnvironment.java:250)
at com.day.j2ee.servletengine.RequestDispatcherImpl.doFilter(RequestDispatcherImpl.java:321)
at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:340)
at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:383)
at com.day.j2ee.servletengine.ServletHandlerImpl.process(ServletHandlerImpl.java:335)
at com.day.j2ee.servletengine.HttpListener$Worker.run(HttpListener.java:644)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error Timeout waiting for idle object
View project.json
[
{
"createdDate":1430402433000,
"deletedDate":1430508203000,
"id":1,
"slug":"project1",
"title":"My First Project"
},
{
"createdDate":1430402688000,
View gist:bb548c5b50298f0f898a
Details
I Need a supply chain automation API.
Should have these 5 Features
1) GPS Tracking and Location Modeling
2) Traffic Monitor for the best route
3)Estimates time and related complexities
4) Schedules and manages Resources
5) Forecasts
View desc.html
<h3 class="title">Getting started</h3>
<p>Morbi ac purus vel massa ornare faucibus vel at turpis. Proin venenatis sapien et massa egestas pharetra tristique mauris ultricies. Integer mi arcu, mattis eu aliquet id, mattis id libero. Aenean interdum dui eget massa pulvinar luctus laoreet felis suscipit. Duis felis metus, hendrerit quis viverra ut, placerat sit amet nisl. Sed rutrum sapien sed augue venenatis non aliquet odio pretium. Mauris arcu velit, consectetur et sollicitudin ut, venenatis vel massa. Praesent nec metus non ipsum cursus lacinia. Duis felis metus, hendrerit quis viverra ut, placerat sit amet nisl. Sed rutrum sapien sed augue venenatis.</p>
<h3 class="title">Sub-header</h3>
<p>Morbi ac purus vel massa ornare faucibus vel at turpis. Proin venenatis sapien et massa egestas pharetra tristique mauris ultricies. Integer mi arcu, mattis eu aliquet id, mattis id libero. Aenean interdum dui eget massa pulvinar luctus laoree
View dialog.xml
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
jcr:primaryType="cq:Dialog"
height="{Long}500"
width="{Long}700"
xtype="dialog">
<items
jcr:primaryType="cq:Widget"
xtype="tabpanel">
<items jcr:primaryType="cq:WidgetCollection">
View log.log
Error during include of component '/apps/gel/components/page/basic'
Error Message:
org.apache.sling.api.scripting.ScriptEvaluationException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: com/gel/common/utils/LocaleUtils
Processing Info:
Page = /content/gel/sg/en/tienpage
Resource Path = /content/gel/sg/en/tienpage/jcr:content
Cell = basic
View DySubscriberDAO..java
public static List<DySubscriber> findByIdentifier(String identifier, Object value, RangeCondition condition) {
DynamoRequest request = createRequest(DySubscriber.class);
if (value instanceof Float) {
request.addComparison( condition, identifier, (Float) value );
} else {
request.addComparison( condition, identifier, value.toString() );
}
View perSubscriberCriteria.java
private SubscriberList perSubscriberCriteria (String identifier, boolean negate) {
// For example if comparison identifier is "firstname", type is equalsTo and value is "Tien"
// Get all subscribers whose firstname is tien
Object fromValue = rule.getEqualToStr() != null && !rule.getEqualToStr().isEmpty() ? rule.getEqualToStr() : null;
RangeCondition operator = rule.getRangeCondition();
Object toValue = null;
if (fromValue == null) {
You can’t perform that action at this time.