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
2012-10-29T13:15:49Z 4284 TID-oxp71xhu0 XmlFeedWorker MSG-oxp7irbuk INFO: start | |
2012-10-29T13:15:56Z 4284 TID-oxp71xhu0 XmlFeedWorker MSG-oxp7irbuk INFO: fail: 6.626 sec | |
2012-10-29T13:15:56Z 4284 TID-oxp71xhu0 WARN: {"retry"=>true, "queue"=>"default", "class"=>"XmlFeedWorker", "args"=>[], "error_message"=>"ActionController::Metal#session delegated to @_request.session, but @_request is nil: #<TemplatesController:0x007ff61b9f3788 @_routes=nil, @_action_has_layout=true, @_headers={\"Content-Type\"=>\"text/html\"}, @_status=200, @_request=nil, @_response=nil, @_prefixes=[\"templates\", \"application\"], @_config={}, @_lookup_context=#<ActionView::LookupContext:0x007ff6202a3730 @details_key=#<ActionView::LookupContext::DetailsKey:0x007ff61cb66e70 @hash=-3365680752233435110>, @details={:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :coffee, :haml, :slim]}, @skip_default_locale=false, @cache=true, @prefixes=[\"templates\", \"application\"], @rendered_format=:html, @view_paths=#<ActionView::PathSet:0 |
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
before: | |
command: rbenv install 1.9.3-p362 | |
output: ruby-build: definition not found: 1.9.3-p362 | |
hack: | |
command: brew unlink ruby-build | |
output: Unlinking /usr/local/Cellar/ruby-build/20121120... 4 links removed | |
command: brew update |
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
Before: | |
sudo apt-get -y install gnustep | |
sudo apt-get -y install gnustep-devel | |
sudo apt-get -y install build-essential | |
sudo apt-get -y install gobjc | |
sudo apt-get -y install gnustep-make | |
sudo apt-get -y install libgnustep-base-dev | |
Compiling for one source file (For example main.m): | |
gcc `gnustep-config --objc-flags` main.m -o hello -I /usr/include/GNUstep/ -L /usr/lib/GNUstep/ -lgnustep-base |
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
class Application.Views.Users.Login | |
@bindedWith: (selector) -> | |
$(selector).each -> | |
Application.Views.Users.Login($(@)) | |
constructor: (@container) -> | |
_.extend(@, Backbone.Events) | |
@initForm() | |
initForm: => |
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
class Application.Views.Base | |
@bindWith: (selector) -> | |
instance = @ | |
$(selector).each -> | |
new instance($(@)) | |
constructor: (@container) -> | |
_.extend(@, Backbone.Events) |
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
sudo installer -pkg wxPython2.8-osx-unicode-universal-py2.7.pkg -target / | |
installer: Package name is wxPython2.8-osx-unicode-universal-py2.7 | |
installer: Installing at base path / | |
2013-03-22 10:09:12.634 installer[8633:5a03] Package /Users/semjonow/Desktop/wxPython2.8-osx-unicode-universal-py2.7.pkg uses a deprecated pre-10.2 format (or uses a newer format but is invalid). | |
installer: The install was successful. |
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
detectCanvas: => | |
if @canvas | |
@canvas.replaceWith("<canvas class='picture_canvas' data-block='canvas'></canvas>") | |
@canvas = @container.find("*[data-block='canvas']") | |
@ctx = @canvas.get(0).getContext("2d") | |
handleImage: (e) => | |
@detectCanvas() |
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
# Database administrative login by Unix domain socket | |
local all postgres trust | |
# TYPE DATABASE USER ADDRESS METHOD | |
# "local" is for Unix domain socket connections only | |
local all all trust | |
# IPv4 local connections: | |
host all all 127.0.0.1/32 trust | |
# IPv6 local connections: |
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
git rebase | |
git rebase --abort | |
git rebase --continue | |
git rebase --skip | |
git push origin feature --force | |
git pull --rebase origin feature | |
git merge fature --no-ff |
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
curl -X POST -H "Content-Type: application/json" -d \ | |
'{"deals":[{"id":"1023410623", "quantity":"3"}, {"id":"1023410633", "choices":"1023413223"}], \ | |
"delivery": "smartpost", "delivery_info": { "smartpost": {"deliveryLocationID": "133"}}, \ | |
"user": {"email": "[email protected]", "username": "Juri Semjonov", "phone": "55687059"}, \ | |
"purchase": {}}' \ | |
http://localhost:3000/api/v1/api_key/api_secret/purchases | |
=== | |
{"success":true,"message":"Purchase successfully saved","url":"/en/cart/completed?hash=52b0acfb7bbd10c44f575f0db121fdd2&id=150995149","errors":[]} |