Skip to content

Instantly share code, notes, and snippets.

@victorbnl
victorbnl / find-ade-ical-url.md
Last active February 1, 2024 22:29
Find an ADESOFT ADE iCal URL when the export module is disabled

Find an ADE iCal URL

ADESOFT ADE is a timetable software used by many French universities. It seems that more often than not, there is an export option available to get a URL to an iCal calendar. However, it happens that the university didn’t enable the export module or purposefully disabled it. In that case, it is still possible to get a URL to an iCal calendar.

First, you need to find your class’ resources ID. Navigate to the JSP version of your ADE instance. That is, if you are on /direct/myplanning.jsp, go to /jsp/standard instead. Find your class in the tree and hover it. After that, your web browser should indicate where the button links to. In this example, 9440 is your class’ resources ID.

image

Now, the iCal URL is as follows, replacing RES by your class’ resources ID.

@victorbnl
victorbnl / nobeep.sh
Created December 30, 2023 16:24
Remove GRUB beep from ISO
cat $1 | perl -pe 's/^play (([0-9]+ ?)+)/#lay \1/g' > $2
@victorbnl
victorbnl / style.css
Last active September 3, 2023 11:02
Fix spotify top margin
.spotify__container--is-desktop .Root__top-container {
padding-top: 8px !important;
}
@victorbnl
victorbnl / convert.sh
Created August 3, 2023 11:15
Get electron-release checksums in hex
echo $0 | base64 -d | xxd -p -c 0
@victorbnl
victorbnl / redshift.conf
Created May 14, 2023 19:52
My redshift config
[redshift]
dawn-time=7:00
dusk-time=21:30
temp-night=3000
gamma=1
@victorbnl
victorbnl / style.css
Last active December 2, 2023 20:35
Instagram full-screen, no sidebar DMs
/* Hide scrollbar */
html[data-js-focus-visible] {
overflow-y: hidden !important;
}
/* Hide sidebar */
body > div:nth-child(2) > div > div > div:nth-child(2) > div > div > div > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) {
display: none !important;
}
@victorbnl
victorbnl / custom.css
Created April 23, 2023 17:43
My Ferdium theme
body {
counter-reset: services;
}
.sidebar .tabs {
margin-left: 4px;
}
.theme__dark .app .sidebar {
background: #262626;
}
.theme__dark .app .sidebar::after {
@victorbnl
victorbnl / blender-god-rays.md
Last active September 1, 2021 13:15
Blender god rays

How to make god rays in blender

  1. Make a cube that wraps your whole scene

  2. Go in the "Shading tab"

  3. Create a new material with the following nodes

    Nodes

Notes

@victorbnl
victorbnl / extra.css
Created August 26, 2021 20:58
More space at the bottom for mkdocs-material
/* More space at the bottom of the page */
.md-main__inner {
margin-bottom: 1.5rem;
}
@victorbnl
victorbnl / install-weblate-locally.md
Last active November 5, 2023 17:00
How to install weblate locally

How to install weblate locally

Requirements

  • git
  • docker
  • docker-compose

Steps