One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| cls | |
| $error.Clear() | |
| ################################################################################################## | |
| # Load SharePoint Snapin | |
| ################################################################################################## | |
| $snap = Get-PSSnapin | Where-Object {$_.Name -eq 'Microsoft.SharePoint.Powershell'} | |
| if ($snap -eq $null) { | |
| Write-Host "Loading Powershell Snapin..." -ForegroundColor Yellow | |
| Add-PSSnapin Microsoft.SharePoint.Powershell |
| ActiveRecord::Base.connection.execute( | |
| "copy campaign_events from 's3://BUCKET/FILEPATHPREFIX/' credentials 'aws_access_key_id=XXX;aws_secret_access_key=XXX' emptyasnull blanksasnull fillrecord delimiter '|'" | |
| ) |
| //requires .NET 4.5 | |
| using Box.V2; | |
| using Box.V2.Auth; | |
| using Box.V2.Config; | |
| using Box.V2.Exceptions; | |
| using Box.V2.Models; | |
| using Nito.AsyncEx; | |
| using System; | |
| using System.Collections.Concurrent; |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using Box.V2; | |
| using Box.V2.Auth; | |
| using Box.V2.Config; | |
| using Box.V2.Exceptions; | |
| using Box.V2.Models; |
Picking the right architecture = Picking the right battles + Managing trade-offs
| ## Java | |
| sudo apt-get update | |
| sudo apt-get install default-jdk | |
| ## Scala | |
| sudo apt-get remove scala-library scala | |
| sudo wget http://scala-lang.org/files/archive/scala-2.12.1.deb | |
| sudo dpkg -i scala-2.12.1.deb | |
| sudo apt-get update | |
| sudo apt-get install scala |
| import datetime | |
| import pandas as pd | |
| from pandas.tseries.offsets import Day, BDay, DateOffset | |
| import numpy as np | |
| import os | |
| import pickle | |
| class rollingFuturesContract: | |
| """Create a notebook containing code from a script. | |
| Run as: python make_nb.py my_script.py | |
| """ | |
| import sys | |
| import nbformat | |
| from nbformat.v4 import new_notebook, new_code_cell | |
| nb = new_notebook() |