View example.go
package main
import (
"log"
"github.com/micro/go-micro/broker"
"github.com/micro/go-micro/cmd"
"broker/particle"
)
View godoc.kak
def -allow-override -params 1 godoc %{
%sh{
output=$(mktemp -d -t kak-temp-XXXXXXXX)/fifo
mkfifo ${output}
(go doc $1 > ${output}) > /dev/null 2>&1 < /dev/null &
echo "eval -client %opt{docsclient} echo '
edit! -fifo ${output} *godoc*
hook buffer BufClose .* %{ nop %sh{ rm -r $(dirname ${output})}}
'"
}
View morgue.txt
Dungeon Crawl Stone Soup version 0.16.1 (tiles) character file.
2076446 koakr the Intangible (level 27, 186/267 (273) HPs)
Began as a Minotaur Gladiator on Aug 14, 2015.
Was the Champion of Cheibriados.
Escaped with the Orb
... and 4 runes!
The game lasted 05:27:58 (105435 turns).
View gist:e75744db069f56a5e431
Dungeon Crawl Stone Soup version 0.15.0-8-gb109cf8 (tiles) character file.
boar the Hoplite (Demonspawn Wizard) Turns: 41031, Time: 03:56:44
HP 137/140 AC 26 Str 11 (13) XL: 17 Next: 49%
MP 31/31 EV 16 Int 23 God: Ashenzari [******]
Gold 1088 SH 22 Dex 15 (16) Spells: 10 memorised, 4 levels left
rFire . . . SeeInvis + a - +12 spear "Cileal" {pierce, +Fly rPois}
rCold + . . Clarity + p - +2 ring mail {rC+} (curse)
View eden.md

Private API

Returns a season's url on the Audiodramax blog.

: season-url ( season -- url ) 
    "http://www.audiodramax.com/tag/eden-saison-%d" sprintf ;

Filters episodes from a list of urls. At the moment we are only interested on .mp3 files.

View Factor interface to OS X Spotlight.factor
USING: accessors arrays byte-arrays calendar fry google.search
io io.directories io.directories.hierarchy io.directories.search
io.encodings.utf8 io.files io.launcher io.pathnames io.pipes
io.timeouts kernel locals make namespaces sequences splitting
strings unicode.categories webbrowser wordtimer ;
IN: spotlight
! *** MAC OS X 10.6.8 & LATER: IMPLEMENTING mdfind, mdls, mdutil, mdimport ***
! *** SEARCHING ON OS X VIA SPOTLIGHT METADATA INDEX, & MANAGING INDEXING FROM FACTOR ***
View tmux.conf
# Set Ctrl+A as escape sequence
set -g prefix C-a
unbind C-b
# For nested tmuxes use Ctrl+A A <command>
bind a send-prefix
# Lower escape time, make tmux more responsive
set -g escape-time 0
View level.rb
@map = Dungeon::Map.build do
tiles = layer :tiles, 'maps/test_map.bmp', {
# Hmm, colors are weird the 1st is supposed to be 170 170 170
[43690, 43690, 43690] => Dungeon::StoneFloor,
[11308, 11308, 11308] => Dungeon::StoneWall,
[24929, 24929, 24929] => Dungeon::StoneWallV
}
tiles.set :solid, [Dungeon::StoneWall, Dungeon::StoneWallV]
tiles.set :floor, [Dungeon::StoneFloor]
View vm.c
#include <stdlib.h>
#include <stdio.h>
#include <u/libu.h>
int facility = LOG_LOCAL0;
typedef struct stack {
void *mem;
int p;
View VindiUsage.io
game := Vindi newGame("my_bot_key")
next_turn := game move("Stay")
next_turn := next_turn move("North")
# etc..