I hereby claim:
- I am andrealmar on github.
- I am andrealmar (https://keybase.io/andrealmar) on keybase.
- I have a public key ASBVrFj0dzmy_-oL1agIHIuNoRm49y8T-1-kDTGc0yqVSQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
In order to work the Bose QC35 Headset Bluetooth do the following: | |
- sudo pacman -Syu pulseaudio-alsa pulseaudio-bluetooth bluez bluez-libs bluez-utils | |
- turn off bluetooth from your computer | |
- sudo btmgmt ssp of | |
- gpasswd -a YOUR_USER lp |
Some of the most important advancements in programming came from adding restrictions to the way we program.
Famous article by Edsger Dijkstra Go To Statement Considered Harmful
shows how introducing one statement into programming language breaks many nice properties of that language.
goto
gives us freedom and solves couple of simple problems like breaking from nested loops easily,
but it can make programs very hard to understand.
This happens, because we cannot look at two pieces of code in spearation.
The execution can jump to some other place in code or even worse: it can jump from other piece of code to here and We need to keep that in mind.
Converter a primeira coluna de um arquivo de log, que estava em unixtime, pra tempo human-readable | |
awk '{$1 = strftime("%F %T", $1) ; print ;}' oldfile > newfile |
for command line users the best option is to use dd
Insert the USB drive and open terminal (Ctrl+Alt+T)
better be a root (sudo -i), don't be afraid believe in yourself
use "fdisk -l" to find the USB device
So in our case its /dev/sdb
Make sure the USB device is unmounted
`umount /dev/sdb1`
oc adm policy add-scc-to-user anyuid -z istio-ingress-service-account -n istio-system
oc adm policy add-scc-to-user anyuid -z default -n istio-system
oc adm policy add-scc-to-user anyuid -z prometheus -n istio-system
oc adm policy add-scc-to-user anyuid -z istio-egressgateway-service-account -n istio-system
oc adm policy add-scc-to-user anyuid -z istio-citadel-service-account -n istio-system
oc adm policy add-scc-to-user anyuid -z istio-ingressgateway-service-account -n istio-system
oc adm policy add-scc-to-user anyuid -z istio-cleanup-old-ca-service-account -n istio-system
oc adm policy add-scc-to-user anyuid -z istio-mixer-post-install-account -n istio-system
oc adm policy add-scc-to-user anyuid -z istio-mixer-service-account -n istio-system
admissionConfig:
pluginConfig:
MutatingAdmissionWebhook:
configuration:
apiVersion: apiserver.config.k8s.io/v1alpha1
kubeConfigFile: /dev/null
kind: WebhookAdmission
ValidatingAdmissionWebhook:
configuration:
cp -p master-config.yaml master-config.yaml.prepatch
oc ex config patch master-config.yaml.prepatch -p "$(cat master-config.patch)" > master-config.yaml
/usr/local/bin/master-restart api
/usr/local/bin/master-restart controllers
cat <<EOF | kubectl apply -f -
apiVersion: v1
kind: Secret
metadata:
name: kiali
namespace: istio-system
labels:
app: kiali
type: Opaque