Skip to content

Instantly share code, notes, and snippets.

Evgeniy Shatokhin codetinkerhack

Block or report user

Report or block codetinkerhack

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ReTry-test.scala
package com.codetinkerhack
import scala.collection.immutable.IndexedSeq
import scala.concurrent.blocking
import scala.concurrent.duration.DurationInt
import scala.concurrent.duration.FiniteDuration
import scala.util.Failure
import scala.util.Success
import scala.util.Try
@codetinkerhack
codetinkerhack / ReTry.scala
Last active Aug 22, 2017
Retry Akka actor /Ask pattern with individual timeout, retry intervals
View ReTry.scala
package com.codetinkerhack
import akka.actor.{ ActorRef, Props, Actor, ActorLogging }
import akka.pattern.ask
import akka.util.Timeout
import scala.concurrent.duration._
import akka.actor.Actor.Receive
import akka.pattern.pipe
import scala.util.Success
import scala.util.Failure
@codetinkerhack
codetinkerhack / midiKeyboard64keys.c
Last active Sep 20, 2016
midiKeyboard64keys.c
View midiKeyboard64keys.c
// Pin Definitions
// Rows are connected to
const int row1 = 5;
const int row2 = 6;
const int row3 = 7;
const int row4 = 8;
const int row5 = 4;
const int row6 = 3;
const int row7 = 2;
const int row8 = 1;
@codetinkerhack
codetinkerhack / midiKeyboard_VelocityAftertouch.c
Last active Dec 13, 2018
Arduino based Velocity sensitive Midi keyboard with Aftertouch
View midiKeyboard_VelocityAftertouch.c
// Pin Definitions
// Rows are connected to Digital
const int rowPin[] = { 6, 7, 8, 5 };
// FSRs connected to Analog
const int fsrPin[] = { 2, 3, 4, 5 };
// The 74HC595 uses a serial communication
// link which has three pins
const int clock = 12;
View midiKeyboard.c
// Pin Definitions
// Rows are connected to
const int row1 = 5;
const int row2 = 6;
const int row3 = 7;
const int row4 = 8;
// The 74HC595 uses a serial communication
// link which has three pins
const int clock = 9;
You can’t perform that action at this time.