Service name Startup type Logon As Microsoft Account Sign-in Assistant Manual Local System account Windows License Manager Service Manual Local Service Windows Update Manual Local System account Background Intelligent Transfer Service Manual Local System account Web Account Manager Manual Local System account
search for print that does not # before and space before or after #
^(?![\s]*#).*\bprint
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
| # fnm completion related | |
| using namespace System.Management.Automation | |
| using namespace System.Management.Automation.Language | |
| # end fnm completion related | |
| # Import modules | |
| Import-Module Terminal-Icons | |
| Import-Module PSReadLine | |
| Import-Module posh-git | |
| Import-Module posh-sshell |
git config --global alias.undo '!git reset --hard HEAD^ && git clean -df'
git config --global alias.stash-all '!f() { git stash push --include-untracked -m "$(date +"%Y-%m-%d %H:%M:%S")"; }; f'
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
| # -*- mode: python ; coding: utf-8 -*- | |
| import os | |
| from PyInstaller.utils.hooks import collect_all | |
| datas = [] | |
| binaries = [] | |
| hiddenimports = ['customtkinter', 'darkdetect', 'utils', 'utils.path_resolver', 'utils.subprocess_utils', 'utils.pdf_processor'] | |
| tmp_ret = collect_all('customtkinter') | |
| datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2] |
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
| download greenclip from https://github.com/erebe/greenclip/releases | |
| put `greenclip` in $PATH (i did put it in /usr/bin) | |
| under ~/.config, create 1 file `.config/greenclip.toml` | |
| *.config/greenclip.toml* | |
| ```BASH | |
| [greenclip] | |
| blacklisted_applications = [] |
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 http://localhost:1234/v1/chat/completions \ | |
| -H "Content-Type: application/json" \ | |
| -d '{ | |
| "model": "gemma-3n-e2b-it", | |
| "messages": [ | |
| { "role": "system", "content": "Always answer in rhymes. Today is Thursday" }, | |
| { "role": "user", "content": "What day is it today?" } | |
| ], | |
| "temperature": 0.7, | |
| "max_tokens": -1, |
Install only the dev group (without base dependencies):
uv sync --only-group dev Install multiple groups at once:
uv sync --group dev --group prod Install all groups:
uv sync --all-groups
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
| { | |
| "$help": "https://aka.ms/terminal-documentation", | |
| "$schema": "https://aka.ms/terminal-profiles-schema", | |
| "actions": | |
| [ | |
| { | |
| "command": | |
| { | |
| "action": "copy", | |
| "singleLine": false |
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
| To configure your .ssh/config file to use two different GitHub accounts with separate SSH keys, follow these steps based on best practices: | |
| Generate distinct SSH key pairs for each GitHub account, if you haven't already, for example: | |
| ssh-keygen -t rsa -C "email_for_account1@example.com" -f ~/.ssh/id_rsa_account1 | |
| ssh-keygen -t rsa -C "email_for_account2@example.com" -f ~/.ssh/id_rsa_account2 | |
| Add the SSH keys to the ssh-agent: | |
| ssh-add ~/.ssh/id_rsa_account1 | |
| ssh-add ~/.ssh/id_rsa_account2 | |
| Configure your ~/.ssh/config file with Host aliases pointing to GitHub but specifying different IdentityFiles: |
NewerOlder