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
#!/usr/bin/env bash | |
APP_DIR=<%= current_path %> | |
CURRENT_DIR="cd $APP_DIR" | |
STAGE=<%= fetch(:stage) %> | |
DJ_PID="$APP_DIR/tmp/pids/delayed_job.pid" | |
check_pid(){ | |
if [ -f $DJ_PID ]; then | |
PID=`cat $DJ_PID` |
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
# place in lib/tasks/ | |
namespace :sidekiq do | |
desc "Strano | Stop sidekiq" | |
task :stop do | |
system "bundle exec sidekiqctl stop #{pidfile}" | |
end | |
desc "Strano | Start sidekiq" | |
task :start do |
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--interactive.old 2011-06-11 13:17:48.000000000 +0400 | |
+++ git-rebase--interactive 2012-04-17 12:44:09.000000000 +0400 | |
@@ -951,7 +951,7 @@ | |
REVISIONS=$ONTO...$HEAD | |
SHORTREVISIONS=$SHORTHEAD | |
fi | |
- git rev-list $MERGES_OPTION --pretty=oneline --abbrev-commit \ | |
+ git rev-list $merges_option --pretty=">%h (%an <%ae>) %s"\ | |
--abbrev=7 --reverse --left-right --topo-order \ | |
$REVISIONS | \ |
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
fix: | |
/usr/libexec/git-core/git-rebase--interactive | |
-git rev-list $merges_option --pretty=oneline --abbrev-commit\ | |
+git rev-list $merges_option --pretty=">%h (%an <%ae>) %s"\ | |
result: | |
1 pick 19f43c1 (Yuri Dyachenko <[email protected]>) add: gcrypt::noerr | |
2 pick 990a7e8 (Yuri Dyachenko <[email protected]>) add: gcrypt::throwif( err ) throw if err != noerr | |
3 pick cb03f3b (Yuri Dyachenko <[email protected]>) add: ext::move<T> move semantic |
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
inputs = %w[ | |
CollectionSelectInput | |
DateTimeInput | |
FileInput | |
GroupedCollectionSelectInput | |
NumericInput | |
PasswordInput | |
RangeInput | |
StringInput | |
TextInput |
NewerOlder