Run shell in a container without running entrypoint script set by the image build
docker run -it --entrypoint sh IMAGE_NAMESources
Run shell in a container without running entrypoint script set by the image build
docker run -it --entrypoint sh IMAGE_NAMESources
Bash commands connected using pipe(|) are not executed correctly in kubectl exec.
Example:
kubectl exec -ti <POD> -- pg_dump -h localhost -t my_table | psql -d <TARGET_DB> -h localhost
Here I want to run the pg_dump command first and redirect the output to the psql command as input using pipe(|).
But kubectl takes commands only until pipe character, pg_dump in my case and psql has been run on host machine instead of inside the <POD>.
The solution is to wrap all commands using double quote(") and run these commands using bash -c.
alternative resource: http://turion64.cf/modplay/mods/KEYGENMUSiC%20MusicPack/
| Title | File Name |
|---|---|
| greasy duck v1 | AT4RE - Cool Rm to Mp3 Wav crk.mod |
| Spyware Firewall 2.0 crk.xm | BugZ - Spyware Firewall 2.0 crk.xm |
| 010 Editor 2.0 kg.xm | Cafe - 010 Editor 2.0 kg.xm |
| 2 Be With You | CiB - Shokecake Games All Product crk.it |
| pullover | DYNASTY - Autobahn Total - Die Ve |
| # create exchange | |
| curl -i -u guest:guest -H "content-type:application/json" \ | |
| -XPUT -d'{"type":"fanout","durable":true}' \ | |
| http://localhost:15672/api/exchanges/%2f/my.exchange.name | |
| # create queue | |
| curl -i -u guest:guest -H "content-type:application/json" \ | |
| -XPUT -d'{"durable":true,"arguments":{"x-dead-letter-exchange":"", "x-dead-letter-routing-key": "my.queue.dead-letter"}}' \ | |
| http://localhost:15672/api/queues/%2f/my.queue |
| sudo tcpdump -Q pid=PID -k |
| def limit(num, minimum=1, maximum=255): | |
| """Limits input 'num' between minimum and maximum values. | |
| Default minimum value is 1 and maximum value is 255.""" | |
| return max(min(num, maximum), minimum) |
| kubectl get svc --all-namespaces -o go-template="{{range .items}}{{range.spec.ports}}{{if .nodePort}}{{.nodePort}}{{printf \"\n\"}}{{end}}{{end}}{{end}}" | sort |
| package com.example; | |
| import java.util.concurrent.CompletableFuture; | |
| import java.util.concurrent.ExecutorService; | |
| import java.util.concurrent.Executors; | |
| public class CompleteableFutureWithExceptionHandling { | |
| public static void main(String[] args) { |
on macOS
default folder in /Users/USERNAME/Library/Preferences/DataGrip2018.1/projects contains database connection properties.
DataGrip2018.1 states your DataGrip version
The following stacktrace can occur on a spring-boot app.
Consider changing the scope of dependencies that use groovy runtime as test.
{"@timestamp":"2022-11-03T12:32:33.865+03:00","@version":"1","message":"Application run failed","logger_name":"org.springframework.boot.SpringApplication","thread_name":"main","level":"ERROR","level_value":40000,"stack_trace":"java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.reflection.ReflectionCache
at org.codehaus.groovy.runtime.dgmimpl.NumberNumberMetaMethod.<clinit>(NumberNumberMetaMethod.java:33)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)