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 | |
require 'rubygems' | |
require 'net/https' | |
class PivotalHook | |
PT_API_KEY = raise "Please add PT API KEY" | |
def self.post | |
commit_log = `git log -1` |
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 | |
# This script will list all files from a git diff. | |
# My bash skills are a bit primitive so this can probably be done more intelligently | |
# Usage: | |
# gitopen -- opens all added files that have changed since HEAD | |
# gitopen diff HEAD -- these are the default parameters | |
# gitopen diff master -- opens files that have changed from master |
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
[dbomhof@syncrou ~/syncrou/manageiq (syncrou_master)]$ ack "object_request" | |
app/assets/javascripts/controllers/schedule/schedule_form_controller.js | |
74: $scope.scheduleModel.object_request = data.object_request; | |
216: $scope.scheduleModel.object_request = data.object_request; | |
app/controllers/application_controller/automate.rb | |
17: @sb[:attrs][:request] = @resolve[:new][:object_request] # Add the request attribute value entered by the user | |
54: @edit[:new][:object_request] = @resolve[:new][:object_request] | |
app/controllers/application_controller/buttons.rb |
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 | |
# make sure you have gem 'rubocop-git' in your Gemfile | |
require 'readline' | |
def input(prompt="", newline=false) | |
prompt += "\n" if newline | |
Readline.readline(prompt, true).squeeze(" ").strip | |
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
# SSL self signed localhost for rails start to finish, no red warnings. | |
# 1) Create your private key (any password will do, we remove it below) | |
$ openssl genrsa -des3 -out server.orig.key 2048 | |
# 2) Remove the password | |
$ openssl rsa -in server.orig.key -out server.key |
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
Acting upon a sandwich | |
Umps instead of grassly convergence | |
Lighting cods at the earth connection | |
Enough steeds ate cardless boxes | |
Have we or this lived hump | |
Approximate heavy poxination | |
Thirteen hooves breaking curled approximations |