|
You are here |
componenthouse.com | ||
| | | | |
www.janwagemakers.be
|
|
| | | | | For the smartthermostat I'm working on, I was looking for a way to get the outside temperature without placing a real sensor outside. | |
| | | | |
connorberry.com
|
|
| | | | | Language Comparison Perl: while (<>) { print "$. : $_" } Perl: while (<>) { print "$. : $_" } CSharp: using System; using System.IO; class App { public static void Main(string[] args) { int line_number = 1; foreach (string arg in args) { foreach (string line in File.ReadLines(arg)) { Console.WriteLine(line_number + ":" + line);... | |
| | | | |
www.morling.dev
|
|
| | | | | Recently I ran into a situation where it was necessary to capture the output of a Java process on the stdout stream, and at the same time a filtered subset of the output in a log file. The former, so that the output gets picked up by the Kubernetes logging infrastructure. The letter for further processing on our end: we were looking to detect when the JVM stops due to an OutOfMemoryError, passing on that information to some error classifier. | |
| | | | |
studiofreya.org
|
|
| | | |||