TLDR.jl
TLDR provides a easy way to find Julia snippets. You can search for snippets in this site or locally by installing TLDR.jl
.
Usage
julia> using TLDR
julia> tldr_repl()
julia> # press }
tldr>
You can also use tldr("...")
or tldr"..."
to enter these comments.
tldr> something
tldr> data
DataFrames
Tools for working with tabular data.
- Look at the last X rows of a data frame
`last(df, X)`
- Look at the firs X rows of a data frame
`first(df, X)`
...
tldr> pkg:something
Returns all snippets associated with package something
.
tldr> pkg:CSV
CSV
A package built to be a fast and flexible pure-Julia library for handling delimited text files.
- Read a CSV input.
`CSV.File(source)`
- Write table to file.
`CSV.write(file, table)`
...
Instead of pkg
, package
can also be used.
tldr> cmd:something
tldr> cmd:chol
- Solve a linear system `Ax = b` using the Cholesky factorization
`F = cholesky(A)
F \ b`
Instead of cmd
, command
or snippet
can also be used. The argument can also be ignored.
tldr> ?
Same as pkg:TLDR
.
tldr> ?
TLDR
A package for fast help and snippets.
- Enter `tldr>` mode.
`}`
- Search for commands and packages related to the `keyword`.
`tldr"keyword"`