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
| ''' | |
| Find out available website settings and website fields. | |
| The fields are recognized with a fuzzy algorythm, so there might be | |
| too many and some might be missing? | |
| Run this in an odoo shell of the odoo instance: | |
| ''' | |
| installed_langs = env['res.lang'].search([('active', '=', True)]) | |
| print("Installed languages:", installed_langs.mapped('code')) |
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
| # tmux source-file ~/.tmux.conf | |
| # find . -name "*tmux.conf" | |
| # ./.config/byobu/.tmux.conf | |
| # vim $(find . -name "*tmux.conf") | |
| # tmux source-file $(find . -name "*tmux.conf") | |
| # use ctrl-a as prefix which conflicts with: | |
| # - vim to increase a number in the text | |
| # - fish to go to beginning of line | |
| unbind-key C-b |
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
| body.o_web_client.o_home_menu_background { | |
| background-image: none !important; | |
| } |
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
| curl https://raw.githubusercontent.com/jesseduffield/lazydocker/master/scripts/install_update_linux.sh | bash | |
| echo 'export PATH=$HOME/.local/bin:$PATH' >> ~/.bashrc | |
| source ~/.bashrc |
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
| .PHONY: help | |
| help: | |
| # Keep this comment line, it is imortant so awk ignores the help target. | |
| @echo "Available targets:" | |
| @echo " help\t\t Show this help message" | |
| @awk '/^[^.][a-zA-Z0-9_-]+:/{t=$$1;getline;if($$0~"@echo"){gsub(/^[^"]*"|".*$$/,"",$$0);printf " %-20s %s\n",substr(t,1,length(t)-1),$$0}}' $(MAKEFILE_LIST) | |
| .PHONY: it | |
| it: | |
| @echo "Start bash in the container as user 1000" |
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
| select | |
| a.Artikelnummer, | |
| a.ArtBruttoGewicht, | |
| a.ArtOptimaleFertigungsmenge1, | |
| p.PosBezeichnung1, | |
| p3m.PosMenge1 | |
| /* p.* */ |
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
| /* chrome n3 */ | |
| a.fw-bold.text-truncate { | |
| font-size: 30px | |
| } | |
| span.min-w-0.text-truncate { | |
| font-size: 30px | |
| } |
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
| #!/bin/bash | |
| # GitHub SSH Key Updater | |
| # --------------------- | |
| # SECURITY WARNING: This script grants SSH access to your machine! | |
| # Only add keys from GitHub users you absolutely trust with full SSH access to your system. | |
| # Each added public key will allow that user to log into your machine via SSH. | |
| # | |
| # Purpose: | |
| # Fetches and merges public SSH keys from a GitHub user into your ~/.ssh/authorized_keys file, |
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
| @echo off | |
| cd %USERPROFILE%\Desktop | |
| mkdir "system.{ED7BA470-8E54-465E-825C-99712043E01C}" |
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
| #!/bin/bash | |
| # (c) CompuMatter, LLC, ServerMatter | |
| # no warranty expressed or implied - use as is. | |
| # See https://www.youtube.com/watch?v=4hjskxkapYo | |
| # versioned here: https://gist.github.com/kwmiebach/6565ad1b43f3c781b23fce6ba80f59ea | |
| # history of the gist: | |
| # 2023-09-28 downloaded from https://cloud.compumatter.biz/s/fxfYM9SkamBtGqG - unchanged | |
| # purpose of this script: |
NewerOlder