Skip to content

Instantly share code, notes, and snippets.

View gdalle's full-sized avatar

Guillaume Dalle gdalle

View GitHub Profile
@gdalle
gdalle / stars.jl
Created September 1, 2022 13:53
Counting stars for Julia packages
using CSV
using GitHub
using Pkg
using ProgressMeter
using TOML
myauth = GitHub.authenticate(ENV["GITHUB_AUTH"])
general = first(reg for reg in Pkg.Registry.reachable_registries() if reg.name == "General")
package_url = Dict{String,String}()
@gdalle
gdalle / startup.jl
Last active March 23, 2024 07:00
Julia startup file
try
@eval using Revise
catch e
@warn "Error during startup imports" e
end
atreplinit() do repl
try
@eval using OhMyREPL
@eval using AbbreviatedStackTraces