Interactive shell selector for Zed terminal tabs. Opens an arrow-key menu on each new terminal.
brew install lazygit yazi
brew install --cask font-jetbrains-mono-nerd-font # for yazi icons| #!/bin/bash | |
| set -e -o pipefail -u | |
| # Launches each Procfile service as a tmux pane in a background window. | |
| # The window is created if it doesn't already exist. | |
| # Panes are created on demand, and existing panes are restarted if stopped. | |
| if [[ ${1:-} == "stop" || ${1:-} == "quit" ]]; then | |
| for p in $(tmux list-panes -t poorman -F "#D"); do | |
| tmux send-keys -t "$p" "C-c" |
This is an implementation of in-process pub/sub in Ruby with type checking at runtime.
It only allows subscribing to events with jobs to ensure that the subscriber blocks are fully asynchronous and cannot cause runtime exceptions.
This is the approach we use in production at rwx
This is my current (as of 4/30/2020) Yabai and skhdrc config as well as the Ubersicht (http://tracesof.net/uebersicht/) widget I use rather than the Yabai status bar. I went this route rather than the built-in status bar because I didn't like how Yabai as of 2.0.1 handled multiple monitors in the status bar.
Nothing is too far from defaults here, and the spaces.coffee was something I found linked in an issue on Yabai's github page.
| /* | |
| * MIT License | |
| * | |
| * Copyright (c) 2023-2024 Fabio Lima | |
| * | |
| * 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 |
The first post has been published: https://www.swyx.io/writing/cloud-distros
The second post has been adapted for Temporal: https://www.swyx.io/why-temporal/
these are bullet points of a blogpost on a topic i know very little about but i feel like there is something there that is happening as we speak
| # This is an example using Eventide's message handling DSL for declaring different | |
| # handler methods based on message type | |
| class SomeHandler | |
| include Messaging::Handle | |
| handle SomeMessage do |some_msg| | |
| # ... | |
| end | |
| handle OtherMessage do |other_msg| |
Since Golang version 1.11 this process is finally (almost) as easy as it should (!!). You can see full docs here. For older guides see here.
These are my notes, not a generic solution. They are not meant to work anywhere outside my machines. Update version numbers to whatever are the current ones while you do this.
https://www.docker.com/docker-mac
Run the following commands
localip=$(ifconfig | grep "inet " | grep -v 127.0.0.1 | cut -d\ -f2)
dburl=postgres://venkat@docker.local:5432/turtle_dev