# https://kubernetes.io/docs/getting-started-guides/fedora/fedora_manual_config/
dnf install kubernetes
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 moveWindowColumn(column, width) | |
local window = hs.window.focusedWindow() | |
local windowFrame = window:frame() | |
local screen = window:screen() | |
local screenFrame = screen:frame() | |
-- minimum 2 columns even on smaller displays | |
local numColumns = math.max(2, math.floor(screenFrame.w / 1100)) | |
local remainder = screenFrame.w % numColumns | |
local columnWidth = math.floor(screenFrame.w / numColumns) |
I hereby claim:
- I am loa on github.
- I am loa (https://keybase.io/loa) on keybase.
- I have a public key ASDGz8C-dFsDm6g3EBf6Ud28FTNS4LaaYd9OOr3MMeX2yAo
To claim this, I am signing this object:
If you follow this guide you will end up with an offline and online Yubikey. Use your online Yubikey for everyday life, signing/encryption etc. Offline key for signing keys for web-of-trust and replace lost online keys.
Awesome tools with PGP keys:
- mozilla/sops dead-simple local encryption of sensitive files
- popass.pw password manager for you and your team stored in git
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
A (en) | ALFA | |
---|---|---|
B (en) | BRAVO | |
C (en) | CHARLIE | |
D (en) | DELTA | |
E (en) | ECHO | |
F (en) | FOXTROT | |
G (en) | GOLF | |
H (en) | HOTEL | |
I (en) | INDIA | |
J (en) | JULIETT |
<pre>
{% for dependency in site.github.versions %}
* {{ dependency[0] }}: {{ dependency[1] }}
{% endfor %}
</pre>
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
# it's required that name is identical with repo name | |
NAME=project | |
[email protected]/user/project.git | |
HOSTNAME=project.example.com | |
# create deploy key | |
ssh-keygen -t rsa -N "" -b 4096 -f deploy-key | |
# create new project | |
oc new-project $NAME |
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
#!/usr/bin/env python | |
## How to use | |
# - Create following structure with box/virtualbox/*.box | |
# - Follow naming convention box-name-SEMVER.box | |
# - Run script from root and index files will be generated for all unique box-names | |
# . | |
# ├── box | |
# │ └── virtualbox | |
# │ ├── centos6-0.1.0.box |
In this step we'll create a swarm cluster from two nodes. You should've received access to two nodes in AWS.
- SSH in to the first node:
ssh -i docker_demo.pem ubuntu@IP1
- Figure out the internal IP address of the node:
ifconfig
and check the eth0 address (10.0....
) - Initialize the Swarm cluster: `docker swarm init --listen-addr INTERNAL_IP --advertise-addr INTERNAL_IP
- Open a new tab and SSH to the other node:
ssh -i docker_demo.pem ubuntu@IP2
- Check the internal IP of that node:
ifconfig
and eth0 - Join to the cluster with the command the previous command printed out. Before executing the command, you need to the extend it with the
--listen-addr
and--advertise-addr
parameters (using the internal IP of the second node):docker swarm join TOKEN --listen-addr 10.0.... --advertise-addr 10.0..... node1...
- Get back to the first node and verify the results:
docker node ls
NewerOlder