git clone https://github.com/k8snetworkplumbingwg/multus-cni.git && cd multus-cni
cat ./deployments/multus-daemonset.yml | rancher kubectl apply -f -
View aliases.sh
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
alias dockerclean="docker system prune --all --force --volumes && docker system prune --all --force" |
View deploying-multus.md
View argo-cd-deployment.md
open https://github.com/argoproj/argo-cd/issues/2953
open https://github.com/argoproj/argo-cd/issues/9809
ConfigMap: argocd-cmd-params-cm
View k8-rancher.md
istio specific
rancher kubectl patch deployment hello -p '{"spec": {"template": {"metadata": { "labels": { "sidecar.istio.io/inject": "true"}}}}}'
View language-proficiency-codes.md
- np - Not proficient: At this level, you may know a few words in the language, but you can't speak in full sentences or - conversationally. If you have this level of proficiency in a language, it may not be helpful to include it in your application materials.
- ep - Elementary proficiency: A person with elementary proficiency may have just started studying and learning the language. They may form some sentences and communicate basic subjects.
- lp - Limited proficiency: Limited proficiency means you understand fundamental vocabulary and social phrases. You can take part in some conversations and understand basic information.
- pp - Professional proficiency: For professional proficiency, you can function professionally by communicating with clients, speaking at a normal pace and understanding specific phrases and idioms. Depending on the position, this level of proficiency may be sufficient for some potential employers.
- fp - Fully proficient: When you are fully proficient in a language, you can take part in
View load-cordova.ts
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
console.log("[ loadCordova ] script loaded"); | |
// VERY HIGH CHANCE OF REGRESSION IN HERE | |
// IF VENDOR CHANGES USER-AGENT STRING | |
const userAgent = window.navigator.userAgent.toLowerCase(); | |
const safari = /safari/.test(userAgent); | |
const applewebkit = /applewebkit/.test(userAgent); | |
const mobileDescriptor = /mobile/.test(userAgent); | |
const ios = /iphone|ipod|ipad/.test(userAgent); |
View hot-fix.sh
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
#!/bin/bash | |
# https://github.com/diegomura/react-pdf/pull/1891 | |
set -eu | |
echo "[ post install script ] running hot-fix at post install" | |
patch -p0 --forward \ | |
node_modules/@react-pdf/renderer/lib/react-pdf.browser.es.js \ |
View Windows11_Setup.md
This guide was created using Microsoft Windows 11 Pro
Version 21H2 build 22000.194
Installation
System Updates:
- Settings -> Windows Update
- Install all updates
Powershell Execution Policy:
- launch Windows Powershell as administrator and execute:
View forward-to-wsl.md
netsh interface portproxy add v4tov4 listenport=3000 listenaddress=0.0.0.0 connectport=3000 connectaddress=172.29.81.153
netsh advfirewall firewall add rule name= "Open Port 3000" dir=in action=allow protocol=TCP localport=3000
View cargo-run-cannot-find-ld2d1
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
to run https://github.com/robmikh/minesweeper-rs.git | |
1. Get https://github.com/retep998/winapi-rs/tree/0.3/x86_64/lib/libwinapi_d2d1.a | |
2. Put C:\Users\name\.rustup\toolchains\stable-x86_64-pc-windows-gnu\lib\rustlib\x86_64-pc-windows-gnu\lib\libd2d1.a |
NewerOlder