This assumes you will have pgAgent running on the same machine as your database.
- Install pgAgent via package manager
sudo apt update
| ### Keybase proof | |
| I hereby claim: | |
| * I am peterneave on github. | |
| * I am peterneave (https://keybase.io/peterneave) on keybase. | |
| * I have a public key ASBuwHjkaPAVFASh5t08TW4nNVEbCYj4MMgcMKBlBkbKEQo | |
| To claim this, I am signing this object: |
| // For format details, see https://aka.ms/devcontainer.json. For config options, see the | |
| // README at: https://github.com/devcontainers/templates/tree/main/src/rust | |
| { | |
| "name": "Rust", | |
| // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile | |
| "image": "mcr.microsoft.com/devcontainers/rust:latest", | |
| "customizations": { | |
| "vscode": { | |
| "settings": { | |
| "todo-tree.regex.regex": "(//|#|<!--|;|/\\*|^|^[ \\t]*(-|\\d+.))\\s*($TAGS)|todo!", |
| #!/usr/bin/env bash | |
| set -e | |
| # Examples of call: | |
| # git-clone-bare-for-worktrees git@github.com:name/repo.git | |
| # => Clones to a /repo directory | |
| # | |
| # git-clone-bare-for-worktrees git@github.com:name/repo.git my-repo | |
| # => Clones to a /my-repo directory |
| $Dictionary = @{ | |
| "key1" = "value1"; | |
| "key2" = "value2"; | |
| } | |
| $sourceFilename = "template.txt" | |
| $destinationFilename = "output.txt" | |
| $delimStart = "<" | |
| $delimEnd = ">" | |
| $templateContent = Get-Content $sourceFilename |
| Import-Module PSReadLine | |
| Import-Module Posh-Git | |
| oh-my-posh init pwsh --config '$env:UserProfile\jandedobbeleer.omp.json' | Invoke-Expression | |
| # AWS CLI | |
| Register-ArgumentCompleter -Native -CommandName aws -ScriptBlock { | |
| param($commandName, $wordToComplete, $cursorPosition) | |
| $env:COMP_LINE = $wordToComplete | |
| if ($env:COMP_LINE.Length -lt $cursorPosition) { |
| [merge] | |
| tool = kdiff3 | |
| [mergetool "kdiff3"] | |
| path = C:/Program Files/KDiff3/kdiff3.exe | |
| trustExitCode = false | |
| [diff] | |
| guitool = kdiff3 | |
| [difftool "kdiff3"] | |
| path = C:/Program Files/KDiff3/kdiff3.exe | |
| trustExitCode = false |
| { | |
| "blocks": [{ | |
| "type": "prompt", | |
| "alignment": "left", | |
| "segments": [{ | |
| "type": "session", | |
| "style": "diamond", | |
| "foreground": "#ffffff", | |
| "background": "#c386f1", | |
| "leading_diamond": "", |
| #Script to Run: C:\Program Files\PowerShell\7\pwsh.exe | |
| #param: c:\dev\GoToJira.ps1 $REPO $SHA | |
| Param( | |
| [string]$REPO, | |
| [string]$SHA | |
| ) | |
| pushd $REPO | |
| $var = (git log -n 1 --pretty=medium $SHA) | Out-String |
| #Script to Run: C:\Program Files\PowerShell\7\pwsh.exe | |
| #param: c:\dev\GoToBitBucket.ps1 $REPO $SHA | |
| Param( | |
| [string]$REPO, | |
| [string]$SHA | |
| ) | |
| pushd $REPO | |
| $var = (git remote get-url origin) | Out-String |