Skip to content

Instantly share code, notes, and snippets.

View ntbrock's full-sized avatar

Taylor Brockman ntbrock

  • Brain Power Software
  • Charleston, SC
View GitHub Profile
@ntbrock
ntbrock / 2019Mar08 IWP Call Log.md
Created March 8, 2019 22:24
2019Mar08 IWP Call Log

2019Mar08 IWP Call Log

Albert L> Designer prototype, refining Dragula, added inputs, and a save button, serialization test. Compiling information. N> The page isnt' sepcific to certain objects, need the flipping of the

Dr. Bennett L> Tested out new animations, send suggestions for Navigation on the new site, new user orientation recommendations. Lots of NaN errors in animation libraries during manual testing, others that wouldn't play when clicking play button, goes to last frame.

Exciting: Hosting a state physics teachers conference at ncssm in November. 3rd weekend of Month. Whatever is ready to roll out and show people.

@ntbrock
ntbrock / spring-motion.iwp.json
Created March 15, 2019 20:37
IWP6 Sample of New JSON
{
"author": {
"email": "",
"name": "",
"organization": "",
"username": "winters@ncssm.edu"
},
"objects": [
{
"start": 0,
@ntbrock
ntbrock / ObjectIdFormatJsonMacro.scala
Created October 17, 2018 20:11
Play Framework 2.6 Mongo Scala Driver Official Json Format Macro for ObjectId
import org.mongodb.scala.bson.ObjectId
import play.api.libs.json._
import scala.util.Try
object ObjectIdFormatJsonMacro extends Format[ObjectId] {
def writes(objectId: ObjectId): JsValue = JsString(objectId.toString)
def reads(json: JsValue): JsResult[ObjectId] = json match {
case JsString(x) => {
val maybeOID: Try[ObjectId] = Try{new ObjectId(x)}