This file contains 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
{"id":null,"partner_id":null,"screen_name":"ffffffffffffff","first_name":"ffffffffffff","last_name":"fffffffffffff","email":null,"dob":null,"age":null,"gender":null,"height":38,"weight":null,"timezone":null,"avatar_url":null,"state":"pending","token":"997d8bd7e59eee2d2d65157419aca038","email_reminders":null,"metric":null,"last_modified":"2013-05-30T14:13:39Z","addresses":[],"object":"User","object_md5":"0552388a7e3d3add3ea8345a05f69e3b","errors":["emailisnotpresent","password_hashisnotpresent"]} |
This file contains 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@SET-work:~/www/pear_sports$ karma start | |
[2013-05-29 18:07:00.019] [WARN] config - "/" is proxied, you should probably change urlRoot to avoid conflicts | |
INFO [karma]: Karma server started at http://localhost:9876/ | |
INFO [launcher]: Starting browser Chrome | |
INFO [Chrome 27.0 (Linux)]: Connected on socket id F_IWB5n_vfBxXMEI0-pR | |
Chrome 27.0 (Linux) auth controllers AuthLoginCtrl defaults session FAILED | |
Error: No module: ui.directives | |
at Error (<anonymous>) | |
at /home/set/www/pear_sports/app/assets/javascripts/components/angular/angular.js:1124:17 | |
at ensure (/home/set/www/pear_sports/app/assets/javascripts/components/angular/angular.js:1065:38) |
This file contains 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
[33m[2013-05-29 17:14:09.953] [WARN] config - [39m"/" is proxied, you should probably change urlRoot to avoid conflicts | |
[32mINFO [karma]: [39mKarma server started at http://localhost:9876/ | |
[32mINFO [launcher]: [39mStarting browser Chrome | |
[31mERROR [preprocess.coffee]: [39munexpected SHIFT | |
at /home/set/www/pear_sports/app/assets/javascripts/angular/directives.coffee | |
[31mERROR [preprocess.coffee]: [39munexpected SHIFT | |
at /home/set/www/pear_sports/app/assets/javascripts/angular/router.coffee | |
[31mERROR [preprocess.coffee]: [39munexpected SHIFT | |
at /home/set/www/pear_sports/app/assets/javascripts/angular/directives.coffee | |
[31mERROR [preprocess.coffee]: [39munexpected SHIFT |
This file contains 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
<form action="<?php echo url_for('@events_edit?id='.$form->getObject()->getId()); ?>" method="POST"> | |
<ol> | |
<?php foreach($form->getWidgetSchema()->getFields() as $index=>$field){?> | |
<?php if (get_class($field) !== 'sfWidgetFormInputHidden'){?> | |
<li> | |
<label for="<?php echo $index ?>"><?php echo $field->getLabel();?></label> | |
<?php echo $field->render($index);?> | |
</li> | |
<?php }}?> | |
</ol> |
This file contains 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
<form action="<?php echo url_for('@events_edit?id='.$form->getObject()->getId()); ?>" method="POST"> | |
<ol> | |
<?php | |
foreach(json_decode($form['data']->getValue()) as $question){?> | |
<li> | |
<?php echo $question->text; ?> | |
<?php if ($question->type == 'text') {?> | |
<input type="text" /> | |
<?php }else foreach($question->options as $option){ ?> | |
<input type="checkbox" /> |
This file contains 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 class="comment_body" ng-class="{reply_to:rec.id == comment.id}"> | |
<div class="info"> | |
<span class="username">{{ comment.user.username }}</span> | |
<span class="date">{{ comment.created_at | date:"d MMMM yyyy in mm:HH"}}</span> | |
<ul class="inline actions"> | |
<li><a ng-show="session.is_admin" ng-href="" ng-click="remove_comment(comment)">Удалить</a></li> | |
<!-- <li><a ng-show="session.is_admin" ng-href="">Редактировать</a></li> --> | |
<li><a ng-show="session" ng-href="" ng-click="reply_to(comment)">Ответить</a></li> | |
<li ng-show="comment.responses"> |
This file contains 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@hive:/var/www/tracker$ bundle exec rake assets:precompile | |
/home/set/.rvm/rubies/ruby-1.9.3-p392/bin/ruby /home/set/.rvm/gems/ruby-1.9.3-p392@global/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets | |
rake aborted! | |
/var/www/tracker/app/assets/templates/snippets/comment.html.erb has already been required | |
(in /var/www/tracker/app/assets/javascripts/angularjs/routes.coffee.erb) | |
/home/set/.rvm/gems/ruby-1.9.3-p392/gems/sprockets-2.2.2/lib/sprockets/base.rb:267:in `circular_call_protection' | |
/home/set/.rvm/gems/ruby-1.9.3-p392/gems/sprockets-2.2.2/lib/sprockets/base.rb:248:in `build_asset' | |
/home/set/.rvm/gems/ruby-1.9.3-p392/gems/sprockets-2.2.2/lib/sprockets/index.rb:93:in `block in build_asset' | |
/home/set/.rvm/gems/ruby-1.9.3-p392/gems/sprockets-2.2.2/lib/sprockets/caching.rb:19:in `cache_asset' | |
/home/set/.rvm/gems/ruby-1.9.3-p392/gems/sprockets-2.2.2/lib/sprockets/index.rb:92:in `build_asset' |
This file contains 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
angular.module('app.directives', []) | |
.directive 'uploader', -> | |
restrict: 'A', | |
link: (scope, elem, attr, ctrl) -> | |
attr.$observe 'url', (value) -> | |
return if !value | |
console.log value |
This file contains 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 = File.open("LplUGvkTfCQ.jpg.torrent", "rb").read.bdecode | |
hash = file["info"]["pieces"] |
This file contains 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
"F\xBB\x1C\\i\xF9\xFA\xA7J,\xA0\x06\xF4\xA3\xED\xE9\x8EY\xEE}\x85\x7FI\x92\xBFBT\b\x8B\xA9\xE4\xE3\xB8\x9D]\xD4s\xA3\x9D\x82\x8A%~z\xAC\xB2\xD5J\xF3\xF8\xC0\xCF\x9C\x12[[\xD6H\xC7\xC9N+\xD5\xC9\x0E\x15\x81}D\xD1\xD5\f\x95\x9AM\x18\xE2&\xFE\xD7I\xE2\xF1\xB3d\x92\xB3H\xA8\xCD\x93|\xEA\xB7\x01\xAB\xE1\xB5\xB7\x80\x84\xFB\xF4\x0F\x14X\x81\x96\v;\x01\xBC#\xC6\xFB1\x9E`\x9Eu;r\x9C3\xE1Mk\xDExFx\xD5\xF0A\x9BL\x86\xA9\x0F\xFF\x83D\xC8d\xDE\x1EXzy\xDC\x02^\xB7\x06\xA0\x95\x14\x817b\b\x90I\x9E\xA5M\x9F;\xD2\x11\xB4\\K\v^'\xF3X\x83\xCA]\xFCl\xFDP\xB3\xA9T\xF2\t\xC4\xDC\xD2\x96Q\xA5\xE9\xB6\xD7*\x8FKe\x8E\xFDQMh'\xBA._\x1E\xE8\xEB\xA2\xACf\x00\xD0\xA8ORs \xF4\x15\x17Th|\xEBV\xF4$P\x84\xF5(6dL%\e\x13\xB96\xF7>\x86\xB7\xF6~\xEDm\x8C\x9CV@\x96M\x17D\xE418H\xCC\xBC\x9E\x8F\xC3\xCC\xACx\xEFC\x89t\x87Y\xC1\x14\xCD\x0F\xB4\x016Akk=V?\x04\xC91\xBCE\xB0" |