This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const TABLE_NAME = 'user_transactions'; | |
const OLD_TYPES = { | |
SUBMIT_ORDER: 'SUBMIT_ORDER', | |
EXCHANGE: 'EXCHANGE', | |
EXCHANGE_FEE: 'EXCHANGE_FEE', | |
NON_ERC20_WRAPPING: 'NON_ERC20_WRAPPING', | |
BTC_DEPOSIT: 'BTC_DEPOSIT', | |
BTC_ISSUE: 'BTC_ISSUE', | |
EXCHANGE_REQUEST: 'EXCHANGE_REQUEST', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var pmx = require('./common/pmx')('mailer'); | |
const config = require('config'); | |
var co = require('co'); | |
var fs = require('fs'); | |
var nodemailer = require('nodemailer'); | |
var signer = require('nodemailer-dkim').signer; | |
var debug = require('debug')('mailer'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set-option -g status-utf8 on | |
set-option -g utf8 on | |
# http://habrahabr.ru/post/127133/ | |
setw -g xterm-keys on | |
# http://net.tutsplus.com/tutorials/tools-and-tips/intro-to-tmux/?search_index=1 | |
#set -g prefix C-a | |
#unbind C-b | |
#bind C-a send-prefix |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"errors": { | |
"email": [ | |
{ | |
"message": "Email address must be valid email", | |
"type": "Validation error" | |
} | |
], | |
"username": [ | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE domains ( | |
domain text PRIMARY KEY, | |
created_at timestamp, | |
tags set<text>, | |
seo_counters map<text, float>, | |
techs map<text, text> | |
) WITH comment='domains'; |