These are my installation etc. notes for running Linux on my new Thinkpad P14s laptop with 32GB RAM, 1TB SDD and 8 Core, 16 Thread AMD CPU.
Here is what they quoted as the specs after I confirmed my order:
//------------ Personal overrides ------------// | |
// For general profiles (Check line 252): | |
// DNS-over-HTTPS enabled | |
// Cookie clearing disabled | |
// SSL safe negotiation disabled | |
//--------------------------------------------// | |
// Activity Stream: Enable Weather | |
user_pref("browser.newtabpage.activity-stream.system.showWeather", true); | |
// user_pref("browser.newtabpage.activity-stream.showWeather", true); // default: true | |
user_pref("browser.newtabpage.activity-stream.weather.display", "detailed"); |
#!/bin/sh | |
prog_name=${0##*/} | |
version=1.0 | |
version_text="Boilerplate for new scripts v$version" | |
options="h o: q v V" | |
help_text="Usage: $prog_name [-o <text>] [-hqvV] [<file>]... | |
Boilerplate for new scripts |
There's not a complete hook system designed in Bash when compared with other modern shells. PROMPT_COMMAND
variable is used as a hook in Bash, which is equivalent to precmd
hook in ZSH, fish_prompt
in Fish. For the time being, ZSH is the only shell I've known that has a chpwd
hook builtin.
PROMPT_COMMAND
If set, the value is interpreted as a command to execute before the printing of each primary prompt ($PS1).
https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#Bash-Variables
"============================================================================ | |
" statusline | |
"============================================================================ | |
let g:currentmode={ | |
\ 'n' : 'N ', |
#!/bin/bash | |
################################### license ################################## | |
# switch_sound.sh is a script that switches between speaker and headphone with one mouse click. | |
# Written in 2018 by Wolfram Volpi, contact at https://gist.github.com/wolfv6/df6deb2ac7667d16d621d6da79ef99e0 | |
# To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. | |
# This software is distributed without any warranty. | |
# You should have received a copy of the CC0 Public Domain Dedication along with this software. | |
# If not, see http://creativecommons.org/publicdomain/zero/1.0/. |
#!/bin/sh | |
# i3get | |
# | |
# search for windows in i3 tree, return desired information | |
# if no arguments are passed. con_id of acitve window is returned. | |
# ctrl+c, ctrl+v by budRich 2017 | |
# bash to sh by: nimaje | |
# | |
# Options: |
Suppose you have weird taste and you absolutely want: