https://github.com/repsychling/julia-tips
A few tips on how to be more productive in Julia
https://github.com/repsychling/julia-tips
Last synced: 4 months ago
JSON representation
A few tips on how to be more productive in Julia
- Host: GitHub
- URL: https://github.com/repsychling/julia-tips
- Owner: RePsychLing
- License: isc
- Created: 2020-02-18T05:35:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-19T08:12:24.000Z (over 6 years ago)
- Last Synced: 2025-02-28T22:50:31.338Z (over 1 year ago)
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Julia Tips
## Adding Julia to the PATH
[Getting Started with Julia](https://en.wikibooks.org/wiki/Introducing_Julia/Getting_started#Getting_started) is a good resource to figuring out how to add Julia to your PATH.
Linux,
```
sudo ln -fs path/to/the/binaries/for/julia/bin/julia /usr/local/bin/julia
```
Mac,
```
ln -fs "/Applications/Julia-1.3.app/Contents/Resources/julia/bin/julia" /usr/local/bin/julia
```
For Windows (see [How to Add Julia Program to System's Path in Windows 10](https://www.youtube.com/watch?v=UDvviyjdJFU)).
## The Package Manager
- Project
- Package
- Application
- Project Structure
- *Project.toml*
- *Manifest.toml*
- `src/ModuleName.jl`
- `test/runtests.jl`
- `docs/make.jl`
- Environments
- Shared
- Best Practices
- Registry ([General](https://github.com/JuliaRegistries/General))
- `DEPOT_PATH`
## The Pkg CLI
- `status` (`st`)
- `activate`
- `add`
- `develop`
- `rm`
- `update` (`up`)
- `instantiate`
- `precompile`
## Environmental Variables
- `JULIA_NUM_THREADS`
## Miscellaneous
- Docstrings
- Modules
## Git Ignore
`~/.gitignore_global`
```
# Julia ---
# Files generated by invoking Julia with --code-coverage
*.jl.cov
*.jl.*.cov
# Files generated by invoking Julia with --track-allocation
*.jl.mem
# System-specific files and directories generated by the BinaryProvider and BinDeps packages
# They contain absolute paths specific to the host computer, and so should not be committed
deps/deps.jl
deps/build.log
deps/downloads/
deps/usr/
deps/src/
# Build artifacts for creating documentation generated by the Documenter package
docs/build/
docs/site/
# File generated by Pkg, the package manager, based on a corresponding Project.toml
# It records a fixed state of all packages used by the project. As such, it should not be
# committed for packages, but should be committed for applications that require a static
# environment.
Manifest.toml
```