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
1) | |
Scenario Outline: Crawler slave monitoring | |
Given a crawler master request for a crawler slave's status | |
When the crawler slave returns the <slave status> | |
Then the crawler master should <action> | |
2) | |
Scenario Outline: Crawler slave monitoring | |
Given the crawler slave has status <slave status> | |
When a crawler master request for a crawler slave's status | |
Then the crawler master should <action> |
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
Feature: Facebook authorization | |
In order to moodrate my favourite artists | |
As a user | |
I want to run Moodfish application on facebook page | |
Scenario: Application is running on a facebook | |
Given I am authorized facebook user | |
And I don't have moodfish application on my page | |
When I go to page apps.facebook.com/Moodfish | |
And I click "Allow" |
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
# ------------------- script | |
#!/bin/sh | |
key=$(git config ssh.key) | |
if [ -z "$key" ]; then | |
git_opts="" | |
else | |
git_opts="-i ${key}" | |
fi |
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
require 'hoptoad_notifier/capistrano' | |
require 'capistrano/ext/multistage' | |
set :stages, %w(testing staging production) | |
set :default_stage, 'staging' | |
set :use_sudo, false | |
default_run_options[:pty] = true | |
set :scm, :git | |
set :repository, "git@github.com:Turn2Live/turn2live.git" |
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
Post.fetch # fetch post from remote resources and save to the Post | |
Post::Tumblr.fetch # fetch post from Tumblr and save to the Post |
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
Post.fetch # fetch post from remote resources and save to the Post | |
Post::Tumblr.fetch # fetch post from Tumblr and save to the Post |
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
def force_flush_cache | |
CacheTumblrPost.update_cached_posts(true) | |
end | |
def runner_check_cache(force = false) | |
cronlog_timestamp('start rebuild caches') | |
CacheTumblrPost.update_cached_posts(force) | |
cronlog_timestamp('finish rebuild caches') | |
end |
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
вчера | |
* Change the zip uploader | |
** https://www.pivotaltracker.com/story/show/11969213 | |
** EST: 2p | |
* Add “Save as Default” button in each section of parameters - finish | |
** https://www.pivotaltracker.com/story/show/11969297 | |
** EST: 2p |
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
# изменения | |
gc "my commit" | |
git fetch origin | |
git rebase origin/development | |
gp origin development |
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
#flash_container | |
- flash.each do |name, msg| | |
- if msg.class == String | |
= content_tag :div, :id => "flash_#{name}" do | |
%span.message= msg | |
%span.dismiss{:onclick => "hideFlash();"}= link_to "Dismiss [x]", "#" |
OlderNewer