DELAYLOGIN=no
FSCKFIX=yes
Add the nofail option to as many mount points as possible. This will allow the boot process to continue even if a file system is corrupted.
| #!/usr/bin/env python3 | |
| import fractions | |
| import sys | |
| def is_prime(n): | |
| for d in range(2, int(n**0.5)): | |
| if n % d == 0: | |
| return False |
| let loaded_matchparen = 1 | |
| syntax on | |
| map <Down> gj | |
| map <Up> gk | |
| filetype indent on | |
| set cryptmethod=blowfish2 | |
| set tags=tags;/ | |
| set bg=dark |
| #include <codecvt> | |
| #include <iomanip> | |
| #include <iostream> | |
| #include <locale> | |
| #include <string> | |
| #include "zip.h" // See https://gist.github.com/mortehu/373069390c75b02f98b655e3f7dbef9a | |
| const auto low = u8"abcæøåαβγ"; | |
| const auto upp = u8"ABCÆØÅΑΒΓ"; |
| #!/usr/bin/env python | |
| # Generates a curve for drawing a smooth histogram for a set of real values | |
| # provided on the standard input. | |
| # Copyright (C) 2016 Morten Hustveit | |
| # | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or |
| #include <cstdio> | |
| #include <list> | |
| #include <vector> | |
| #include "zip.h" | |
| int main() { | |
| std::vector<int> one{{1, 11}}; | |
| auto two = [] { return std::vector<short>{{2, 22}}; }; | |
| const std::list<float> three{{3, 33}}; |
| #!/bin/bash | |
| echo "Press Ctrl-C at any time to abort Makefile generation" | |
| echo | |
| echo "The project name should start with a letter and contain nothing but " | |
| echo "letters (A-z), digits (0-9) and dashes ('-'). Do not include the " | |
| echo "version number." | |
| echo | |
| echo "Example: hello-world" |
| #!/usr/bin/env python | |
| """Sample Google Cloud Storage API client. | |
| Based on <https://cloud.google.com/storage/docs/json_api/v1/json-api-python-samples>, | |
| but removed parts that are not relevant to the Cloud Storage API. | |
| Assumes the use of a service account, whose secrets are stored in | |
| $HOME/google-api-secrets.json""" |
| static __thread char* last_error; | |
| const char* last_error(void) { | |
| return last_error ? last_error : strerror(errno); | |
| } | |
| void clear_error(void) { | |
| free(last_error); | |
| last_error = NULL; | |
| } |
| uint64_t Hash(const StringRef& key) { | |
| static const uint64_t mul = (0xc6a4a793UL << 32UL) + 0x5bd1e995UL; | |
| auto shift_mix = [](uint64_t v) -> uint64_t { return v ^ (v >> 47); }; | |
| auto len = key.size(); | |
| auto buf = key.data(); | |
| const auto len_aligned = len & ~7; | |
| const auto end = buf + len_aligned; |