I hereby claim:
- I am unstppbl on github.
- I am unstppbl (https://keybase.io/unstppbl) on keybase.
- I have a public key ASAJVwJ_h7cEOGQQ1jgb3IML0juqUSulxsn0_z-WXjsjXgo
To claim this, I am signing this object:
// Sycnhronous python-like sleep function | |
const sleep = (ms) => { | |
const start = new Date().getTime(); | |
const expire = start + ms; | |
while (new Date().getTime() < expire) { | |
// spinning... | |
} | |
}; | |
// Asynchronous sleep |
package main | |
import ( | |
"bufio" | |
"bytes" | |
"errors" | |
"fmt" | |
"io/ioutil" | |
"os" | |
"path/filepath" |
package main | |
import ( | |
"bufio" | |
"os" | |
"regexp" | |
) | |
func checkErr(err error) { | |
if err != nil { |
package main | |
import ( | |
"bufio" | |
"log" | |
"os" | |
"strings" | |
) | |
func checkErr(err error) { |
while true; do netstat -ant | awk '{print $6}' | sort | uniq -c | sort -n; sleep 1; clear; done |
I hereby claim:
To claim this, I am signing this object:
// Copyright 2017 Google LLC | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// | |
// http://www.apache.org/licenses/LICENSE-2.0 | |
// | |
// Unless required by applicable law or agreed to in writing, software | |
// distributed under the License is distributed on an "AS IS" BASIS, |
There are some key values that the time.Parse
is looking for.
By changing:
test, err := time.Parse("10/15/1983", "10/15/1983")
to
# list all pods | |
kubectl -n dev get pods | |
# list all config maps (CM) for env vars etc. | |
kubectl -n dev get cm | |
# get logs of pod | |
kubectl -n dev logs -f <pod name> | |
# get content of CM |
sudo dnf install -y java-1.8.0-openjdk.x86_64 icedtea-web.x86_64 libstdc++.i686 libX11.i686 libpamtest.i686 libnsl.i686
sudo dnf install compat-libstdc++-33.i686 --releasever 30
Download snx_linux_30.sh file from Checkpoint URL: https://dl3.checkpoint.com/paid/72/72c2c91791690927da0586ec873430cf/snx_install_linux30.sh?HashKey=1603971253_4c1ac35db21425fb73a79bccf775b006&xtn=.sh