Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am rcarton on github.
  • I am rcarton (https://keybase.io/rcarton) on keybase.
  • I have a public key ASAE76nmHbX4ttXN4uzLa2AZcL-61Q2Yijbh5aIqG-Qsiwo

To claim this, I am signing this object:

@rcarton
rcarton / enums.ts
Created November 27, 2019 15:51
Enums
enum E1 {
K1 = "v1",
K2 = "v2",
K3 = "v3"
}
enum E2 {
K1 = "v1",
K2 = "v2",
K4 = "v4"
var TYPES = [
'Aggie',
'Alley',
'Bumblebee',
'China',
'Crystal',
'Mica',
'Tiger'
];
@rcarton
rcarton / RetailClass.java
Created October 24, 2014 17:49
RetailClass
package com.knewton.retail.paths.domain.retailclass;
import com.knewton.retail.commons.db.hibernate.types.RetailClassIdType;
import com.knewton.retail.commons.db.hibernate.types.UserIdType;
import com.knewton.retail.commons.exceptions.BadRequestException;
import com.knewton.retail.commons.models.ids.RetailClassId;
import com.knewton.retail.commons.models.ids.UserId;
import com.knewton.retail.paths.domain.exceptions.PathsErrorCodes;
import com.knewton.retail.paths.domain.path.model.LearningPath;