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
%{IPORHOST:client_ip} - \[%{IPORHOST:x_forwarded_for}\] - %{DATA:client_identity} \[%{HTTPDATE:timestamp}\] \"(?:%{WORD:verb} %{NOTSPACE:request}(?: HTTP/%{NUMBER:httpversion})?|-)\" %{NUMBER:response} (?:%{NUMBER:bytes_sent;long}|-) (?:"(?:%{URI:referrer}|-)") %{QS:user_agent} %{NUMBER:request_length;long} %{NUMBER:response_time;double} %{DATA:upstream_proxy} %{NUMBER:upstream_bytes_sent;long} %{NUMBER:upstream_response_time} %{NUMBER:upstream_response} |
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
package lib.eff | |
import scala.language.higherKinds | |
import cats.data.State | |
import org.atnos.eff.either._ | |
import org.atnos.eff.option._ | |
import org.atnos.eff.state._ | |
import org.atnos.eff.{Eff, MemberIn} | |
sealed trait Members[R] |
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
function kubernetes_status | |
[ -z "$KUBECTL_PROMPT_SEPARATOR" ]; and set -l KUBECTL_PROMPT_SEPARATOR "/" | |
set -l config $KUBECONFIG | |
[ -z "$config" ]; and set -l config "$HOME/.kube/config" | |
if [ ! -f $config ] | |
echo (set_color red)$KUBECTL_PROMPT_ICON" "(set_color white)"no config" | |
return | |
end | |
set -l ctx (kubectl config current-context 2>/dev/null) |
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
!define CYAN 336666 | |
!define BLUE 87C8DC | |
!define GREEN 9AC400 | |
!define ORANGE CF943F | |
!define PURPLE 604A7B | |
!define RED A63C3A | |
!define SAND F4F4F4 | |
!define BORDER 595959 | |
!define LINE 595959 |
OlderNewer