On newer Linux systems, especially Fedora based, journalctl often replaces the syslog output in /var/log/messages.
Monitor new syslog entries (similar to tail -f /var/log/messages):
journalctl -f
| # Read N lines of input, splitting each line and storing the result in a numpy array. | |
| import numpy as np | |
| a = np.array([input().split() for _ in range(N)], int) |
| #include <iostream> | |
| #include <stdint.h> | |
| #include <x86intrin.h> | |
| #include "ippcp.h" | |
| #include "examples_common.h" | |
| #define DATA_SIZE 1024*1024 | |
| #define DIGEST_SIZE 32 | |
| #define ITERATIONS 10000 |
| #![allow(non_upper_case_globals)] | |
| #![allow(non_camel_case_types)] | |
| #![allow(non_snake_case)] | |
| include!("../bindings.rs"); | |
| fn main() { | |
| unsafe { | |
| let size = fooGetCtxSize(); | |
| println!("Ctx Size: {}", size); |
| #include <iostream> | |
| #include <string> | |
| #include <thread> | |
| #include <mutex> | |
| #include <condition_variable> | |
| std::mutex m; | |
| std::condition_variable cv; | |
| std::string data; | |
| bool ready = false; |
| project(cpp_condition) | |
| set(CMAKE_CXX_STANDARD 17) | |
| add_executable(cpp_condition cpp-condition.cpp) |
| package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "os" | |
| "strings" | |
| ) | |
| func main() { |