I hereby claim:
- I am imorate on github.
- I am imorate (https://keybase.io/imorate) on keybase.
- I have a public key ASCgpbIzR2Yqh5WA_gUYs6a8xPmZNTe2yQAeYonz1XgUkQo
To claim this, I am signing this object:
public class VarianceCalculation { | |
public static void main(String[] args) { | |
double[] example = {30, 36, 47, 50, 52, 52, 56, 60, 63, 70, 70, 110}; | |
System.out.println("Mean: " + calculateMean(example)); | |
System.out.println("Variance: " + calculateVariance(example)); | |
} | |
public static double calculateVariance(double[] nums) { | |
double mean = calculateMean(nums); | |
double sum = 0; |
I hereby claim:
To claim this, I am signing this object:
import java.util.Scanner; | |
class ResistanceCalculation { | |
public static void main(String[] args) { | |
Scanner scanner = new Scanner(System.in); | |
int calculationType = 1; | |
System.out.println("Enter the type of calculation:"); | |
System.out.println("1. Serial"); | |
System.out.println("2. Parallel"); | |
calculationType = scanner.nextInt(); |
mixin: | |
tun: | |
enable: true | |
stack: gvisor | |
dns-hijack: | |
- 198.18.0.2:53 | |
auto-route: true | |
auto-detect-interface: true | |
dns: | |
enable: true |
cat /usr/share/dict/words | tr '[:upper:]' '[:lower:]'
diff <(ls) <(ls -ltrh) |
cut -d "," -f 1,3 text.txt --output-delimiter=$'\t' |
#!/bin/bash | |
GREEN="%{$fg_bold[green]%}" | |
YELLOW="%{$fg_bold[yellow]%}" | |
CYAN="%{$fg_bold[cyan]%}" | |
RED="%{$fg_bold[red]%}" | |
WHITE="%{$fg_bold[white]%}" | |
RESET="%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_PREFIX="$WHITE " |
version: "2" | |
tunnels: | |
website: | |
addr: website.test:80 | |
proto: http | |
host_header: rewrite |