Skip to content

Instantly share code, notes, and snippets.

@xsot
xsot / instructions.md
Last active June 12, 2026 16:49
sed maze solver

Usage

sed -E -f solver.sed input where input is a file containing the maze.

For best results, resize your terminal to match the height of the maze. To disable animations, delete the lines containing p.

Maze format

The solver assumes the following:

  • The maze only contains the characters # \nSE
  • Every line has the same number of characters
  • There is only one start (S) and end (E)
@mbostock
mbostock / .block
Last active May 30, 2025 18:14
Line Drawing
license: gpl-3.0
redirect: https://observablehq.com/@d3/draw-me
@rothgar
rothgar / GNOMEShell.textile
Last active June 11, 2026 19:52
GNOME 3 keyboard shortcuts

Keyboard Shortcuts – GNOME Shell 3.8+

General Navigation

Super or Alt + F1 or Super + S Activities Overview
Alt + F2 Command window
Super + A Application View
Super + M Toggle Message Tray
Super + N Focus Notification
Ctrl + Alt + Tab Toggle System Focus (Windows, Top Bar, Messages)
@ericcitaire
ericcitaire / .gitignore
Last active June 10, 2019 17:03
D3 JezzBall
/.project
/.settings
@rkirsling
rkirsling / LICENSE
Last active December 16, 2025 15:47
Directed Graph Editor
Copyright (c) 2013 Ross Kirsling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
@pksunkara
pksunkara / config
Last active August 3, 2026 19:16
Sample of git config file (Example .gitconfig) (Place them in $XDG_CONFIG_HOME/git)
# vi: ft=dosini
[user]
name = Pavan Kumar Sunkara
email = pavan.sss1991@gmail.com
username = pksunkara
[core]
editor = nvim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager = delta
[column]