The Home Assistant language server can be used with Neovim.
- Download the latest release from the releases.
- Unpack the archive.
- Run
npm install
- Run
npm run compile
/** | |
* @param array $result | |
* @param int $depth | |
* @return void | |
*/ | |
function var_table(array $result, int $depth = 0): void | |
{ | |
$indent = str_repeat(" ", $depth * 4); | |
if (empty($result)) { | |
echo sprintf("%s<empty>\n", $indent); |
The Home Assistant language server can be used with Neovim.
npm install
npm run compile
sub format-duration(Duration:D $d --> Str) { | |
join "", reverse ($d.Rat.polymod(60, 60, 24) Z <s m h d>).grep:{$_[0] != 0} or "0s" | |
} | |
sub format-duration2(Duration:D $d --> Str) { | |
($d.Rat.polymod(60, 60, 24) Z <s m h d>).grep({$_[0] != 0}).reverse.flat.join("") or "0s"; | |
} |
FROM golang:latest | |
WORKDIR /go/src/github.com/pstuifzand/jirasearch | |
EXPOSE 8081 | |
COPY CompileDaemon /go | |
CMD [ "/go/CompileDaemon", "-build", "go build -v -o /go/bin/app ./cmd/server/main.go", "-command", "/go/bin/app" ] |
#!/bin/bash | |
while true; do | |
xdotool getmouselocation 2>&1 | sed -rn '${s/x:([0-9]+) y:([0-9]+) .*/\1,\2/p}' >> mouselocation.csv | |
sleep 1 |
Code for the most part comes from: http://unix.stackexchange.com/questions/129159/record-every-keystroke-and-store-in-a-file
I added the timestamp with hires timing. Log as DKVP, the default format for Miller.
This is a nice data source for something like Exist, which supports a keystrokes
attribute now.
<html> | |
<body> | |
<div> | |
<div class="kw-content"> | |
<h1>test</h1> | |
<div class="panel-content"> | |
<div class="panel panel-default"> | |
<div class="form-group"> | |
<input id="name" type="text" name="title"> | |
<input id="name" type="number" name="title"> |
{ | |
"Model/*.php": { "type": "model" }, | |
"Model/Resource/*.php": { "type": "resource" }, | |
"Block/*.php": { "type": "block" }, | |
"Helper/*.php": { | |
"type": "helper", | |
"template": [ | |
"<?php", | |
"", | |
"class extends Mage_Core_Helper_Abstract", |
A BEGIN | |
@yield('content') | |
A END |