Tested on 18.04. Download postman from https://dl.pstmn.io/download/latest/linux
tar -xzf Postman-linux-<VERSION>.tar.gz
If any version is installed before, remove it.
sudo rm -rf /opt/Postman
package main | |
import ( | |
"fmt" | |
"strconv" | |
"sync" | |
"time" | |
) | |
func method(f func()) func() { |
Tested on 18.04. Download postman from https://dl.pstmn.io/download/latest/linux
tar -xzf Postman-linux-<VERSION>.tar.gz
If any version is installed before, remove it.
sudo rm -rf /opt/Postman
package main | |
import ( | |
"encoding/json" | |
"fmt" | |
"io" | |
"log" | |
"net/http" | |
"os" | |
"path/filepath" |
function isPrime(n) { | |
for (let i = 2; i <= Math.sqrt(n); i++) { | |
if (n % i === 0) { | |
return false; | |
} | |
} | |
return true; | |
} |