Minikube requires that VT-x/AMD-v virtualization is enabled in BIOS. To check that this is enabled on OSX / macOS run:
sysctl -a | grep machdep.cpu.features | grep VMX
If there's output, you're good!
| [MULTILINE_PARSER] | |
| Name mysql_slow_multi | |
| Type regex | |
| flush_timeout 1000 | |
| rule "start_state" "/^# Time:\s+\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{1,6}Z$/" "cont" | |
| rule "start_state" "/^(?!# Time:\s+\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{1,6}Z$).*/" "start_state" | |
| rule "cont" "/^(?!# Time:\s+\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{1,6}Z$).*/" "cont" | |
| [PARSER] |
| FROM bellsoft/liberica-openjdk-alpine-musl:21 | |
| # RUN rm -f /etc/apk/repositories \ | |
| # && echo "http://mirrors.ustc.edu.cn/alpine/v3.21/main/" >> /etc/apk/repositories \ | |
| # && echo "http://mirrors.ustc.edu.cn/alpine/v3.21/community/" >> /etc/apk/repositories | |
| # add tzdata | |
| RUN apk add --no-cache tzdata \ | |
| fontconfig ttf-dejavu \ | |
| && rm -rf /var/cache/apk/* |
| package com.example.open.server.aop; | |
| import java.lang.annotation.ElementType; | |
| import java.lang.annotation.Retention; | |
| import java.lang.annotation.RetentionPolicy; | |
| import java.lang.annotation.Target; | |
| /** | |
| * 请在需要签名的接口上打上此注解 | |
| * |
| #!/bin/bash | |
| # | |
| # The reason of creating this script is that Endpoint Security VPN installs it's own application firewall kext cpfw.kext | |
| # which prevents for example PPTP connections from this computer, which is not appropriate if you need subj connection just | |
| # from time to time | |
| # | |
| # Usage: put the file anywhere, remember `chmod u+x fuckoff.command` | |
| # So you can call the script from e.g. `spotlight` or by doubleclick. | |
| # | |
| # Typing `fuckoff` in spotlight with your anger then hit Enter. |
| <!-- particles.js container --> | |
| <div id="particles-js"></div> | |
| <!-- stats - count particles --> | |
| <div class="count-particles"> | |
| <span class="js-count-particles">--</span> particles | |
| </div> | |
| <!-- particles.js lib (JavaScript CodePen settings): https://github.com/VincentGarreau/particles.js --> |
Generate the kubeconfig file for your cluster using the Kubeconfig File button in the Cluster view of your cluster.
Save the generated file as $HOME/.kube/config and run kubectl get nodes to verify it works.
| fun ClosedRange<Int>.random() = | |
| Random().nextInt((endInclusive + 1) - start) + start | |
| // usage | |
| (0..10).random() | |
| (0 until 10).random() |
| const val UPSTREAM_SERVICE_NAME_HEADER = "x-client-name" | |
| class VisualisationMetricHandler : Handler<RoutingContext> { | |
| val httpGauge = Gauge.build() | |
| .name("status:http_requests_total:rate5m") | |
| .help("Requests per 5m") | |
| .labelNames("service", "client", "status") | |
| .register() |