Notes from a newbie wannabe kernel developer.
I'm running Ubuntu on my Mac (working pretty well btw). I separated 10GBs for / and ~100GB for /home and I do my work on /home.
| BLACK_TEXT='\033[30m' | |
| BLUE='\033[48;2;92;206;250m' | |
| PINK='\033[48;2;245;169;184m' | |
| WHIT='\033[48;2;255;255;255m' | |
| #NC='\033[0m' # No Color | |
| NC='\033[K' | |
| kitty +kitten icat --align right ./anya2.png | |
| printf "${BLACK_TEXT}${BLUE} Anne \"Anya\" Macedo ${NC}\n" | |
| printf "${BLACK_TEXT}${PINK} Infrastructure Engineer ${NC}\n" |
| #!/bin/bash | |
| log show -start `date '+%Y-%m-%d'` --process loginwindow -style compact | grep screenlock | awk '{print $1 " " $2 " " $10}' |
| #/usr/bin/env bash | |
| function _completions() { | |
| COMPREPLY+=("-e") | |
| COMPREPLY+=("--echo") | |
| COMPREPLY+=("--some-flag") | |
| COMPREPLY+=("-c") | |
| COMPREPLY+=("--non-interactive") | |
| COMPREPLY+=("--") | |
| } |
I spent the whole day trying to dual-boot Ubuntu on my Mac, up to the point where I broke my GPT partition table and almost had to format everything (see [https://gist.github.com/vinicyusmacedo/4172cafc108bdfff7084017d1925b74f]). Then, I just found out installing Ubuntu on a Mac is really really easy. You need no gimmick at all (I'm not sure if I've just been lucky enough).
I won't cover anything in detail, but you need to, basically:
I was messing around with running Ubuntu on my Mac and trying very hard to make GRUB boot without rEFInd. I just gave up and decided to somehow delete the old volumes created by Ubuntu. As I did it, the UUID of my volume became all FFFFs! FFFF%$#, I said to myself. Fearing for the worse, I rebooted the computer to see if that really harmed something. It did: there was no boot disk!
before trying anything here, investigate a bit further what is going on in your own environment, Your Mileage May Vary
I'm using a Macbook Air 2014 11", 500GB SSD, using APFS, running on Mojave (though the recovery image was from Yosemite).
Make sure you are pointing to the correct disk (mine was disk0, but you need to check with diskutil).
These are some notes regarding PS3 Linux (how to boot it)
dtbImage.%: Similar to zImage, except device tree blob is embedded
inside the image instead of provided by firmware. The
output image file can be either an elf file or a flat
| #!/bin/bash | |
| usage="$(basename "$0") [OPTIONS] -- changes your Slack status to AFK or Working Remotely | |
| [OPTIONS]: | |
| -h|--help This help message | |
| --afk Changes your Slack profile to AFK | |
| --remote Changes your Slack profile to Working Remotely | |
| --token Your Slack token (see https://api.slack.com/legacy/custom-integrations/legacy-tokens) | |
| " |
kubectl create ns gocdhelm repo add stable https://kubernetes-charts.storage.googleapis.comhelm install gocd-app --namespace gocd stable/gocdsecret_name=$(kubectl get serviceaccount gocd-app --namespace=gocd -o jsonpath="{.secrets[0].name}")
kubectl get secret $secret_name --namespace=gocd -o jsonpath="{.data['token']}" | base64 --decode
kubectl get secret $secret_name --namespace=gocd -o jsonpath="{.data['ca\.crt']}" | base64 --decode
| " vim airline required configs | |
| set nocompatible | |
| filetype off | |
| set rtp+=~/.vim/bundle/Vundle.vim | |
| call vundle#begin() | |
| Plugin 'VundleVim/Vundle.vim' | |
| " add plugins bellow | |
| Plugin 'stephpy/vim-yaml' |