I hereby claim:
- I am milosgajdos on github.
- I am milosgajdos (https://keybase.io/milosgajdos) on keybase.
- I have a public key whose fingerprint is 1266 FF68 4487 5404 BDE5 5150 505D EC48 749E 8140
To claim this, I am signing this object:
| # build stage | |
| FROM --platform=${BUILDPLATFORM} golang:1.19-alpine3.17 AS build | |
| RUN apk add --no-cache git build-base ca-certificates | |
| ENV CGO_ENABLED=0 | |
| ENV GO111MODULE=auto | |
| ARG GIT_VERSION | |
| ARG TARGETOS |
I hereby claim:
To claim this, I am signing this object:
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| $provision = <<SCRIPT | |
| apt-get update -qq && apt-get install -y vim curl python-software-properties build-essential cmake pkg-config | |
| SCRIPT | |
| Vagrant.configure("2") do |config| | |
| config.vm.box = "ubuntu/xenial64" | |
| config.vm.provider "virtualbox" do |vb| |
| /* | |
| * Copyright 2017 Intel Corporation. | |
| * The source code, information and material ("Material") contained herein is | |
| * owned by Intel Corporation or its suppliers or licensors, and title to such | |
| * Material remains with Intel Corporation or its suppliers or licensors. | |
| * The Material contains proprietary information of Intel or its suppliers and | |
| * licensors. The Material is protected by worldwide copyright laws and treaty | |
| * provisions. | |
| * No part of the Material may be used, copied, reproduced, modified, published, | |
| * uploaded, posted, transmitted, distributed or disclosed in any way without |
| Verifying my Blockstack ID is secured with the address 1AHxu7PSk6nE44E2hahHypc3QJPDCLoCNH https://explorer.blockstack.org/address/1AHxu7PSk6nE44E2hahHypc3QJPDCLoCNH |
| I have run an nginx container... | |
| docker ps | |
| CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | |
| 6d67de07731d nginx "nginx -g 'daemon ..." 40 minutes ago Up 40 minutes 80/tcp, 443/tcp epic_goldberg | |
| I want to use Debian for debug: | |
| docker run -it --pid=container:6d67de07731d --net=container:6d67de07731d --cap-add sys_admin debian | |
| I can see the nginx process: |
I hereby claim:
To claim this, I am signing this object:
| # makeCacheMatrix accepts a matrix as an argument and generates a list object | |
| # which provides various functions to retrieve and modify the underlying matrix | |
| # and its inverse matrix | |
| makeCacheMatrix <- function(x = matrix()) { | |
| # stop and return error if supplied matrix is not invertible | |
| if (!(class(try(solve(x),silent=T))=="matrix")){ | |
| stop("supplied matrix is not invertible") | |
| } | |
| # inverse matrix | |
| inv <- NULL |
| # split data per Species | |
| species_frames <- split(iris,iris$Species) | |
| # calculate mean per species | |
| lapply(species_frames, function(x) colMeans(x[,"Sepal.Length"])) | |
| # simple version of ^^ calculate mean over Sepal.Length split by Species | |
| tapply(iris$Sepal.Length, iris$Species, mean) |
| file70 <- read.csv("specdata/070.csv") | |
| file71 <- read.csv("specdata/071.csv") | |
| file72 <- read.csv("specdata/072.csv") | |
| df70 <- sum(complete.cases(file70)) | |
| df70 | |
| df71 <- sum(complete.cases(file71)) | |
| df71 | |
| df72 <- sum(complete.cases(file72)) | |
| df72 | |
| data70 <- file70[complete.cases(file70), "nitrate"] |