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
var sp500_symbols = ['ABT', 'ABBV', 'ACN', 'ACE', 'ADBE', 'ADT', 'AAP', 'AES', 'AET', 'AFL', 'AMG', 'A', 'GAS','APD', 'ARG', 'AKAM', 'AA', 'AGN', 'ALXN', 'ALLE', 'ADS', 'ALL', 'ALTR', 'MO', 'AMZN', 'AEE','AAL', 'AEP', 'AXP', 'AIG', 'AMT', 'AMP', 'ABC', 'AME', 'AMGN', 'APH', 'APC', 'ADI', 'AON','APA', 'AIV', 'AMAT', 'ADM', 'AIZ', 'T', 'ADSK', 'ADP', 'AN', 'AZO', 'AVGO', 'AVB', 'AVY','BHI', 'BLL', 'BAC', 'BK', 'BCR', 'BXLT', 'BAX', 'BBT', 'BDX', 'BBBY', 'BRK-B', 'BBY', 'BLX', | |
'HRB', 'BA', 'BWA', 'BXP', 'BSK', 'BMY', 'BRCM', 'BF-B', 'CHRW', 'CA', 'CVC', 'COG', 'CAM', 'CPB','COF', 'CAH', 'HSIC', 'KMX', 'CCL', 'CAT', 'CBG', 'CBS', 'CELG', 'CNP', 'CTL', 'CERN', 'CF', 'SCHW', 'CHK','CVX', 'CMG', 'CB', 'CI', 'XEC', 'CINF', 'CTAS', 'CSCO', 'C', 'CTXS', 'CLX', 'CME', 'CMS', 'COH', 'KO', 'CCE','CTSH', 'CL', 'CMCSA', 'CMA', 'CSC', 'CAG', 'COP', 'CNX', 'ED', 'STZ', 'GLW', 'COST', 'CCI', 'CSX', 'CMI', 'CVS','DHI', 'DHR', 'DRI', 'DVA', 'DE', 'DLPH', 'DAL', 'XRAY', 'DVN', 'DO', 'DTV', 'DFS','DISCA', 'DISCK', 'DG', 'DLTR', |
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
### Keybase proof | |
I hereby claim: | |
* I am boxxa on github. | |
* I am boxxa (https://keybase.io/boxxa) on keybase. | |
* I have a public key ASCe88aC25W3QjhBxSJNaaO8SmFWNZ_t-wMDUqJuy0MdJwo | |
To claim this, I am signing this object: |
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
var Fiber = require("fibers"); | |
Fiber(function(){ | |
var dataSet = $proc.data.fetchData(); | |
console.log("Running Calc") | |
var calcResult = $proc.ta.calc(dataSet) | |
console.log("Done with Calc") | |
console.log(calcResult) | |
}).run(); | |
Output: |
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
// # Doesn't Has Helper | |
// Usage: `{{#dhas tag="video, music"}}`, `{{#dhas author="sam, pat"}}` | |
// | |
// Checks if a post doesn't have (doesn't has) a particular property for easy omitting in loop. | |
var _ = require('lodash'), | |
errors = require('../errors'), | |
dhas; | |
dhas = function (options) { |
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
---------- Usage | |
The syntax created by these parameters is placed in an alert's description on Trading View | |
to be utilized by the AutoView Chrome Extension. | |
TradingView: https://www.tradingview.com/ | |
AutoView: https://chrome.google.com/webstore/detail/autoview/okdhadoplaoehmeldlpakhpekjcpljmb | |
---------- Syntax | |
<letter>=<value> |
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
// Quick way to serve files in a web server for testing | |
// npm install connect serve-static | |
// node run.js folder | |
var dirPath = process.argv[2]; | |
console.log("Serving: " + dirPath); | |
var connect = require('connect'); | |
var serveStatic = require('serve-static'); | |
connect().use(serveStatic(dirPath)).listen(8080); |
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
<head> | |
<link rel="import" href="/bower_components/core-scaffold/core-scaffold.html"> | |
<link rel="import" href="/bower_components/core-header-panel/core-header-panel.html"> | |
<link rel="import" href="/bower_components/core-menu/core-menu.html"> | |
<link rel="import" href="/bower_components/core-item/core-item.html"> | |
<link rel="import" href="/bower_components/core-icon-button/core-icon-button.html"> | |
<link rel="import" href="/bower_components/core-toolbar/core-toolbar.html"> | |
<link rel="import" href="/bower_components/core-menu/core-submenu.html"> | |
<style> | |
#core_scroll_header_panel { |
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
Meteor.call('setStatus', statusMessage, function(error, result){ | |
if(result) | |
{ | |
Session.set('isAway', true) | |
Router.go('/') | |
} else { | |
Router.go('/error') | |
} | |
}) |