This file contains hidden or 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
2025-04-03T10:11:01+03:00 Foobar ubios-udapi-server[1229233]: udhcpc: started, v1.34.1. (interface:eth9) | |
2025-04-03T10:11:02+03:00 Foobar ubios-udapi-server[1229233]: udhcpc: broadcasting discover (interface:eth9) | |
2025-04-03T10:11:03+03:00 Foobar ubios-udapi-server[1229233]: udhcpc: received offer of 85.253.200.51 (interface:eth9) | |
2025-04-03T10:11:03+03:00 Foobar ubios-udapi-server[1229233]: udhcpc: sending request (interface:eth9) | |
2025-04-03T10:11:03+03:00 Foobar ubios-udapi-server[1229233]: udhcpc: received ACK: lease of 85.253.200.51 obtained from 85.253.0.13, lease time 7200 (interface:eth9) | |
2025-04-03T11:11:03+03:00 Foobar ubios-udapi-server[1229233]: udhcpc: sending renew to server 85.253.0.13 (interface:eth9) | |
2025-04-03T11:41:05+03:00 Foobar ubios-udapi-server[1229233]: udhcpc: sending renew to server 85.253.0.13 (interface:eth9) | |
2025-04-03T11:56:05+03:00 Foobar ubios-udapi-server[1229233]: udhcpc: sending renew to server 85.253.0.13 (interface:eth9) | |
2025-04-03T12:03:35+03:00 Foobar ubios-udapi-server[ |
This file contains hidden or 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
༶ netstat -arn ⎈ docker-desktop/default | |
Routing tables | |
Internet: | |
Destination Gateway Flags Netif Expire | |
default 192.168.2.1 UGSc en8 | |
3.9.202.151 192.168.2.1 UGHWIi en8 | |
3.228.162.4 192.168.2.1 UGHWIi en8 | |
4.78.226.233 192.168.2.1 UGHW3I en8 2 | |
10 10.202.20.38 UGSc utun2 |
This file contains hidden or 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
༶ kubectl logs acceptancegrpcbridgetest -p ⎈ docker-for-desktop/default | |
2019-04-03 05:32:04 kubewatch [24 TMainThread] server-name-e0c64fb8-dirty DEBUG: looking up ID for namespace default | |
2019-04-03 05:32:21,216 WARNING Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', OSError(0, 'Error'))': /api/v1/namespaces/default | |
2019-04-03 05:32:21 kubewatch [24 TMainThread] server-name-e0c64fb8-dirty WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', OSError(0, 'Error'))': /api/v1/namespaces/default | |
2019-04-03 05:32:21,505 WARNING Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) |
This file contains hidden or 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
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |
[_QWERTY] = LAYOUT( | |
//┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐ | |
KC_NAGR ,KC_1 ,KC_2 ,KC_3 ,KC_4 ,KC_5 , KC_6 ,KC_7 ,KC_8 ,KC_9 ,KC_0 ,KC_NAMI , | |
//├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | |
KC_TAB ,KC_Q ,KC_W ,KC_E ,KC_R ,KC_T ,SYM_L , SYM_L ,KC_Y ,KC_U ,KC_I ,KC_O ,KC_P ,KC_EQL , | |
//├────────┼────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | |
KC_ESC ,KC_A ,KC_S ,KC_D ,KC_F ,KC_G ,KC_LBRC , KC_RBRC ,KC_H ,KC_J ,KC_K ,KC_L ,KC_SCLN , |
This file contains hidden or 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
[_QWERTY] = LAYOUT( | |
//┌────────┬────────┬────────┬────────┬────────┬────────┐ ┌────────┬────────┬────────┬────────┬────────┬────────┐ | |
KC_NAGR ,KC_1 ,KC_2 ,KC_3 ,KC_4 ,KC_5 , KC_6 ,KC_7 ,KC_8 ,KC_9 ,KC_0 ,KC_NAMI , | |
//├────────┼────────┼────────┼────────┼────────┼────────┼────────┐ ┌────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | |
KC_TAB ,KC_Q ,KC_W ,KC_E ,KC_R ,KC_T ,SYM_L , SYM_L ,KC_Y ,KC_U ,KC_I ,KC_O ,KC_P ,KC_EQL , | |
//├────────┼────────┼────────┼────────┼────────┼────────┼────────┤ ├────────┼────────┼────────┼────────┼────────┼────────┼────────┤ | |
KC_ESC ,KC_A ,KC_S ,KC_D ,KC_F ,KC_G ,KC_LBRC , KC_RBRC ,KC_H ,KC_J ,KC_K ,KC_L ,KC_SCLN ,KC_QUOT , | |
//├────────┼────────┼────────┼────────┼────────┼──── |
This file contains hidden or 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
### Keybase proof | |
I hereby claim: | |
* I am n1koo on github. | |
* I am n1ko (https://keybase.io/n1ko) on keybase. | |
* I have a public key ASCT1CwACjzOu1tO3Rvd83MMZKUB2frf9yqiXSstk2U7ngo | |
To claim this, I am signing this object: |
This file contains hidden or 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
n1ko@kuber1:~$ time scp -o ControlPath=none -o [email protected] xxx 100% 2767MB 115.3MB/s 00:24 | |
real 0m26.440s | |
user 0m17.864s | |
sys 0m11.088s | |
n1ko@kuber1:~$ time scp -o ControlPath=none -o [email protected] xxx 100% 2767MB 162.8MB/s 00:17 | |
real 0m19.457s |
This file contains hidden or 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
#!/bin/bash | |
sudo add-apt-repository ppa:fkrull/deadsnakes -y | |
sudo add-apt-repository ppa:chris-lea/libsodium -y | |
sudo apt-get update | |
sudo apt-get install -y python3.5 libsodium-dev | |
git clone https://github.com/mbevand/silentarmy | |
cd silentarmy | |
make |
This file contains hidden or 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
#!/bin/sh | |
set -e | |
create() { | |
echo Setting up kv store | |
docker-machine create -d virtualbox kvstore > /dev/null && \ | |
docker $(docker-machine config kvstore) run -d --net=host progrium/consul --server -bootstrap-expect 1 | |
# store the IP address of the kvstore machine |
This file contains hidden or 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
#!/bin/bash | |
# Keep last 10h of images | |
# Remove all containers except those that just exited | |
output=$( docker ps -a|egrep -v 'CONTAINER ID|seconds ago'|cut -d' ' -f1| xargs -r docker rm -v 2>&1 ) | |
logger -t "docker-gc" "$output" | |
# Keep last 10h of images | |
output=$( docker images -a|egrep -v 'IMAGE ID|seconds ago|minute|About an hour ago| [0-9] hours ago'| tr -s ' ' | cut -d ' ' -f 3| xargs -r docker rmi -f 2>&1) | |
logger -t "docker-gc" "$output" |
NewerOlder