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
################################################################################ | |
########### 2025 June 29 - TLP P14s Gen 5 AMD by Sylvain POULAIN ############ | |
########### 2025: - Changed ondemand governor with reduced cpu freq ############ | |
########### - Removed Wifi powersaving causing bugs | |
################################################################################ | |
# Content of /etc/tlp.d/99-tlp.conf for P14s Gen 5 AMD | |
# (Also works with T14 Gen 5 : same hardware, same motherboard) | |
################################################################################ | |
# Complete hardware list => https://linux-hardware.org/?probe=1c547a828f | |
################################################################################ |
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
MIT License | |
Copyright (c) 2021 Daniel Ethridge | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
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
/* | |
You will need to configure the global path variables to point to the directories | |
in your project, as well as to replace any execSync() commands with the build | |
commands that you are using. | |
To enable this hook, create .git/hooks/prepare-commit-msg (you may need to unhide | |
the .git/* folder), make it executable using chmod +x .git/hooks/prepare-commit-msg, | |
and add the following code in that file to point the hook to this source: | |
#!/usr/bin/env node |
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 | |
### | |
### my-script — does one thing well | |
### | |
### Usage: | |
### my-script <input> <output> | |
### | |
### Options: | |
### <input> Input file to read. | |
### <output> Output file to write. Use '-' for stdout. |
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 fontconfig SYSTEM 'fonts.dtd'> | |
<fontconfig> | |
<match target="font"> | |
<edit mode="assign" name="antialias"> | |
<bool>true</bool> | |
</edit> | |
<edit mode="assign" name="hinting"> | |
<bool>true</bool> | |
</edit> |
What I used in this lab ;)
- k3s : https://k3s.io/
- k3s documentation : https://rancher.com/docs/k3s/latest/en/
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/sh | |
# | |
# modified from sample: https://prettier.io/docs/en/precommit.html | |
# | |
# install dotnet-format: dotnet tool install -g dotnet-format | |
# copy to .git/hooks/pre-commit and make executable | |
# | |
FILES=$(git diff --cached --name-only --diff-filter=ACM "*.cs" | sed 's| |\\ |g') |
NewerOlder