This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Simple script to list version numbers of critical development tools | |
export LC_ALL=C | |
bash --version | head -n1 | cut -d" " -f2-4 | |
MYSH=$(readlink -f /bin/sh) | |
echo "/bin/sh -> $MYSH" | |
echo $MYSH | grep -q bash || echo "ERROR: /bin/sh does not point to bash" | |
unset MYSH | |
echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static strictfp double compute(final double x, final double y) { | |
double z; | |
double r, s, t, u, v, w; | |
int i, j, k, n; | |
// y == zero: x**0 = 1 | |
if (y == 0.0) | |
return 1.0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.concurrent.TimeUnit; | |
import com.google.common.base.Stopwatch; | |
/** | |
* Hello world! | |
*/ | |
public final class App { | |
private App() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Computer Information: | |
Manufacturer: Unknown | |
Model: Unknown | |
Form Factor: Laptop | |
No Touch Input Detected | |
Processor Information: | |
CPU Vendor: GenuineIntel | |
CPU Brand: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz | |
CPU Family: 0x6 |