dbag - a dcat fortune file #nixers_after_dark - Off topic

Users browsing this thread: 1 Guest(s)
xero
Long time nixers
sooooo,
last night on irc somehow dcat, rocx, and myself decided that making a version of fortune with dcat quotes would be a great idea. dcat posted his irc logs w/ a grep for his messages. what happened next is worth preserving.

this image is a composite of most of the action, i removed a few off topic messages and combined multiple scrots. e n j o y !

[Image: mIv1vX7.png]

update:
cli tool is out! https://github.com/iotek/dbag/
Houseoftea
Long time nixers
What a quotable person, I really need to get on IRC more ;P
xero
Long time nixers
Quote:need to get on IRC

RIP JMBI
chc4
Members
o7 never forget

We should really have a quotes database, something like xkcdb or bash.org. Hell, even having one of the bots keep it instead of having it public, and have it spout a random quote with a command.
venam
Administrators
If you want to discuss the qdb the thread is still open.
xero
Long time nixers
started working on the cli tool:
https://github.com/iotek/dbag/

feel free to submit pr's w/ new quotes or coding suggestions.
Code:
,
           ;                ,/,
           |#\              /,#
           |#;`,  ._.     .'## |
           |#   `-+_ `---'  ## |
           \     "'           `/
    _.-.,__/  _.-.\  /-.-  __.---''-
          /` _ '-'__ '-'       \
    _.--.|- ( )   \/         -"';'-.
          \  () \_/ \_/       _/
           |  \ //            |
          |'---`@  --' .-----"|
          /'--../\   _/\____--/\
         |        \ /           \
         |         "             |
pranomostro
Long time nixers
@xero:
Why not use fortune?
Code:
fortune /path/to/file
prints a random line from the file.
That's at least how it works with Plan 9 fortune…
schisma
Members
let's make an api out of it
rocx
Members
Code:
$ fortune dbag |cowsay -f ~/dcat.cow
_______________________
< dafuq did I just type >
-----------------------
\
  \
+----  ----+
|   //\\   |
|  //  \\  |
| //    \\ |
|//      \\|
  \      /
   \    /
    \  /
     \/
schisma
Members
ChefIronBelly
Members
Sure to be a instant classic :)
xero
Long time nixers
(16-10-2015, 09:35 AM)schisma Wrote: http://dbag.jona.io/
there
think your api has an out of bounds edge case. i got a blank result a few times when running:

Code:
git commit -m "$(curl -s http://dbag.jona.io)"
schisma
Members
(19-10-2015, 11:31 AM)xero Wrote: hink your api has an out of bounds edge case. i got a blank result a few times when running:
i thought i fixed that, damn

EDIT: should be fixed now