I’ve been using
tmux for a while at work, and in particular nested
tmux sessions, one for each server I use regularly handled via a main session on a jump host. There are around 20 different servers I connect to for various tasks and navigating between them all via standard methods was a little tricky. I thought of the idea (which, of course, wasn’t a new thought) of having a fuzzy find so to get to
box4, I could type
I had a look for anything that existed already and found
fzf which seemed really promising. Unfortunately, the servers I’m using didn’t meet the requirements so I wondered how tricky making something like this would be.
Continue reading “Building a basic command palette for Bash”
Do you forget whats supposed to go in the field the second you tab onto it?
Are you concerned your users will too?
Never fear! This simple plugin places an element of the same type underneath the current element and shows the contents of the title attribute (or whatever attribute you decide to use) as a label until you type text into the box!
It’s a very early version, and probably has a few bugs, but I’ve implemented enough to make it fairly useful I think. Unfortunately when you resize a textarea in webkit, it doesn’r fire the resize event, so I’ve added a workaround using mousemove (I tried to only capture mousemove if a mousedown had been detected, but to no avail…)
You can see a demo here, and get the files here.
This simple implementation is styled using pure CSS and you should be to easily modify it to suit your needs!
I’ve set up a demo page and the files can be grabbed from here.
So I’ve updated the parallax script a little. It’s called in a more jQuery like manner now and has a couple of useful options for inverting the movement and changing the unit of measurement to any jQuery/CSS supported unit.
You can see a demo of the updated script, or just download the package (includes jQuery 1.3.2).
Edit: I’ve added a post with a couple of working examples here.
Trackr is a very simple, lightweight (well, if you’re already using jQuery) user interaction tracker. It’s not particularly robust and is only in a fairly simple form right now.
The back end is written in PHP using MySQL for storage, but could easily be implemented in other languages.
To log data, you simply add a call to Trackr.init() to the page load event, passing the desired options as the only parameter to the function.
There are a variety of options that can be specified and for more information please see the test page.
You can get it here (includes jQuery 1.3.2).