Skip to content

Instantly share code, notes, and snippets.

@koo5
Created September 13, 2013 15:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save koo5/6551885 to your computer and use it in GitHub Desktop.
Save koo5/6551885 to your computer and use it in GitHub Desktop.
loop forever:
if user is in flow:
disconnect instant messaging
how to tell if user is in flow:
90% of last 20 minutes
module(?) history:
spent:
X minutes in total spent in:
last X minutes
X minutes of Y spent in:
add up Y.slices spent in
{
the file is a file in /home/kook/Music/By artist/znc/SOUPIS.TXT
the file encoding is SHIT...
the format is cds
cds:
cds
|
cd
br = "\n"
div = br br
div = br br br
cd = text1 br list text2 br
list = single | double
single = lines
lines = lines | line
double = sides lines
sides = [" "]*1[" "]*2
line = num . space name spaces dur
dur = num num : num
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment