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
| {"result":"<!doctype html>\n<html>\n\n<head>\n\t<meta charset=\"UTF-8\">\n\t<title>{{ TITLE }}<\/title>\n\n\t<style type=\"text\/css\">\n\t{{ CSS }}\n\t<\/style>\n<\/head>\n\n<body>\n\n\t{{{ HTML }}}\n\n\t<script src=\"{{{ JSLIB }}}\"><\/script>\n\t<script src=\"{{{ PREFIX }}}\"><\/script>\n\t<script>\n\t\tfunction __run() {\n\t\t\t{{{ JS }}}\n\t\t}\n\t<\/script>\n\n<\/body>\n\n<\/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
| test |
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
| test |
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
| def make_safe_url(slug) | |
| slug = slug.downcase | |
| # strip html | |
| slug = slug.gsub(/<\/?[^>]*>/, "") | |
| # remove html entities | |
| slug = slug.gsub(/[^;\s]+;/, "") | |
| # remove non-word chars | |
| slug = slug.gsub(/[^\w\s]/, "") | |
| # change spaces to dashses | |
| slug = slug.gsub(/\s+/, "-") |
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 "/Users/alexvazquezOLD/.virtualenvs/doula_env/lib/python2.7/site-packages/pyramid_jinja2/__init__.py", line 287, in __call__ | |
| return self.template.render(system) | |
| File "/Users/alexvazquezOLD/.virtualenvs/doula_env/lib/python2.7/site-packages/pyramid_jinja2/__init__.py", line 278, in template | |
| return self.environment.get_template(self.info.name) | |
| File "/Users/alexvazquezOLD/.virtualenvs/doula_env/lib/python2.7/site-packages/jinja2/environment.py", line 719, in get_template | |
| return self._load_template(name, self.make_globals(globals)) | |
| File "/Users/alexvazquezOLD/.virtualenvs/doula_env/lib/python2.7/site-packages/jinja2/environment.py", line 693, in _load_template | |
| template = self.loader.load(self, name, globals) | |
| File "/Users/alexvazquezOLD/.virtualenvs/doula_env/lib/python2.7/site-packages/jinja2/loaders.py", line 115, in load | |
| source, filename, uptodate = self.get_source(environment, name) |
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
| cd pycon2012devops/ | |
| 514 gem install knife-ec2 | |
| 518 ssh-add .chef/pycon.pem | |
| 519 cd .chef | |
| 521 ssh-add pycon2012.pem | |
| 522 cd .. | |
| 524 ls | |
| 525 knife coobook upload --all | |
| 526 knife | |
| 528 ls |
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
| 14:01:24 sinatra.1 | NoMethodError - undefined method `[]' for nil:NilClass: | |
| 14:01:24 sinatra.1 | /Projects/Tinkerbox/models/incrementor.rb:17:in `next_count' | |
| 14:01:24 sinatra.1 | /Projects/Tinkerbox/lib/sessionator.rb:17:in `set_session' | |
| 14:01:24 sinatra.1 | /Projects/Tinkerbox/app.rb:59:in `block in <class:App>' | |
| 14:01:24 sinatra.1 | /Users/alexvazquezOLD/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.2/lib/sinatra/base.rb:1212:in `call' | |
| 14:01:24 sinatra.1 | /Users/alexvazquezOLD/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.2/lib/sinatra/base.rb:1212:in `block in compile!' | |
| 14:01:24 sinatra.1 | /Users/alexvazquezOLD/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.2/lib/sinatra/base.rb:785:in `[]' | |
| 14:01:24 sinatra.1 | /Users/alexvazquezOLD/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.2/lib/sinatra/base.rb:785:in `block (3 levels) in route!' | |
| 14:01:24 sinatra.1 | /Users/alexvazquezOLD/.rvm/gems/ruby-1.9.2-p290/gems/sinatra-1.3.2/lib/sinatra/base.rb:801:in `route_eval' | |
| 14:01:24 sinatra.1 | /Users/alexvazque |
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
| <!DOCTYPE html> | |
| <html > | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Code Pen · 5</title> | |
| <style> | |
| </style> |
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
| <!DOCTYPE html> | |
| <html > | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Code Pen · 5</title> | |
| <style> | |
| </style> |
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
| <!DOCTYPE html> | |
| <html > | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Code Pen · 5</title> | |
| <style> | |
| li { | |
| color:#9e319e; |
OlderNewer