Skip to content

Instantly share code, notes, and snippets.

View kudrin's full-sized avatar
💭
:rage1: :rage2: :rage3: :rage4:

Alexander Kudrin kudrin

💭
:rage1: :rage2: :rage3: :rage4:
View GitHub Profile
@activefx
activefx / queues.rake
Last active May 13, 2021 12:27
Rake tasks for Shoryuken / AWS SQS queue creation and management
# See https://github.com/phstc/shoryuken/wiki/Creating-a-queue
namespace :queues do
desc "List all SQS queues"
task :list => :environment do
queues.each { |queue_url| puts queue_url }
end
desc "Get details for a specific SQS Queue"
@lttlrck
lttlrck / gist:9628955
Created March 18, 2014 20:34
rename git branch locally and remotely
git branch -m old_branch new_branch # Rename branch locally
git push origin :old_branch # Delete the old branch
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote