This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
Ext.onReady(function(){ | |
var store = new Ext.data.SimpleStore({ | |
fields: ['name', 'id'], | |
data : [<c:forEach var="row" items="${mapData}">['${row.name}', '${row.id}'],</c:forEach>] | |
}); | |
siteSelection = new Ext.form.ComboBox({ | |
id : "selectedMap", | |
name : "selectedMap", | |
listeners : { 'select' : { fn : load }}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="slideshow"> | |
<img id="home_main" style="margin-bottom: 0px;" src="{{skin url='images/media/slideshow/slide1.jpg'}}" /> | |
</div> | |
<h1><a href="{{store url="design-build"}}">We can help you design and build your next coffee bar!</a></h1> | |
<script type="text/javascript"> | |
var images = new Array(); | |
images[0] = '{{skin url='images/media/slideshow/slide1.jpg'}}'; | |
images[1] = '{{skin url='images/media/slideshow/slide2.jpg'}}'; | |
images[2] = '{{skin url='images/media/slideshow/slide3.jpg'}}'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="slideshow"> | |
<img id="home_main" style="margin-bottom: 0px;" src="{{skin url='images/media/slideshow/slide0.jpg'}}" /> | |
</div> | |
<div id="slideinfo"> | |
<div id="slide0"> | |
<p>Some text regarding the first slide.</p> | |
</div> | |
<div id="slide1" style="display:none;"> | |
<p>Some text regarding the second slide.</p> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Might be bad bc I removed some other junk in the diff | |
diff --git a/lib/play.rb b/lib/play.rb | |
index e8e7ceb..7ddc757 100644 | |
--- a/lib/play.rb | |
+++ b/lib/play.rb | |
@@ -76,14 +76,16 @@ module Play | |
# Returns the Client subclass that matches the client requested | |
# in the config subclass. | |
def self.client |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
</head> | |
<body> | |
{% block thebody %} | |
{% include "something.html" %} | |
</body> | |
{% endblock %} | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% set row_blocks = [] %} | |
{% for item in items %} | |
{%- if row_width + item.width > 12 %} | |
{%- include "rowofstuff.html" %} | |
{%- for rowitem in row_blocks %} | |
{%- set something = row_blocks.remove(rowitem) %} | |
{%- endfor %} | |
{%- set row_width = 0 %} | |
{%- endif %} | |
{%- set something = row_blocks.append(item) %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
person = Person(name='Alice') | |
DBSession.add(person) | |
message = Message(person_id=person.id, content="a message to bob") | |
DBSession.add(message) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/home/medwards/.virtualenvs/pyramid/bin/pserve", line 9, in <module> | |
load_entry_point('pyramid==1.3', 'console_scripts', 'pserve')() | |
File "/home/medwards/.virtualenvs/pyramid/local/lib/python2.7/site-packages/pyramid/scripts/pserve.py", line 47, in main | |
return command.run() | |
File "/home/medwards/.virtualenvs/pyramid/local/lib/python2.7/site-packages/pyramid/scripts/pserve.py", line 290, in run | |
relative_to=base, global_conf=vars) | |
File "/home/medwards/.virtualenvs/pyramid/local/lib/python2.7/site-packages/pyramid/scripts/pserve.py", line 318, in loadapp | |
return loadapp(app_spec, name=name, relative_to=relative_to, **kw) | |
File "/home/medwards/.virtualenvs/pyramid/local/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File "/home/medwards/.virtualenvs/pyramid/local/lib/python2.7/site-packages/chameleon/template.py", line 128, in __call__ | |
return self.render(**kwargs) | |
File "/home/medwards/.virtualenvs/pyramid/local/lib/python2.7/site-packages/chameleon/zpt/template.py", line 258, in render | |
return super(PageTemplate, self).render(**vars) | |
File "/home/medwards/.virtualenvs/pyramid/local/lib/python2.7/site-packages/chameleon/template.py", line 188, in render | |
raise_with_traceback(exc, tb) | |
File "/home/medwards/.virtualenvs/pyramid/local/lib/python2.7/site-packages/chameleon/template.py", line 175, in render | |
self._render(stream, econtext, rcontext) | |
File "listing_ff766ad4b34fe2da3a424c3defebda82d297cfa5.py", line 223, in render | |
File "master_0f566c540119710058468ca546bb52d1cc73277f.py", line 289, in render_master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
i=0 | |
while true | |
do | |
pass=`cat /dev/urandom | tr -dc A-Za-z0-9 | head -c $i` | |
echo $pass > ./testcases/length_$i.txt | |
i=$(($i + 1)) | |
sleep 1 | |
done |
OlderNewer