You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to add more cards and youtube links. Pretty easy issue if someone wants to pick up
New talks need to be added to the file constants/index.ts
It's a series of simple objects. What matters the most is the name and id
{
id: "omar1", // must be unique
description:
"Omar Diop - Perfect Pitch: Unveiling the Mathematical Symphony Behind a Guitar Tuner",
link: "https://www.youtube.com/watch?v=W9HBHDogaFU",
picture: "",
author: "omar", // must be unique and match gif and css
},
Once we have the array of talks2024 filled with data, we can move to the css file.
Each new talk card needs a :hover rule, like the following:
This implies that we also need a gif which can be generated by recording parts of the youtube videos and then converting those videos to gif.
Here is a simple utility to do just that, if you have ffmpeg installed.
alias convert2gif = function _xxx(){ffmpeg -i "$1" -vf "fps=10,scale=320:-1:flags=lanczos" -c:v gif -f gif "${1%.*}.gif"};_xxx
You can add this function to your .zshrc or .bashrc directly. To install ffmpeg you can use homebrew:
brew install ffmpeg
An example usage:
# You recorded the video and it's sitting on your Desktop
mv recording.mov name_of_speaker
convert2gif name_of_speaker
# Now you should have a name_of_speaker.gif which you can move to the talks_2024 images folder in public
The text was updated successfully, but these errors were encountered:
We need to add more cards and youtube links. Pretty easy issue if someone wants to pick up
New talks need to be added to the file
constants/index.ts
It's a series of simple objects. What matters the most is the name and id
Once we have the array of
talks2024
filled with data, we can move to the css file.Each new talk card needs a
:hover
rule, like the following:This implies that we also need a gif which can be generated by recording parts of the youtube videos and then converting those videos to gif.
Here is a simple utility to do just that, if you have
ffmpeg
installed.You can add this function to your
.zshrc
or.bashrc
directly. To installffmpeg
you can usehomebrew
:An example usage:
The text was updated successfully, but these errors were encountered: