minikube version
minikube start
kubectl version
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 list all settings for a app | |
# gsettings list-recursively | sort | grep gedit | uniq | |
#gtk, shell, icon theme | |
gsettings set org.gnome.desktop.interface gtk-theme 'Arc' | |
gsettings set org.gnome.desktop.wm.preferences theme 'Arc' | |
gsettings set org.gnome.shell.extensions.user-theme name 'Arc-Dark' | |
gsettings set org.gnome.desktop.interface cursor-theme 'Paper' | |
gsettings set org.gnome.desktop.interface icon-theme 'Paper' |
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
altwin:menu = +altwin(menu) | |
altwin:meta_alt = +altwin(meta_alt) | |
altwin:ctrl_win = +altwin(ctrl_win) | |
altwin:meta_win = +altwin(meta_win) | |
altwin:left_meta_win = +altwin(left_meta_win) | |
altwin:super_win = +altwin(super_win) | |
altwin:hyper_win = +altwin(hyper_win) | |
altwin:alt_super_win = +altwin(alt_super_win) | |
altwin:swap_lalt_lwin = +altwin(swap_lalt_lwin) | |
grp:switch = +group(switch) |
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
# /etc/profile: This file contains system-wide defaults used by | |
# all Bourne (and related) shells. | |
# http://www.guguncube.com/259/unix-collection-of-useful-bash-aliases | |
# aliases//http://www.cyberciti.biz/tips/bash-aliases-mac-centos-linux-unix.html | |
# http://dotfiles.org/~basileaf/.bashrc | |
[ -z "$PS1" ] && return | |
if [ -n "$PS1" ]; then PATH='cw-definitions-path':$PATH; export PATH; fi |
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
# -*- coding: utf-8 -*- | |
# grub2-editenv /boot/grub2/grubenv create | |
# dracut --regenerate-all -fv && grub2-mkconfig -o /boot/grub2/grub.cfg | |
# https://fedoraproject.org/wiki/Changes/BootLoaderSpecByDefault | |
# https://utcc.utoronto.ca/~cks/space/blog/linux/Fedora30GrubBLSGotcha | |
# https://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/ | |
# ## Backup old initramfs nouveau image ## | |
# mv -fu /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)_orig.img | |
## Create new initramfs image ## | |
# dracut -vf --install "/usr/lib/firmware/radeon/*" --kver $(uname -r) |
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
# /etc/security/limits.conf | |
# | |
#This file sets the resource limits for the users logged in via PAM. | |
#It does not affect resource limits of the system services. | |
# | |
#Also note that configuration files in /etc/security/limits.d directory, | |
#which are read in alphabetical order, override the settings in this | |
#file in case the domain is the same or more specific. | |
#That means for example that setting a limit for wildcard domain here | |
#can be overriden with a wildcard setting in a config file in the |
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
ffmpeg -ss <start_time> -i video.mp4 -t <duration> -q:v 2 -vf select="eq(pict_type\,PICT_TYPE_I)" -vsync 0 frame%03d.jpg |
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
# -*- coding: utf-8 -*- | |
# | |
# Author: Vegard Nossum <vegard.nossum@gmail.com> | |
import math | |
import os | |
import sys | |
import cairo |
NewerOlder