This will give you 1GB extra vram on Pop!_OS. Use ctrl + alt + f3/f4 to switch between terminals.
sudo service gdm stop
| #!/bin/bash | |
| # Check if a PID was provided | |
| if [ -z "$1" ]; then | |
| echo "Usage: $0 <pid>" | |
| exit 1 | |
| fi | |
| PID=$1 | |
| OUTPUT_FILE="usage.txt" |
| <?php | |
| function generate_unique_hex_string($length) { | |
| // Calculate the number of bytes needed for the desired length of the hexadecimal string | |
| $byte_length = ceil($length / 2); | |
| // Generate random bytes | |
| $random_bytes = random_bytes($byte_length); | |
| // Convert the random bytes to a hexadecimal string | |
| $hex_string = bin2hex($random_bytes); |
| (function($, undefined){ | |
| /** | |
| * acf | |
| * | |
| * description | |
| * | |
| * @date 14/12/17 | |
| * @since 5.6.5 | |
| * |
| type CamelToSnake<T extends string, P extends string = ""> = string extends T | |
| ? string | |
| : T extends `${infer C0}${infer R}` | |
| ? CamelToSnake< | |
| R, | |
| `${P}${C0 extends Lowercase<C0> ? "" : "_"}${Lowercase<C0>}` | |
| > | |
| : P; | |
| type CamelKeysToSnake<T> = { |
Taken from: docker/for-mac#6569 (comment)
Looks like the fault could be a missing symlink between /usr/local/lib/docker/cli-plugins and /Applications/Docker.app/Contents/Resources/cli-plugins
Can you try manually creating this:
mkdir -p /usr/local/lib/docker
ln -s /Applications/Docker.app/Contents/Resources/cli-plugins /usr/local/lib/docker/cli-plugins| defaults write -g NSAutomaticWindowAnimationsEnabled -bool false | |
| defaults write -g NSScrollAnimationEnabled -bool false | |
| defaults write -g NSWindowResizeTime -float 0.001 | |
| defaults write -g QLPanelAnimationDuration -float 0 | |
| defaults write -g NSScrollViewRubberbanding -bool false | |
| defaults write -g NSDocumentRevisionsWindowTransformAnimation -bool false | |
| defaults write -g NSToolbarFullScreenAnimationDuration -float 0 | |
| defaults write -g NSBrowserColumnAnimationSpeedMultiplier -float 0 | |
| defaults write com.apple.dock autohide-time-modifier -float 0 | |
| defaults write com.apple.dock autohide-delay -float 0 |
| git log path_to_file | |
| git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch path_to_file" HEAD |
| sudo kernelstub -a "quiet splash i8042.reset" |
| [*] | |
| charset = utf-8 | |
| indent_style = space | |
| indent_size = 2 | |
| end_of_line = lf | |
| insert_final_newline = true | |
| trim_trailing_whitespace = true | |
| [*.md] | |
| insert_final_newline = false |