I recommend @snappify.com - the main thing is that you will have a real code editor (or multiple) on the slides with themes and language syntax highlighting, and so it makes any change of any slide easy.
Not affiliated but a very happy user for more than 1 year.
Posts by snappify
Diagram code: def get_temperature(room, *, unit="celsius"): pass get_temperature("bedroom", "fahrenheit") # β οΈ TypeError get_temperature("bedroom", unit="fahrenheit") # β
When defining a function, you can use a single asterisk `*` to force all arguments that follow it to be keyword-only.
It's an excellent idea when your function accepts βconfig-likeβ arguments, like Boolean flags, or strings that represent specific options.
Check the diagram for an example π
Screenshot of my snaps (code samples)
I am using @snappify.com for probably more than one year for all my technical presentations where I need to show code samples and for all my code samples shared on social media.
I like it a lot and it is so useful to have a real editor when working on a slide that has code that I can edit in place.
One of my biggest marketing efforts for snappify will be to create many more templates + publish tutorials on how to create them from scratch
it's time to educate the people on what's actually possible with snappify :D
I've finally shipped the new snappify Text Animations π₯³
also - it has been quite some time since the last one - I created a new YouTube video to explain it :)
youtu.be/V2GHtWXLBtc
making good progress
if no bigger edge cases pop up, I'll be able to release this soon π€
I finally started to tackle a feature for snappify that I have had in my backlog for a long time already
More animation options for text elements π
A must for every presentation tool, especially when it comes to showing paragraphs / list-items after clicking :D
today I spent some time improving the algorithm for detecting code changes when doing the morph animation in @snappify.com
Still room for improvement, but it's already a lot better than before!
damn, it feels good to work on such things again π
The GrUSP team has just published my talk "Discover Modern Ruby features" on YouTube, which I gave at the last #rubyday edition.Β
Check it out here: https://youtu.be/IsjrIX7-lms
#rubyday24 #rubyday #Ruby #RoR #Rails
A snippet of code showing how `dict.setdefault` works. This is the code: values = [(0, 0), (0, 1), (1, 3), (0, 2), (1, 5)] my_dict = {} for key, value in values: my_dict.setdefault(key, []).append(value) print(my_dict) # {0: [0, 1, 2], 1: [3, 5]}
The method `dict.setdefault` is useful when you want to create a dictionary that maps keys to lists of values.
When creating the dictionary, instead of checking if the key exists, creating an empty list if it doesn't, and then appending, we can use `setdefault` to do everything in one go. β¨
JavaScript tip π‘
6 different ways to loop through arrays ππ
Loving the new Chakra UI `css` prop.
It's time again .. for a @snappify.com Black Friday Deal! π₯³
30% off all yearly plans using the code BF_2024 at checkout :D
Hey π
Do you need help with:
π #Monorepos using @nx.dev
π§© #MicroFrontend architecture
π¨βπ» #TypeScript development
π¨ UI Design Systems
π Developer coaching & workshops
Watch my 1-minute video below πππ
const value = 'hello' parseInt (value) // NaN parseFloat (value) // NaN Number (value) // NaN +value // NaN ~~value // 0
There are several ways to convert values to numbers in JavaScript.
I'm sure you know those:
π΅ parseInt(value)
π΅ parseFloat(value)
π΅ Number(value)
But do you know these as well?
π£ +value
π£ ~~value
The last one takes even care of _NaN_ for you π€
Hello World!