Skip to content

Instantly share code, notes, and snippets.

🐙
Focusing

amuradyan

🐙
Focusing
Block or report user

Report or block amuradyan

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 հմմմ.java
((ClassType)((com.sun.tools.javac.code.Symbol)((com.sun.tools.javac.code.Scope.Entry[])((com.sun.tools.javac.code.Scope.ScopeImpl)((com.sun.tools.javac.code.Symbol.PackageSymbol)((JCTree.JCCompilationUnit)cu).packge).members_field).table)[2].sym).type).supertype_field
@amuradyan
amuradyan / Scala .gitignore
Last active Aug 22, 2019 — forked from owainlewis/.gitignore
Scala gitignore
View Scala .gitignore
*.class
*.log
# sbt specific
.cache/
.history/
.lib/
dist/*
target/
lib_managed/
View year_fraction.py
from datetime import datetime
from math import ceil
import calendar
def dates(d1: datetime, d2: datetime) -> list:
middle = []
for year in range(d1.year, d2.year):
middle.append(datetime(year, 12, 31))
@amuradyan
amuradyan / Aurebeshize.js
Created Nov 3, 2018
A Google Chrome bookmarklet that converts all the english to aurebesh on a page
View Aurebeshize.js
// In order for this to work you need the AurebeshWC font
// You can download it from here - https://goo.gl/yaNc3K
//
// Uncomment all lines below this and store it as a bookmarklet
// javascript:(
function() {
var p=document.getElementsByTagName("*")
for (i=0; i<p.length; i++)
View ExcelPlotter.py
import sys
import os
import re
import shutil
import math
import openpyxl
import numpy as np
import matplotlib
from pyhocon import ConfigFactory
from pyhocon.config_tree import ConfigTree
View BigIntFactorial.scala
/**
* Created by spectrum on Jun, 2018
*/
object BigIntFactorial {
implicit def enhanceBigInt(n: BigInt) = new {
private val One = BigInt(1)
def ! = (One /: (One to n)) (_ * _)
}
val Zero = BigInt(0)
View ԼյուբոյՀերթականությամբ.scala
package mailer
/**
* Created by spectrum on 5/14/2018.
*/
class Mail(from: String, to: String)
object send {
def a(mail: Mail) = ???
View MailDSL.scala
package mailer
/**
* Created by spectrum on 5/14/2018.
*/
class Mail(from: String, to: String)
object send {
def a(mail: Mail) = ???
View MT4Server.md

MT4Server API

MT4Server is a REST API proxy between brokers who support MetaTrader4 platform. It provides such operations as listing of orders, buy and sell, balanse and ways to obtain ticker data via HTTP or web sockets(obtains a particular ticker from a broker).

It uses API key for authentication and JWT.

Supported platforms

AVA Trade
ICMarkets
FXOpen

You can’t perform that action at this time.