Skip to content

Instantly share code, notes, and snippets.

View Kambaa's full-sized avatar

KambaAbi Kambaa

  • KambaAbi
  • Istanbul, Turkey
View GitHub Profile
@Kambaa
Kambaa / profile-example.md
Last active November 5, 2024 08:47
Windows powershell profile (like bashprofile) settings.
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{
@Kambaa
Kambaa / postgres-increase-max-conn-docker.md
Created August 9, 2024 23:29
How to increate max connections on postgres on docker

edit your docker-compose.yml file:

services:
  database:
    image: postgres:latest
    command: postgres -c 'max_connections=250'

SOURCE:

@Kambaa
Kambaa / ntfy-notes.md
Created August 8, 2024 19:32
My NTFY notes
@Kambaa
Kambaa / My Cas 6.6.x Notes.md
Last active August 7, 2024 07:08
My CAS 6.6.x Setup Notes

My notes on CAS server installation when learning it. Hope it will be helpful to somebody.

Initial/Basic setup.

@Kambaa
Kambaa / addLcurly.sh
Last active June 7, 2024 12:15
Custom keyboard shortcuts for My Linux Mint. Go to Settings - Keyboard - Shortcuts - Custom and add a shortcut to call these files and set your keyboard combinations.
#!/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 '{'
@Kambaa
Kambaa / My-Dockge-Seafile-Docker-Compose-Configuration.yaml
Last active August 9, 2024 13:09
Self-Hosted SeaFile 11 With SeaDoc Integration Enabled Docker Compose Settings ready to use on Dockge!
# 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
@Kambaa
Kambaa / Rebuild_Icon_Cache.bat
Created March 23, 2024 21:24
win 10 rebuild icon cache
@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.
@Kambaa
Kambaa / Launch TP
Last active March 23, 2024 04:07
TinyProxy - Basic proxy for small needs
[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
@Kambaa
Kambaa / strokes plus keys.txt
Last active March 22, 2024 20:34 — forked from sysatom/sp_keys.txt
StrokesPlus : Full SendKeys listing
@ = WINKEY
+ = SHIFT
^ = CTRL
% = ALT
{ADD} = VK_ADD
{APPS} = VK_APPS
{AT} = @
{BACKSPACE} = VK_BACK
{BKSP} = VK_BACK