###Challenge Create a repo that contains these classes:
- Car
- Motorcycle
- Vehicle
- Tank
- Helicopter
- QuadCopter
- Plane
'use server'; | |
import * as React from 'react'; | |
import { revalidateAction } from './cacheBusterAction'; | |
import { ClientCacheBusterContainer } from './ClientCacheBuster'; | |
export const CacheBusterContainer = ({ children }: { children: React.ReactNode }) => { | |
return <ClientCacheBusterContainer revalidateAction={revalidateAction}>{children}</ClientCacheBusterContainer>; | |
}; |
// Type definitions for react-shortcuts v1.6.0 | |
// Project: https://github.com/avocode/react-shortcuts | |
// Definitions by: Chris Grigg <https://github.com/subvertallchris> | |
/// <reference types="react"/> | |
declare namespace ReactShortcuts { | |
type PlatformType = 'osx' | 'windows' | 'linux' | 'other'; | |
interface Keymap { |
inoremap jk <ESC> | |
let mapleader = "\<Space>" |
###Challenge Create a repo that contains these classes:
class Person | |
include Neo4j::ActiveNode | |
property :name, type: String | |
property :age, type: Integer | |
has_many :out, :houses, type: 'OWNS_PROPERTY' | |
has_many :out, :vehicles, type: 'OWNS_VEHICLE' | |
end | |
class House |
class Team | |
include Neo4j::ActiveNode | |
property :name, type: String | |
has_one :out, :league, type: :PLAY_IN | |
end | |
class League | |
include Neo4j::ActiveNode | |
property :name, type: String | |
property :rank, type: Integer |
I hereby claim:
To claim this, I am signing this object:
2015-02-02 17:54:38.301+0000 DEBUG [o.n.k.i.q.QueryExecutionEngine]: MATCH (n) WHERE ID(n) = {neo_id} OPTIONAL MATCH n-[r]-() DELETE n, r | |
2015-02-02 17:54:38.301+0000 DEBUG [o.n.k.i.q.QueryExecutionEngine]: MATCH (n) WHERE ID(n) = {neo_id} OPTIONAL MATCH n-[r]-() DELETE n, r | |
2015-02-02 17:54:38.311+0000 DEBUG [o.n.k.i.q.QueryExecutionEngine]: MATCH (n) WHERE ID(n) = {neo_id} OPTIONAL MATCH n-[r]-() DELETE n, r | |
2015-02-02 17:54:38.311+0000 DEBUG [o.n.k.i.q.QueryExecutionEngine]: MATCH (n) WHERE ID(n) = {neo_id} OPTIONAL MATCH n-[r]-() DELETE n, r | |
2015-02-02 17:54:38.317+0000 DEBUG [o.n.k.i.q.QueryExecutionEngine]: CREATE (n:`Student` {props}) RETURN ID(n) | |
2015-02-02 17:54:38.317+0000 DEBUG [o.n.k.i.q.QueryExecutionEngine]: CREATE (n:`Student` {props}) RETURN ID(n) | |
2015-02-02 17:54:38.323+0000 ERROR [o.n.s.r.t.TransactionFacade]: Failed to commit transaction. | |
java.lang.RuntimeException: org.neo4j.kernel.api.exceptions.TransactionFailureException: Transaction rolled back even if marked as successful | |
at org.neo4 |
Feb 02, 2015 10:19:30 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate | |
INFO: Initiating Jersey application, version 'Jersey: 1.18.1 02/19/2014 03:28 AM' | |
Feb 02, 2015 10:19:30 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate | |
INFO: Initiating Jersey application, version 'Jersey: 1.18.1 02/19/2014 03:28 AM' | |
Feb 02, 2015 10:19:30 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate | |
INFO: Initiating Jersey application, version 'Jersey: 1.18.1 02/19/2014 03:28 AM' |
2015-02-02 15:19:27.559+0000 INFO [API] Setting startup timeout to: 120000ms based on 120000 | |
2015-02-02 15:19:29.222+0000 INFO [API] Successfully started database | |
2015-02-02 15:19:29.296+0000 INFO [API] Starting HTTP on port :7474 with 8 threads available | |
2015-02-02 15:19:29.520+0000 INFO [API] Enabling HTTPS on port :7473 | |
2015-02-02 15:19:29.520+0000 INFO [API] No SSL certificate found, generating a self-signed certificate.. | |
10:19:29.885 [main] INFO org.eclipse.jetty.util.log - Logging initialized @3767ms | |
2015-02-02 15:19:29.956+0000 INFO [API] Mounting static content at [/webadmin] from [webadmin-html] | |
2015-02-02 15:19:30.013+0000 INFO [API] Mounting static content at [/browser] from [browser] | |
10:19:30.016 [main] INFO org.eclipse.jetty.server.Server - jetty-9.2.1.v20140609 | |
10:19:30.035 [main] INFO o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.MovedContextHandler@30159886{/,null,AVAILABLE} |