Olivier Mengué
Olivier Mengué
In JavaScript, all arrays have a property `length` that returns the length of an array. Mustache/Handlebars engines implemented in JS provide this method on array values and some templates originally...
- Move `rand.Seed` out of lambdas - use `time.Now().UnixNano()` instead of `time.Now().UTC().UnixNano()` as seed
See also my suit of packages with the same goals: * [github.com/dolmen-go/flagx](https://pkg.go.dev/github.com/dolmen-go/flagx) * [github.com/dolmen-go/flagx/flagfile](https://pkg.go.dev/github.com/dolmen-go/flagx/flagfile) * [github.com/dolmen-go/flagx/flagnet](https://pkg.go.dev/github.com/dolmen-go/flagx/flagnet)
I had the bad experience that this doesn't work on Windows: ```yaml - name: Run coverage run: go test -v -race -coverprofile=coverage.out -covermode=atomic ./... ``` Output: ``` no required module...
Fo example, use an apple for OS X ( U+F8FF). Credit : https://github.com/riobard/bash-powerline
Get inspiration from [olivierverdier/zsh-git-prompt](/olivierverdier/zsh-git-prompt) for Git plugin output. [magicmonty/bash-git-prompt](/magicmonty/bash-git-prompt) (bash port) Also check the [Haskell implementation](/olivierverdier/zsh-git-prompt/tree/master/src) of `git status` parsing.
Report the current perl version set by [plenv](/tokuhirom/plenv). Design idea: use [Unicode superscripts and subscripts](https://en.wikipedia.org/wiki/Unicode_subscripts_and_superscripts). ``` $ perl -C -E 'say "perl 5.10.1: \x{2075}10\x{2081}"' perl 5.10.1: ⁵10₁ ```
[urxvt](http://software.schmorp.de/pkg/rxvt-unicode.html) is a terminal emulator for X that embeds Perl. It also offers the [AnyEvent](https://metacpan.org/module/AnyEvent) API (see [urxvt::anyevent](http://pod.tst.eu/http://cvs.schmorp.de/rxvt-unicode/src/urxvt.pm#The_code_urxvt_anyevent_code_Class)). The angel part of angel-PS1 could be embedded in urxvt and used...
`angel quit` should restore shell options as they were before angel-PS1 was loaded: `promptpercent`, `nopromptbang`, `nopromptsubst`.
[ivanwills/App-PS1](/ivanwills/App-PS1), made by @ivanwills (cpan:IANWILLS). https://metacpan.org/pod/distribution/App-PS1/bin/app-ps1