fix balloons and links for extra ponies

Signed-off-by: Mattias Andrée <maandree@operamail.com>
This commit is contained in:
Mattias Andrée 2013-04-04 11:46:29 +02:00
parent a58331b0f1
commit 5d8134315c
22 changed files with 126 additions and 94 deletions

32
dev/catise.py Executable file
View file

@ -0,0 +1,32 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
comment = False
while True:
line = None
try:
line = input()
except:
pass
if line is None:
break
if line == '$$$':
comment = not comment
continue
if comment:
continue
line = line.replace('$\\$', '\\').replace('$/$', '/').replace('$X$', 'X');
if line.startswith('$balloon'):
line = line[len('$balloon'):]
balloon = line[:line.find('$')]
line = line[len(balloon) + 1:]
for alpha in 'qwertyuiopasdfghjklzxcvbnm':
balloon = balloon.replace(alpha, ',')
balloon = balloon.split(',')[0]
if len(balloon) == 0:
line = '\033[01;33;41m%s\033[00m' % (50 * '/') + line
else:
line = '\033[42m%s\033[00m' % (int(balloon) * ' ') + line
print(line)

View file

@ -29,11 +29,11 @@ purposes, all without asking permission. See Other Information below.
http://creativecommons.org/publicdomain/zero/1.0/legalcode
$$$
$balloon46$
$balloon28$
$\$ 
$\$ 
$\$ 
 
$\$  
   
 
 

View file

@ -17,11 +17,11 @@ WIDTH: 46
HEIGHT: 25
$$$
$balloon12$
$balloon9$
$\$ 
$\$ 
$\$ 
  
$\$  
 
 
  

View file

@ -18,11 +18,11 @@ WIDTH: 39
HEIGHT: 25
$$$
$balloon28$
$balloon26$
$\$ 
$\$ 
$\$ 
 
$\$ 
 
 
   

View file

@ -20,7 +20,7 @@ WIDTH: 42
HEIGHT: 30
$$$
$balloon$
$balloon6$
$\$ 
$\$ 
$\$ 

View file

@ -17,7 +17,7 @@ WIDTH: 43
HEIGHT: 24
$$$
$balloon15$
$balloon11$
$\$ 
$\$ 
$\$ 

View file

@ -22,7 +22,7 @@ $balloon5$
$\$ 
$\$ 
$\$ 
 
$\$ 
 
 
 

View file

@ -22,7 +22,7 @@ $balloon5$
$\$ 
$\$ 
$\$ 
   
$\$   
 
 
 

View file

@ -22,8 +22,8 @@ $balloon5$
$\$ 
$\$ 
$\$ 
  
 
$\$  
$\$ 
 
 
 

View file

@ -18,11 +18,11 @@ WIDTH: 33
HEIGHT: 25
$$$
$balloon10$
$balloon6$
$\$ 
$\$ 
$\$ 
 
$\$  
 
 
 

View file

@ -18,11 +18,11 @@ WIDTH: 37
HEIGHT: 24
$$$
$balloon9$
$balloon5$
$\$ 
$\$ 
$\$ 
 
$\$  
 
 
 

View file

@ -18,11 +18,11 @@ WIDTH: 32
HEIGHT: 23
$$$
$balloon12$
$balloon7$
$\$ 
$\$ 
$\$ 
 
$\$  
 
 
 

View file

@ -19,11 +19,11 @@ WIDTH: 38
HEIGHT: 25
$$$
$balloon30$
$balloon25$
$\$ 
$\$ 
$\$ 
 
$\$  
 
 
 

View file

@ -21,13 +21,13 @@ WIDTH: 47
HEIGHT: 27
$$$
$balloon25$
$balloon31$
$\$ 
$\$ 
$\$ 
$\$ 
$\$    
$\$  
 




View file

@ -21,11 +21,11 @@ HEIGHT: 28
License summary: https://creativecommons.org/licenses/by-sa/3.0
Full license text: https://creativecommons.org/licenses/by-sa/3.0/legalcode
$$$
$balloon36$
$balloon30$
$\$ 
$\$ 
$\$ 
 
$\$  
  
 


View file

@ -21,14 +21,14 @@ WIDTH: 95
HEIGHT: 40
$$$
$balloon66$
$balloon52$
$\$ 
$\$ 
$\$ 
 
   
   
  
$\$  
  $\$  
 $\$   
 $\$  
   
  
  

View file

@ -22,11 +22,11 @@ HEIGHT: 20
License summary: https://creativecommons.org/licenses/by-sa/3.0
Full license text: https://creativecommons.org/licenses/by-sa/3.0/legalcode
$$$
$balloon13$
$balloon7$
$\$ 
$\$ 
$\$ 
 
$\$ 
  
 
 

View file

@ -22,7 +22,7 @@ WIDTH: 49
HEIGHT: 26
$$$
$balloon35$
$balloon31$
$\$ 
$\$ 
$\$ 

View file

@ -18,11 +18,11 @@ WIDTH: 43
HEIGHT: 26
$$$
$balloon10$
$balloon8$
$\$ 
$\$ 
$\$ 
  
$\$   
 
 
 

View file

@ -28,7 +28,7 @@ purposes, all without asking permission. See Other Information below.
http://creativecommons.org/publicdomain/zero/1.0/legalcode
$$$
$balloon35$
$balloon31$
$\$ 
$\$ 
$\$ 

View file

@ -19,11 +19,11 @@ WIDTH: 50
HEIGHT: 24
$$$
$balloon13$
$balloon9$
$\$ 
$\$ 
$\$ 
 
$\$  
  
 
 

View file

@ -23,13 +23,13 @@ HEIGHT: 27
License summary: https://creativecommons.org/licenses/by-nc-sa/3.0
Full license text: https://creativecommons.org/licenses/by-nc-sa/3.0/legalcode
$$$
$balloon20$
$balloon6$
$\$ 
$\$ 
$\$ 
 
  
 
$\$  
$\$   
$\$