Skip to content

Instantly share code, notes, and snippets.

View jirkadanek's full-sized avatar
💭
🍻

Jirka Daněk jirkadanek

💭
🍻
View GitHub Profile
anonymous
anonymous / Scenario24Test.java
Created September 22, 2016 12:35
14:30:21,942 INFO ====== Starting (13) com.redhat.mqe.jms.tests.Scenario24Test.txClientAckWTopicDMessTs ======
14:30:22,458 WARN Store limit is 102400 mb (current store usage is 0 mb). The data directory: /home/jdanek/Work/repos/dtests/dtests/node_data/frameworks/jamq_jms_amqp_qe_units/target/com.redhat.mqe.jms.main.Scenario24/com.redhat.mqe.jms.main.Scenario24/KahaDB only has 29520 mb of usable space. - resetting to maximum available disk space: 29520 mb
14:30:22,458 WARN Temporary Store limit is 51200 mb (current store usage is 0 mb). The data directory: /home/jdanek/Work/repos/dtests/dtests/node_data/frameworks/jamq_jms_amqp_qe_units/target/com.redhat.mqe.jms.main.Scenario24/com.redhat.mqe.jms.main.Scenario24 only has 29520 mb of usable space. - resetting to maximum available disk space: 29520 mb
14:30:22,458 WARN Job Scheduler Store limit is 51200 mb, whilst the data directory: /home/jdanek/Work/repos/dtests/dtests/node_data/frameworks/jamq_jms_amqp_qe_units/target/com.redhat.mqe.jms.main.Scenario24/com.r
@BrandonPotter
BrandonPotter / restart-kubectl-master-services.md
Last active February 23, 2021 17:25
Restart Kubernetes Master Services
for SERVICES in etcd kube-apiserver kube-controller-manager kube-scheduler flanneld; do
	systemctl restart $SERVICES
	systemctl enable $SERVICES
	systemctl status $SERVICES
done

restart kubelet/node services

for SERVICES in kube-proxy kubelet flanneld docker; do

systemctl restart $SERVICES

@lenosi
lenosi / README.md
Last active May 12, 2021 11:41
How to speed up Ansible a lot

Introduction

I'm working with Ansible and many of servers every day, so let me show you, how can waste less of your time! :)

What Ansible do? 

  • Connects, runs, check, sends back, processes it, runs, checks, sends back and voila!
  • Connects... again... and again... and again...

What you can do to fix on node/remote server

Edit sshd config and disable UseDNS, it's mainly used only for logging and authentication. But.. only when you have set IgnoreRhosts in your config. So who doesn't know, should use it with clean mind. Because this has truly so far with security. :)

@lenosi
lenosi / README.md
Last active May 20, 2023 07:58
MIUI bloatware

Get list of system apps on the device:

adb shell "echo 'apps:' && pm list packages -f | grep /system/app/ | sed 's/.*=/  - /'"

Remove application command

pm uninstall -k --user 0 app