Clear-Host
# tab auto completion for git commands
# Install with:  PowerShellGet\Install-Module posh-git -Scope CurrentUser -Force
# more on website: https://github.com/dahlbyk/posh-git?tab=readme-ov-file#installation
Import-Module posh-git
oh-my-posh init pwsh | Invoke-Expression
function QuitReplacement{
  
    
      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
    
  
  
    
  | [ | |
| { "keys": ["alt+d"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} }, | |
| { "keys": ["ctrl+d"], "command": "duplicate_line" }, | |
| { "keys": ["ctrl+shift+c"], "command": "toggle_comment", "args": { "block": false } }, | |
| { "keys": ["ctrl+space+down"], "command": "select_lines", "args": {"forward": true} }, | |
| { "keys": ["ctrl+space+up"], "command": "select_lines", "args": {"forward": false}}, | |
| { "keys": ["shift+alt+f"], "command": "reindent", "args": {"single_line": false} } , | |
| { "keys": ["shift+alt+f"], "command": "pretty_json" , | 
edit your docker-compose.yml file:
services:
  database:
    image: postgres:latest
    command: postgres -c 'max_connections=250'
SOURCE:
website: https://ntfy.sh
services:
  ntfy:
My notes on CAS server installation when learning it. Hope it will be helpful to somebody.
[Update 2025] Because CAS documentation site deprecates and removes the older versions, i've fetched and hosted the 6.6.X version docs to my domain.
- 
Go to https://getcas.apereo.org/ui and download an overlay template project. You can use this example settings applied url (select version field 6.6.x if empty, or other versions) 
  
    
      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 | |
| # This command sends this text on active window: { | |
| # Go to settings - keyboard - shortcuts and add a shortcut to call this file and set your keyboard combinations. | |
| windowid=$(xdotool getwindowfocus) | |
| sleep 0.2 && xdotool windowactivate --sync $windowid type '{' | 
  
    
      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
    
  
  
    
  | # Do not forget to use .env variable for the ${...} fields | |
| # With this setup, if you have a domain and manage it on cloudflare, | |
| # you can use the cloudflare tunnels and use seafile on your self hosting machine, | |
| # on your subdomain(i.e: cloud.example.com and cloud-sdoc.example.com.tr for the sdoc-server) | |
| version: "3.8" | |
| services: | |
| db: | |
| restart: unless-stopped | |
| image: mariadb:10.11 | |
| container_name: seafile-mysql | 
  
    
      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 | |
| REM https://www.tenforums.com/tutorials/5645-rebuild-icon-cache-windows-10-a.html | |
| set iconcache=%localappdata%\IconCache.db | |
| set iconcache_x=%localappdata%\Microsoft\Windows\Explorer\iconcache* | |
| echo. | |
| echo The explorer process must be temporarily killed before deleting the IconCache.db file. | |
| echo. | 
  
    
      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
    
  
  
    
  | [Desktop Entry] | |
| Name=Launch TP | |
| Exec=/home/user/tinyproxy/tinyproxy -d -c /home/user/tinyproxy/tinyproxy.conf | |
| Comment=Launch TinyProxy | |
| Terminal=true | |
| PrefersNonDefaultGPU=false | |
| Icon=csd-screensaver-proxy | |
| Type=Application |