-
HEAD current commit on current branch
-
git log
-1 : most recent one (1)
--stat : shows files changed in commit
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
#!/usr/bin/env ruby | |
# gem 'pivotal-tracker' | |
require 'pivotal-tracker' | |
TRACKER_TOKEN = "..." | |
TRACKER_PROJECT_ID = "..." | |
PivotalTracker::Client.token = TRACKER_TOKEN | |
PivotalTracker::Client.use_ssl = true |
There is an issue related to running Resque on Heroku and Resque's ability to clean it's state information for workers. This is mostly a cosmetic issue however we got to a point where the Resque Dashboard would timeout because it was trying to display hundreds of workers it thought were sitll running.
This is a heavy handed approach to cleaning up. We are finding any worker that was stared longer than a day ago and manually calling the unregister
method. Be advised this will throw DirtyExit errors.
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
# **** grab a reference to the redis instance **** | |
redis = RuoteKit.dashboard.storage.redis;nil | |
# **** delete all errors **** | |
redis.del(redis.keys('*errors*')) | |
# **** delete all expressions and workitems from march 2013 **** | |
redis.del(redis.keys('expressions*201303*')) | |
redis.del(redis.keys('workitems*201303*')) |
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": 25418135, | |
"repository": { | |
"id": 2372423, | |
"name": "travis-ci-webhook-receiver", | |
"owner_name": "connexio-labs", | |
"url": "https://github.com/connexio-labs/travis-ci-webhook-receiver" | |
}, | |
"number": "6", | |
"config": { |
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
AllCops: | |
Excludes: | |
- vendor/** | |
- bin/** | |
- config/puma* | |
Documentation: | |
# don't require classes to be documented | |
Enabled: false |
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
#!/bin/bash | |
# docker run --rm -t -i -v $(pwd)/.awscreds:/root/.aws alexturek/aws-cli-docker configure | |
alias aws="docker run --rm -t -i -v $(pwd)/.awscreds:/root/.aws alexturek/aws-cli-docker" | |
# vpc name | |
name=Sandbox | |
# query for vpc idvpc |
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
eventstream: | |
build: . | |
command: tail -f /dev/null | |
volumes: | |
- .:/usr/src/app | |
- ./.ivy2:./root/.ivy2/cache | |
links: | |
- kafka | |
- registry | |
- zookeeper |
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
# update homebrew | |
brew update | |
# install cask (if necessary) | |
brew install caskroom/cask/brew-cask | |
# or update cask | |
brew update cask | |
# create a dev machine that is a copy of the boot2docker image |
OlderNewer