Skip to content

Instantly share code, notes, and snippets.

View JamieMair's full-sized avatar

Jamie Mair JamieMair

  • University Of Nottingham
  • Nottingham
View GitHub Profile
@JamieMair
JamieMair / JuliaConFavsICS.md
Last active July 9, 2024 11:12
Downloading a favourited calendar ICS for JuliaCon2023

Guide

I couldn't find a way to download only my favourited talks, so I wrote a script, found in this gist. Below are instructions of how to use it for yourself.

  1. Go to https://pretalx.com/juliacon2023/schedule/ to choose your schedule and favourite the talks you want in your calendar.
  2. Next, go to the cookies page by opening up the dev tools (usually F12). I found my favourited talks on Firefox in Storage -> Local Storage -> "juliacon2023_favs" and copied the JSON array directly in the script.
  3. Paste in the array found in the cookies to your copy of the file below.
  4. Download your ICS calendar file by clicking the down arrow next to the Version number in the same folder as the script downloaded. I called my file "schedule.ics".
  5. Run the script with your favourited list and you should get a new file called "my_schedule.ics". Check to see if the talks are the ones you want.
  6. Download the ICS to your phone / import them to your calendar app of choice.
@JamieMair
JamieMair / setup_processes.jl
Last active November 20, 2023 12:14
Using SLURM with a Cluster in Julia with Distributed.jl and ClusterManagers.jl
using Pkg
Pkg.activate(".")
using ArgParse
using Distributed
using ClusterManagers
function parse_commandline()
arg_settings = ArgParseSettings()
@add_arg_table arg_settings begin