~/bin/fcos/coreos.ignition:
{
"ignition": {
"version": "3.0.0"
},
"passwd": {
"users": [
# | |
[Unit] | |
Description=Downloads artifacts for dist upgrade | |
Wants=network-online.target | |
After=network-online.target | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/bin/zypper dup -y -d --auto-agree-with-licenses |
#enable crio repo | |
cat <<EOF | tee /etc/yum.repos.d/cri-o.repo | |
[cri-o] | |
name=CRI-O | |
baseurl=https://pkgs.k8s.io/addons:/cri-o:/stable:/$CRIO_VERSION/rpm/ | |
enabled=1 | |
gpgcheck=1 | |
gpgkey=https://pkgs.k8s.io/addons:/cri-o:/stable:/$CRIO_VERSION/rpm/repodata/repomd.xml.key | |
EOF |
cd ~/.oh-my-zsh && find . -type d -name ".git" -exec sh -c 'cd $1/..; git pull' _ {} \; |
configMaps: | |
# Delete indices older than 7 days | |
action_file_yml: |- | |
--- | |
actions: | |
1: | |
action: delete_indices | |
description: "Clean up ES by deleting old indices" | |
options: | |
timeout_override: |
#clone ipxe cd src write script.pxe:
#!ipxe
echo yeaaaa
echo lets go down the rabbit hole..
dhcp
#set net0/ip 192.168.0.100
clear mod1 | |
clear mod4 | |
keycode 64 = Meta_L | |
keycode 133 = Alt_L | |
add mod1 = Alt_L | |
add mod4 = Meta_L |
scaling hidpi: everything is very small needed steps:
meta/win/idea issue:
alt
with left win
# create instance using https://aws.amazon.com/marketplace/fulfillment?productId=b7ee8a69-ee97-4a49-9e68-afaee216db2e&launch=oneClickLaunch | |
# use west-2b (us oregon, subnet-5d371e38) | |
# create swap (https://meta.discourse.org/t/create-a-swapfile-for-your-linux-server/13880) | |
sudo install -o root -g root -m 0600 /dev/null /swapfile | |
dd if=/dev/zero of=/swapfile bs=1k count=2048k | |
mkswap /swapfile | |
swapon /swapfile | |
echo "/swapfile swap swap auto 0 0" | sudo tee -a /etc/fstab | |
sudo sysctl -w vm.swappiness=10 |
#! /usr/local/bin/amm | |
/** | |
* A ammonite script http://www.lihaoyi.com/Ammonite/#Ammonite-Shell | |
* For report toggl datas | |
* HowTo: | |
* - install ammonite: sudo curl -L -o /usr/local/bin/amm https://git.io/vHaMa && sudo chmod +x /usr/local/bin/amm | |
* - update script with Toggl-apikey and | |
* - chmod +x togglReport.sc | |
* - ./togglReport.sc | |
* |