function* fibonacci_generator(){var a = 0;
var b = 1;
while(true) {const c = b
b = a + b;
a = c;
yield b
}}const fibonacci = fibonacci_generator();
for(var i=0; i<10; i++){
console.log(fibonacci.next());
}
$ sudo apt autoremove
Reading package lists... Error!
E: Write error - write (28: No space left on device)
E: IO Error saving source cache
E: The package lists or status file could not be parsed or opened.
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/nvme0n1p1 8065444 3562788 4486272 45% /
$ sudo resize2fs /dev/nvme0n1p1
resize2fs 1.42.13 (17-May-2015)
Filesystem at /dev/nvme0n1p1 is mounted on /; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 1
The filesystem on /dev/nvme0n1p1 is now 4194043 (4k) blocks long.
拡張後
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/nvme0n1p1 16197524 3563812 12617328 23% /