Created
July 29, 2019 17:55
-
-
Save affans/0d20f9fca1fa80f904365ba14b63af5d to your computer and use it in GitHub Desktop.
My Julia `startup.jl`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## push local working path for all code. | |
push!(LOAD_PATH, "$(homedir())/Documents/Repository") | |
## load packages | |
using BenchmarkTools | |
using Logging | |
# remove from production | |
logger = SimpleLogger(stdout, Logging.Debug) | |
global_logger(logger) | |
@info "Debug Logging is on for this session." | |
# ensure that every Julia session uses Revise | |
atreplinit() do repl | |
try | |
@eval using Revise | |
@async Revise.wait_steal_repl_backend() | |
catch | |
end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment