Skip to content

Instantly share code, notes, and snippets.

View CoverageBase_Output
in parse_ineq at /root/.julia/v0.4/JuliaParser/src/parser.jl:375
in parse_arrow at /root/.julia/v0.4/JuliaParser/src/parser.jl:372
in parse_and at /root/.julia/v0.4/JuliaParser/src/parser.jl:369
in parse_cond at /root/.julia/v0.4/JuliaParser/src/parser.jl:254
in parse_Nary at /root/.julia/v0.4/JuliaParser/src/parser.jl:284
in parse_comma at /root/.julia/v0.4/JuliaParser/src/parser.jl:363
in parse_eq at /root/.julia/v0.4/JuliaParser/src/parser.jl:353
in parse_Nary at /root/.julia/v0.4/JuliaParser/src/parser.jl:315
in parse_resword at /root/.julia/v0.4/JuliaParser/src/parser.jl:987
in parse_call at /root/.julia/v0.4/JuliaParser/src/parser.jl:608
@rofinn
rofinn / mapping.jl
Created Apr 7, 2015
Julialang DataFrame & Matrix mappings
View mapping.jl
@doc doc"""
Takes a 2d array where each column is a pattern which maps to a row in
the resulting dataframe. Each pattern index is its own column in
the dataframe.
""" ->
function DataFrame(data::Array{Float64, 2})
m = data'
result = DataFrame()
for i in 1:size(data, 1)
@rofinn
rofinn / Bootstrap log
Last active Aug 29, 2015
Bootstrap-vz ec2 hvm manifest
View Bootstrap log
[760.422945023] DEBUG: Loading provider bootstrapvz.providers.ec2
[847.099065781] DEBUG: Loading plugin bootstrapvz.plugins.ansible
[4359.05194283] DEBUG: Tasklist:
bootstrapvz.plugins.ansible.tasks.CheckPlaybookPath
bootstrapvz.common.tasks.locale.LocaleBootstrapPackage
bootstrapvz.providers.ec2.tasks.host.GetInstanceMetadata
bootstrapvz.providers.ec2.tasks.host.AddExternalCommands
bootstrapvz.providers.ec2.tasks.connection.GetCredentials
bootstrapvz.common.tasks.bootstrap.AddRequiredCommands
bootstrapvz.common.tasks.workspace.CreateWorkspace