Target System: MacBook Pro Retina 15" (Late 2013, Model 11,3)
OS: Linux (Mint/Ubuntu/Debian based)
Objective: Completely power down the dedicated NVIDIA GT 750M to save battery and reduce heat, relying solely on the Integrated Intel Iris Pro graphics.
This file contains hidden or 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
| deb https://deb.debian.org/debian/ trixie contrib main non-free non-free-firmware | |
| # deb-src https://deb.debian.org/debian/ trixie contrib main non-free non-free-firmware | |
| deb https://deb.debian.org/debian/ trixie-updates contrib main non-free non-free-firmware | |
| # deb-src https://deb.debian.org/debian/ trixie-updates contrib main non-free non-free-firmware | |
| deb https://deb.debian.org/debian/ trixie-proposed-updates contrib main non-free non-free-firmware | |
| # deb-src https://deb.debian.org/debian/ trixie-proposed-updates contrib main non-free non-free-firmware | |
| deb https://deb.debian.org/debian/ trixie-backports contrib main non-free non-free-firmware |
This switch does not allow you to choose which ports the default VLAN is connected to. Seeing that the configs for the default VLAN do get dumped into the config backup file, I decided to patch that file, modifying and uploading the internal config of the switch instead of politely asking it to remove that VLAN from some ports.
If you open the config file with a hex editor, you'll notice somewhere in the middle the strings "Default_VLAN", followed by the names of the VLANs
This file contains hidden or 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
| # Bash completion for ssh-add | |
| _ssh_add() { | |
| local cur prev words cword | |
| _init_completion || return | |
| local flags=( | |
| -l --list | |
| -L --list-public | |
| -d --delete |
See also https://github.com/music-assistant/server/blob/dev/DEVELOPMENT.md
The development documentation does not mention how to build a modified version locally.
The Dockerfile loads the music assistant server wheel package from the dist folder.
This file contains hidden or 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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>mwd.sleepMac</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>/path/to/sleepMac.sh</string> | |
| </array> |
| Aspect or Feature | kubernetes/ingress-nginx | nginxinc/kubernetes-ingress with NGINX | nginxinc/kubernetes-ingress with NGINX Plus |
|---|---|---|---|
| Fundamental | |||
| Authors | Kubernetes community | NGINX Inc and community | NGINX Inc and community |
| NGINX version | Custom NGINX build that includes several third-party modules | NGINX official mainline build | NGINX Plus |
| Commercial support | N/A | N/A | Included |
| Implemented in | Go/Lua (while Nginx is written in C) | Go/Python | Go/Python |
| Load balancing configuration via the Ingress resource |
This file contains hidden or 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
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| # any name can be used; Velero uses the labels (below) | |
| # to identify it rather than the name | |
| name: change-storage-class-config | |
| # must be in the velero namespace | |
| namespace: velero | |
| # the below labels should be used verbatim in your | |
| # ConfigMap. |
This file contains hidden or 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! ToggleRawMode() | |
| let notraw = ((&signcolumn != 'no') || &number || &conceallevel) | |
| if notraw | |
| let b:signcolumn_saved=&signcolumn | |
| set signcolumn=no | |
| let b:conceallevel_saved=&conceallevel |
NewerOlder