Skip to content

Instantly share code, notes, and snippets.

View trapd00r's full-sized avatar
🐫
japh

magnus woldrich trapd00r

🐫
japh
View GitHub Profile
Synopsis 26[1] outlines a new Pod format for Perl 6, one which simplifies and
generalizes features of POD, and also enables bidirectional communication
between the ambient language (typically Perl 6) and the documentation language
(Pod).
The synopsis is clear, complete and self-consistent, but a good guess is that
contact with a Perl 6 implementation will lead to a number of small updates,
corrections, and improvements. Furthermore, in a few known places S26 and
S02[2] (outlining basic syntax and language fundamentals) need to be updated
with respect to each other.
> file $(find $HOME -maxdepth 1 -type l | grep -viP 'rc$') | sort -k5
/home/scp1/.gitconfig: symbolic link to `etc/gitconfig.global'
/home/scp1/.gitignore: symbolic link to `etc/gitignore.global'
/home/scp1/.mplayer: symbolic link to `etc/mplayer/'
/home/scp1/.pentadactyl: symbolic link to `etc/pentadactyl'
/home/scp1/.vim: symbolic link to `etc/vim/'
/home/scp1/.Xresources: symbolic link to `etc/Xresources'
/home/scp1/.mame: symbolic link to `/mnt/Leftover/.mame'
/home/scp1/.mess: symbolic link to `/mnt/Leftover/.mess'
/home/scp1/perl5: symbolic link to `/mnt/Leftover/perl5'
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[]) {
static const char *env[] = {
"HOME",
"XDG_CACHE_HOME", "XDG_CONFIG_HOME", "XDG_DATA_HOME",
"BIN_HOME", "DEVEL_HOME",
};
checking --enable-pythoninterp argument... yes
checking for python... (cached) /usr/bin/python
checking Python version... (cached)
checking Python is 1.4 or better... too old
checking --enable-python3interp argument... yes
checking for python3... (cached) /usr/bin/python3
checking Python version... (cached) 3.2
checking Python's install prefix... (cached) /usr
checking Python's execution prefix... (cached) /usr
> ls /usr/bin/python
- file
python python3.2 python2
python2.7 python3
#!/bin/bash
if [[ -f $XDG_CONFIG_HOME/dmenurc ]]; then
# so we source it's rc, but we never give $DMENU any value :-)
. $XDG_CONFIG_HOME/dmenurc
else
# much easier to use the new vertical mode of dmenu (20 lines)
DMENU="dmenu -i -l 20"
fi
#!/bin/bash
if [[ -f $XDG_CONFIG_HOME/dmenurc ]]; then
# so we source it's rc, but we never give $DMENU any value :-)
. $XDG_CONFIG_HOME/dmenurc
else
# much easier to use the new vertical mode of dmenu (20 lines)
DMENU="dmenu -i -l 20"
fi
if exists('g:loaded_fugitive')
let &statusline="this one is active."
endif
let g:Active_statusline=&g:statusline
let g:NCstatusline="this one is not active."
au WinEnter * let &l:statusline = g:Active_statusline
au WinLeave * let &l:statusline = g:NCstatusline
o _ _ _
_o /\_ _ \\o (_)\__/o (_)
_< \_ _>(_) (_)/<_ \_| \ _|/' \/
(_)>(_) (_) (_) (_) (_)' _\o_
> ls $HOME
▕ drwxr-xr-x▏26 day │ 12K│bin
▕ drwxr-xr-x▏3 day │ 12K│dev
▕ drwxr-xr-x▏< day │ 4K│etc
▕ drwxr-xr-x▏29 day │ 4K│usr
▕ drwxr-xr-x▏6 day │ 4K│var
▕ lrwxrwxrwx▏2 mon │ 19B│perl5 ▪▶ /mnt/Leftover/perl5