Fetching details from the dictionary...
last-minute cramming; overnight cramming
(vegetables) pickled just overnight
試験前に一夜漬けをした。
I crammed the night before the exam.
一夜漬けはすぐ忘れる。
You forget quickly after cramming.
一夜漬けで何とか乗り切った。
I managed to get by with cramming.