Skip to content

Instantly share code, notes, and snippets.

View roslovets's full-sized avatar

Pavel Roslovets roslovets

View GitHub Profile
@roslovets
roslovets / dir2.m
Created September 23, 2020 14:27
MATLAB: convinient dir()
function fs = dir2(dpath)
arguments
dpath string = pwd
end
fs = struct2table(dir(dpath), 'AsArray', true);
fs = convertvars(fs, 1:2, 'string');
fs = fs(~ismember(fs.name, ["." ".."]), :);
fs.date = datetime(fs.datenum, 'ConvertFrom', 'datenum');
end
@roslovets
roslovets / erd1.md
Last active April 10, 2024 21:11
dbt course: erd 1

ERD 1

erDiagram
    users ||--o{ trips : ""