Based on https://howtoforge.com/tutorial/hpl-high-performance-linpack-benchmark-raspberry-pi/
Install
- gfortran (
gcc-fortran
) - blas (
openblas
) - mpi (
openmpi
)
- Get newest version from http://www.netlib.org/benchmark/hpl/
package main; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.io.OutputStreamWriter; | |
import java.net.HttpURLConnection; | |
import java.net.URL; | |
public class WebInteraction { |
package main | |
import "fmt" | |
import "bufio" | |
import "os" | |
import "sort" | |
import "strings" | |
func doSort(rs []rune) { | |
sort.SliceStable(rs, func(i int, j int) bool { |
Based on https://howtoforge.com/tutorial/hpl-high-performance-linpack-benchmark-raspberry-pi/
Install
gcc-fortran
)openblas
)openmpi
)package app | |
import "testing" | |
import "math/rand" | |
func BenchmarkAppend(b *testing.B) { | |
arr := make([]int, 5) | |
for i, _ := range arr { | |
arr[i] = rand.Int() | |
} |
/* | |
* This document is provided to the public domain under the | |
* terms of the WTFPL license. | |
*/ | |
This is | |
This is a combination of | |
- [How to boot Arch Linux ARM in QEMU (patched for M1)](https://gist.github.com/thalamus/561d028ff5b66310fac1224f3d023c12) - thanks to Avatar | |
Will Tisdale |
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="style.css" /> | |
<script> | |
setInterval(function() { | |
var xhttp = new XMLHttpRequest(); // https://w3schools.com/xml/xml_http.asp | |
xhttp.onreadystatechange = function() { | |
if (this.readyState == 4 && this.status == 200) { |
.image { | |
animation-name: example; | |
animation-duration: 40s; | |
animation-iteration-count: infinite; | |
animation-direction: alternate; | |
animation-timing-function: ease-in-out; | |
} | |
@keyframes example { |