Skip to content

Instantly share code, notes, and snippets.

View Jiler01's full-sized avatar
💭
∃!

Jiler JL Jiler01

💭
∃!
  • France
  • 05:14 (UTC +02:00)
View GitHub Profile
@deadManAlive
deadManAlive / ocaml-on-msys2.md
Last active March 2, 2025 14:53
Installing Ocaml (latest w/o opam) in Windows via MSYS2

Installing OCaml (latest w/o opam) in Windows via MSYS2

  1. Preparation: MSYS2 MinGW64, make sure git, make, diffutils, and gcc installed, e.g. with pacman -S git make diffutils mingw-w64-x86_64-gcc.
  2. git clone https://github.com/ocaml/ocaml.git.
  3. git submodule update --init.
  4. ./configure, then make, and then install with make install.

At this point ocaml, ocamlc, and ocamlopt is already installed on the MSYS2 MinGW64 environment, but you'll hit by error like "Unbound module Stdlib".

  1. Check standard_library location via ocamlc -config, should be /mingw64/lib/ocaml.
@valyakuttan
valyakuttan / remove_grub_from_windows11.md
Last active May 11, 2025 20:27
How to remove GRUB from Windows 11
@gitdagray
gitdagray / util.js
Last active September 28, 2024 01:51
Javascript Utility Functions
// Youtube tutorial here: https://youtu.be/LDgPTw6tePk
// These functions are designed to be exported, but you could create a class instead. See tutorial video.
// #1 proper case
export const properCase = (string) => {
return `${string[0].toUpperCase()}${string.slice(1).toLowerCase()}`;
};