Skip to content

Instantly share code, notes, and snippets.

View mrjazz's full-sized avatar
🎯
Code as a product

Denis mrjazz

🎯
Code as a product
View GitHub Profile
INFO: [v4] Send push message to f473a5ac6c19713896a74a88994ab31b8d2015c194877e700e073d9d699c4044; {message=Andrew has voted on your poll, activity_badge=0, badge=0, type=2, inbox_badge=0, poll_id=3645}
INFO: [v4] Send push message to f473a5ac6c19713896a74a88994ab31b8d2015c194877e700e073d9d699c4044; {message=Andrew Costa has voted on your poll, activity_badge=1, badge=1, type=2, inbox_badge=0, poll_id=3645}
INFO: [v4] Send push message to f473a5ac6c19713896a74a88994ab31b8d2015c194877e700e073d9d699c4044; {message=Leah Faith has voted on your poll, activity_badge=1, badge=1, type=2, inbox_badge=0, poll_id=3645}
INFO: [v4] Send push message to f473a5ac6c19713896a74a88994ab31b8d2015c194877e700e073d9d699c4044; {message=Brian Kavjian has voted on your poll, activity_badge=1, badge=1, type=2, inbox_badge=0, poll_id=3645}
INFO: [v4] Send push message to f473a5ac6c19713896a74a88994ab31b8d2015c194877e700e073d9d699c4044; {message=Wesley Pasfield has voted on your poll, activity_badge=1, badge=1, type=2, inbox_badge=0, po
Trying 128.149.23.134...
Connected to ssd.jpl.nasa.gov.
Escape character is '^]'.
======================================================================
| Jet Propulsion Laboratory |
| |
| * * * W A R N I N G * * * |
| |
| Property of the |
@mrjazz
mrjazz / gist:aac1197ccc62d4a0f35d
Created December 24, 2015 15:30
Projection model
var $project = {
GlobalAssumptions: {
CompanyName: "Brand New Company",
Currency: "US Dollar",
StartMonth: new Date(2018, 0, 1),
CorporateTaxRate: 35,
PropertyTax: 1.2,
PayrollTaxRate: 7.7,
StartingCashBalance: 10000
},
@mrjazz
mrjazz / iOS Books
Last active December 29, 2015 11:45
Watch:
https://itunes.apple.com/us/course/developing-ios-7-apps-for/id733644550
Books:
Beginning iOS 7 Development Exploring the iOS SDK
http://www.apress.com/9781430260226
// npm install websocket
var server = require('websocket').server, http = require('http');
var socket = new server({
httpServer: http.createServer().listen(8080)
});
socket.on('request', function(request) {
var connection = request.accept(null, request.origin);
// npm install express
// npm install body-parser
var express = require('express');
var bodyParser = require('body-parser')
var app = express();
app.use(bodyParser.urlencoded({ extended: false }));
2016-02-12 14:08:49,299 - sync - INFO - Request:
{"comment": "- 3-create-searchable-front-end-for-data - done\n- (gulp autoreload, tmp limit by zip codes, filter by multiple hcpcs codes, filter by total paid amount)\n", "reportedAt": "2016-02-11T14:08:49.0Z", "approvedBy": "5620de2f297df20600a0da02", "reportedBy": "5620de2f297df20600a0da02", "billedTime": 28800.0, "project": "56b0a9cd3ec0e60800c15ff3", "item": "56b0a9cd3ec0e60800c15ff4", "jiraTicket": "PROJ", "status": "approved", "approvedTime": 28800.0, "date": "2016-02-11T14:08:49.0Z", "employee": "5620de27297df20600a0d989", "approvedAt": "2016-02-11T14:08:49.0Z", "reportedTime": 28800.0, "type": "Regular", "employeeName": "Vladimir Gordienko"}
2016-02-12 14:08:49,299 - sync - INFO - Response:
{"code":"CREATED","message":"The request has been fulfilled and resulted in a new resource being created","data":{"comment":"- 3-create-searchable-front-end-for-data - done\n- (gulp autoreload, tmp limit by zip codes, filter by multiple hcpcs codes, filter by total
{
"code": "OK",
"message": "Operation is successfully executed",
"data": [
{
"project": "5620e02e297df20600a0dbd0",
"employee": "5620de28297df20600a0d992",
"approvedBy": "5620de2f297df20600a0da02",
"reportedBy": "5620de28297df20600a0d992",
"item": "5620e02e297df20600a0dbd1",

Correction price logic

System looking for indicators that impact on price and according to type of indicator, calculate price include koefficient. This coefficient will be applied to next positions until section won't be finished or new indicator meet.

Case sensetive volume indicators:

  • '10cl' : 0.133333333