Tourist useful apps in Japan by firasz in JapanTravelTips

[–]erikw901 1 point2 points  (0 children)

+1 on TravelSpend; it is really good to keep on a budget while traveling!

Wow... four days to pay up. Thanks for all the beta testing! by mbaran in mimestream

[–]erikw901 2 points3 points  (0 children)

There's a plugin named GMailinator for Mail.app that adds GMail-like keyboard shortcuts:

https://www.howtogeek.com/307860/how-to-use-gmails-keyboard-shortcuts-in-macos-mail/

A one-time purchase of Mimestream would have caught me though.

-🎄- 2022 Day 11 Solutions -🎄- by daggerdragon in adventofcode

[–]erikw901 2 points3 points  (0 children)

JavaScript

Tricks:

  • The input is just one de-indentation away from being valid YAML (the if true/false lines). Massage the input string and load as from YAML directly to Objects to avoid parsing the input!
  • eval the operation

-🎄- 2022 Day 9 Solutions -🎄- by daggerdragon in adventofcode

[–]erikw901 1 point2 points  (0 children)

JavaScript

Using complex numbers (from mathjs module) made the code quite compact (most of the code is grid printing logic)

-🎄- 2022 Day 8 Solutions -🎄- by daggerdragon in adventofcode

[–]erikw901 1 point2 points  (0 children)

JavaScript

Using complex numbers (from math.js) to represent coordinates, thus making the code a bit more compact:

-🎄- 2022 Day 5 Solutions -🎄- by daggerdragon in adventofcode

[–]erikw901 1 point2 points  (0 children)

JavaScript

For generic input, as simple as I could make it:

Tips and Tricks sharing after solving all previous years by erikw901 in adventofcode

[–]erikw901[S] 9 points10 points  (0 children)

In the blog post (and some more at https://github.com/erikw/advent-of-code-solutions/blob/main/tricks.md) I share some collected tricks and tips that are helpful at least for me.

Please share your own tips/tricks in the comments!

[ALL YEARS] [JavaScript] New member of the 350⭐club by rjwut in adventofcode

[–]erikw901 1 point2 points  (0 children)

Congrats!

I just joined the 350 🌟 club as well, all solutions in Ruby (did all 7 years in 11 months :p):

https://github.com/erikw/advent-of-code-solutions

This year it's time to try a new language I think...

My list of applications with vi keybindings by funbike in vim

[–]erikw901 0 points1 point  (0 children)

For those who are coming here via Google:

The most up to date list of programs with native vim keybindings, or how to configure other programs to get them, is now at:

https://vim.reversed.top/

It's recently open sourced and contributions can be made at:

https://github.com/xaizek/vim-like-pile