Skip to content

Instantly share code, notes, and snippets.

@laiso
laiso / settings.local.json
Last active February 19, 2026 21:58
.claude/settings.local.json: To automatically open plan files in VS Code whenever they are created or updated by the Write tool. Claude Code
{
"hooks": {
"PreToolUse": [
{
"matcher": "ExitPlanMode",
"hooks": [
{
"type": "command",
"command": "code \"$(ls -t ~/.claude/plans/*.md | head -1)\"",
"timeout": 5
@bl4ck5un
bl4ck5un / responsive-semantic-ui.css
Created May 12, 2017 03:20
Responsive helpers (mobile-only etc.) for semantic-ui
/* Semantic UI has these classes, however they're only applicable to*/
/* grids, containers, rows and columns.*/
/* plus, there isn't any `mobile hidden`, `X hidden` class.*/
/* this snippet is using the same class names and same approach*/
/* plus a bit more but to all elements.*/
/* see https://github.com/Semantic-Org/Semantic-UI/issues/1114*/
/* Mobile */
@media only screen and (max-width: 767px) {
[class*="mobile hidden"],