Skip to content

Instantly share code, notes, and snippets.

View Synesso's full-sized avatar

Jem Mawson Synesso

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
POLYGON ((-63.55255 44.714101, -63.55256 44.714118, -63.55257 44.714139, -63.552577 44.714151, -63.552581 44.714157, -63.552585 44.714164, -63.552588 44.714169, -63.552594 44.714181, -63.552597 44.714186, -63.552599 44.714191, -63.552599 44.714193, -63.5526 44.714194, -63.552602 44.714201, -63.552602 44.714203, -63.552603 44.714204, -63.552606 44.714218, -63.552611 44.71423, -63.552611 44.714232, -63.552611 44.714233, -63.552613 44.714243, -63.552612 44.714254, -63.552612 44.714256, -63.552611 44.714258, -63.552609 44.714264, -63.552609 44.714266, -63.552593 44.71429, -63.552589 44.714297, -63.552584 44.714305, -63.55258 44.714311, -63.552574 44.714328, -63.552571 44.714342, -63.55257 44.714344, -63.55257 44.714345, -63.552566 44.714358, -63.552562 44.714368, -63.552558 44.71438, -63.552557 44.714381, -63.552557 44.714383, -63.552554 44.714391, -63.552547 44.714407, -63.552544 44.714414, -63.552541 44.71442, -63.552534 44.714432, -63.552522 44.714442, -63.552508 44.714453, -63.5525 44.714459, -63.552496 44.71
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
the z6 tile
POLYGON ((-84.375 45.08903556483102, -84.375 40.979898069620134, -78.75 40.979898069620134, -78.75 45.08903556483102, -84.375 45.08903556483102))
the entire multipolygon
MULTIPOLYGON (((-78.855712 43.306434, -78.855752 43.306194, -78.855365 43.306195, -78.855365 43.307051, -78.855365 43.307055, -78.854383 43.306976, -78.851013 43.306873, -78.851035 43.304846, -78.853097 43.304869, -78.853092 43.302758, -78.853082 43.298014, -78.85308 43.297056, -78.855375 43.297037, -78.866237 43.296947, -78.868309 43.29693, -78.868323 43.296989, -78.868283 43.297021, -78.868221 43.297044, -78.868149 43.297053, -78.867995 43.297058, -78.867912 43.297068, -78.867807 43.297071, -78.867687 43.29708, -78.8676 43.297084, -78.867483 43.297101, -78.867509 43.29715, -78.867568 43.29719, -78.867601 43.297212, -78.86779 43.297167, -78.868085 43.29715, -78.868131 43.29714, -78.868275 43.297136, -78.868361 43.297107, -78.868428 43.297049, -78.868479 43.296962, -78.868485 43.296928, -78.869896 43.296918, -78.869807 43.296945,
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#property link "chenandjem@loftinspace.com.au"
#property strict
input double tp_1_price;
input double tp_1_close_lots;
input double tp_2_move_stop;
const int state_initial = 0;
const int state_order_found = 1;
@Synesso
Synesso / TxnFromXDR.scala
Created June 24, 2018 03:24
Decoding transaction XDR in Scala
package stellar.channel
import stellar.sdk.{PublicNetwork, SignedTransaction}
object TxnFromXDR {
def main(args: Array[String]) = {
implicit val network = PublicNetwork
@Synesso
Synesso / OpenGap.scala
Last active April 8, 2018 21:17
Analysis of gap trades using MT4 data extracts
import java.time._
import scala.io._
import scala.util._
case class Candle(dateTime: LocalDateTime, open: Double, high: Double, low: Double, close: Double)
val significant = 0.003
val formatter = java.time.format.DateTimeFormatter.ofPattern("yyyy.MM.dd HH:mm")