Skip to content

Instantly share code, notes, and snippets.

View mimoo's full-sized avatar
🦀
求同存异

David Wong mimoo

🦀
求同存异
View GitHub Profile
@mimoo
mimoo / mexico_city.md
Created November 12, 2022 18:44
Mexico City!

Places to stay at

  • Roma Norte
  • Condesa

Restaurants

  • taqueria gabriel (omg, everything is good there, get the "jugo de carne" as well!)
  • "paramo" and "el parnita", one is upstairs and has amazing food and cocktails and atmosphere, the other one is downstairs and has great food.
  • taqueria orinoco (omg, same, it's more like a fast food chain but it's like THE chain of tacos)
@mimoo
mimoo / lyon.md
Last active July 9, 2025 08:15
Lyon.md

Lyon's restaurant and things to do

Restaurants

Note:

  • For a number of restaurants here you might have to book a long time in advance. You've been warned.
  • Many restaurants in France offer a different menu for lunch and dinner. Also, the "daily suggestions" can be pretty fresh!
  • We don't eat in restaurants every day in France, so restaurants here are not necessarily very healthy :D (be ready for entree-plat-dessert formulas (starter/main/dessert) with cheese between the main and dessert)
(library
(name ocaml_bug)
(inline_tests)
(preprocess
(pps ppx_inline_test)))
@mimoo
mimoo / dune
Last active March 6, 2022 19:34
OCaml bug: you might think that deriving {hash, eq} is enough to use a custom record in a hashtable. Think again!
(library
(name ocaml_bug)
(inline_tests)
(preprocess
(pps ppx_inline_test ppx_deriving.eq ppx_deriving_hash)))
@mimoo
mimoo / the_list.md
Created October 20, 2021 00:25
THE LIST
  • 12 Monkeys * 
  • 2001 A Space Odyssey ( o ) 
  • American Psycho *
  • Being John Malkovich * 
  • Cypher 
  • Donnie Darko * 
  • Eternal Sunshine Of The Spotless Mind **
  • eXistenZ ** 
  • Fight Club **
  • Frailty
@mimoo
mimoo / forbidden.ipynb
Last active August 24, 2021 20:51
Forbidden values in recursive scalar multiplications
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mimoo
mimoo / notipping.md
Last active July 19, 2021 00:33
No Tipping Restaurants in SF
@mimoo
mimoo / old.md
Created June 26, 2021 00:30
Old

Once, when we're young, we realize that we're all mortals. It's a shock, it's hard to process, suddenly our world is never going to be the same. But we get over it, and through most of our growth and teenage years we completely forget about our ill fate. We live like there's no tomorrow. In our 30s, as our growth comes to an all-time high, we are faced with our mortality once again. The one we had forgotten about all these years. The bad news we pretended didn't exist. Now, we realize that it's not going to be sudden. Sudden would be good, as we would barely have time to notice. Instead, our fall will take time, and as time flows it'll take away more and more of our features. This slow process will be painful, omnipresent, as we grow in our older years. From that point on, each parts that life will remove from us will be felt. The only escape is to live in the present, and practice gratefulness for the time that we still have and for what's left of the body and mind that life hasn't taken away, yet. Perhaps f

@mimoo
mimoo / advice.md
Last active June 25, 2021 15:10
Writing a book with asciidoc

I wrote a book using asciidoc, so here are some advice.

@mimoo
mimoo / ocamlformat.md
Last active June 8, 2021 01:30
how to use ocamlformat?

OCaml has a tool to format, OCamlformat, that is too configurable and hard to use.

First, it won't work if you don't have an empty file called .ocamlformat at the root of your project.

Here's the man page but it's honestly too long and has no examples. Avoid configuring ocamlformat because then nobody will be able to understand your codebase. Use vanilla ocamlformat please.

To format every file in your project, do: