- Herald of Khorne with Exaulted Locus of Wrath (175pts)
- 10 Bloodletters of Khorne with Champion, Musician and Standard Bearer (170pts)
- 10 Bloodletters of Khorne with Champion, Musician and Standard Bearer (170pts)
| app = Flask(__name__) | |
| registered_blueprints = {} | |
| for blueprint, subdomains in blueprints: | |
| for subdomain in subdomains: | |
| app.register_blueprint(blueprint, subdomain=subdomain) | |
| registered_blueprints[subdomain.lower()] = blueprint |
| <img src="/static/foo.png"> | |
| when served from foo.example.tld will request foo.example.tld/static/foo.png | |
| but when served from bar.example.tld will request bar.example.tld/static/foo.png |
| [translation:info] Error: | |
| [translation:info] File "/home/drake/rpy/pypy/rpython/translator/goal/translate.py", line 318, in main | |
| [translation:info] drv.proceed(goals) | |
| [translation:info] File "/home/drake/rpy/pypy/rpython/translator/driver.py", line 534, in proceed | |
| [translation:info] return self._execute(goals, task_skip = self._maybe_skip()) | |
| [translation:info] File "/home/drake/rpy/pypy/rpython/translator/tool/taskengine.py", line 114, in _execute | |
| [translation:info] res = self._do(goal, taskcallable, *args, **kwds) | |
| [translation:info] File "/home/drake/rpy/pypy/rpython/translator/driver.py", line 283, in _do | |
| [translation:info] res = func() | |
| [translation:info] File "/home/drake/rpy/pypy/rpython/translator/driver.py", line 320, in task_annotate |
| def test(msg): | |
| print msg |
| <?php | |
| $pattern = "/(#)([0-9]+)/"; | |
| $replace = "<a href='http://mysite.com/bug/$2/'>#$2</a>"; | |
| $text = "The bug #40 was replaced fixed, but then caused bug #87 and #89. I think we fixed it when we caused bug #212 though."; | |
| echo preg_replace($pattern, $replace, $text); | |
| ?> | |
| <!-- | |
| Output: | |
| The bug <a href='bug/40/'>#40</a> was replaced fixed, but then caused bug <a href='bug/87/'>#87</a> and <a href='bug/89/'>#89</a>. I think we fixed it when we caused bug <a href='bug/212/'>#212</a> though. | |
| --> |