Skip to content

Instantly share code, notes, and snippets.

// Menu: Pipe Clipboard to Command
// Decription: Manipulate clipboard content using the command line
// Author: pomdtr
process.env.PATH = `${process.env.HOME}/.local/bin:/usr/local/bin/:${process.env.PATH}`;
function codeblock(text) {
const triple_backquote = "```";
return `${triple_backquote}shell\n${text}\n${triple_backquote}`;
}
@pomdtr
pomdtr / install.sh
Last active October 6, 2021 18:33
install dotfiles
#!/bin/sh
set -ex
git clone --bare https://github.com/pomdtr/dotfiles ~/dotfiles
/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME checkout
/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME config --local status.showUntrackedFiles no
@pomdtr
pomdtr / schema.yaml
Last active December 22, 2021 14:57
lazycli #test
commands:
- title: List Recent Gists
command: gh gist list
actions:
- name: Open
command: gh open
@pomdtr
pomdtr / install.sh
Last active January 2, 2022 15:43
install dotfiles vscode
#!/usr/bin/env sh
sh -c "$(curl -fsLS git.io/chezmoi)" -- init --one-shot pomdtr
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pomdtr
pomdtr / export.excalidraw
Last active December 16, 2023 16:23
export.excalidraw
{
"type": "excalidraw",
"version": 2,
"source": "https://marketplace.visualstudio.com/items?itemName=pomdtr.excalidraw-editor",
"elements": [
{
"id": "VZyeHtbl43ZLGgTi7z48w",
"type": "rectangle",
"x": 398.999267578125,
"y": 307.12464904785156,
export default function(req: Request) {
return new Response("Hello from Github!")
}
@pomdtr
pomdtr / gist.md
Created December 14, 2023 12:23
Gist Description

test test

@pomdtr
pomdtr / benji.md
Created December 15, 2023 21:13
yoooooo!

Hi

  • yo
@pomdtr
pomdtr / notes.ipynb
Last active December 26, 2023 00:04
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.