Skip to content

Instantly share code, notes, and snippets.

View ardallie's full-sized avatar

Pawel Dziemiach ardallie

View GitHub Profile
@ardallie
ardallie / settings.local.json
Created September 11, 2025 14:31
Local permissions for Claude Code.
{
"permissions": {
"allow": [
"Bash(git branch :*)",
"Bash(git diff :*)",
"Bash(git log :*)",
"Bash(git remote :*)",
"Bash(git reset --hard HEAD@{1})",
"Bash(git reset --soft :*)",
"Bash(git show :*)",
@ardallie
ardallie / iterm2.md
Created January 13, 2023 20:45 — forked from squarism/iterm2.md
An iTerm2 Cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)
@ardallie
ardallie / README.md
Created November 2, 2021 10:02 — forked from jose-mdz/README.md
Orthogonal Diagram Connector

Orthogonal Connectors

This algorithm returns the points that form an orthogonal path between two rectangles.

How to Use

// Define shapes
const shapeA = {left: 50,  top: 50, width: 100, height: 100};
const shapeB = {left: 200, top: 200, width: 50, height: 100};

Keybase proof

I hereby claim:

  • I am ardallie on github.
  • I am ardallie (https://keybase.io/ardallie) on keybase.
  • I have a public key ASBet8cdLHjxChzcUrm4c_e4ErCIYwgw7f9iss49YkU9cwo

To claim this, I am signing this object:

@ardallie
ardallie / jetbrains-multiline-regex
Created November 20, 2018 11:43
Multi-line regex in Jetbrains
JetBrains multi-line match
---------------------------
\{$[\d\D]^(.*)key: "OpenItem",$[\d\D]^(.*)name: "Open",$[\d\D]^(.*)fieldName: "OpenItem",$[\d\D]^(.*)minWidth: ..,$[\d\D]^(.*)maxWidth: ..,$[\d\D]^(.*)isResizable:(.*)$[\d\D]^(.*)\},$
to match
--------
{
key: "OpenItem",