graph TD; A-->B; A-->C; B-->D; C-->D;
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 python3 | |
""" | |
A little script to quickly identify the worst offenders. Easily extensible to | |
find and sort by other issues. Expects you to have results available in an | |
easily consumable JSON file, which you can generate by running: | |
rubocop --format progress --format json --out rubocop.json | |
""" |
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 "window_management" | |
require "sleep_management" | |
hs.loadSpoon("SpoonInstall") | |
spoon.SpoonInstall:andUse("CircleClock") | |
-- spoon.SpoonInstall:andUse("ClipboardTool", | |
-- { | |
-- config = { show_in_menubar = false, }, | |
-- hotkeys = { toggle_clipboard = { { "cmd", "shift" }, "v" } }, |
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 | |
git clone https://github.com/shageman/r4ia_examples | |
wget https://gist.githubusercontent.com/shageman/89d869ef8539f78312b0/raw/f12ffc2fada4d4d201fad6bb2874dae79aee8fab/extract_persistence.sh | |
chmod +x extract_persistence.sh | |
./extract_persistence.sh |
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 --login | |
ensure() { | |
"$@" || exit 1 | |
} | |
cd r4ia_examples/ticketee; | |
git checkout . && git clean -fd |
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
I am trying to make the Ruby buildpack for a Rails application that does not have the app in the root folder. `git subtree` does not work, because code outside of the app folder is needed for the application. | |
Modified Ruby buildpack: https://github.com/shageman/heroku-buildpack-ruby | |
App to deploy: https://github.com/shageman/sportsball/tree/web_container_dir | |
2015-04-01T14:06:14.478874+00:00 heroku[api]: Deploy 4d4520e by [email protected] | |
2015-04-01T14:06:14.478874+00:00 heroku[api]: Release v70 created by [email protected] |
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
#routes.rb | |
mount Settings::Engine => "/settings" | |
mount Profile::Engine => "/profile" | |
mount MetaAdmin::Engine => "/admin" | |
# admin_settings/config/routes.rb | |
Settings::Engine.routes.draw do | |
resources :admin | |
#add other settings routes | |
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
### Keybase proof | |
I hereby claim: | |
* I am shageman on github. | |
* I am shageman (https://keybase.io/shageman) on keybase. | |
* I have a public key whose fingerprint is 437F 3BB7 1B58 42EA 4683 D133 2810 04E8 B35D 3D8A | |
To claim this, I am signing this object: |
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
# Run by hand: | |
# apt-get update | |
# apt-get upgrade | |
# apt-get install git | |
apt-get install postgresql postgresql-contrib | |
#set postgres user password: https://help.ubuntu.com/community/PostgreSQL#Basic_Server_Setup | |
wget http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_14.04/Release.key | |
sudo apt-key add - < Release.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
#Rails sample app | |
github.com/shageman/the_next_big_thing | |
# Pivotal Labs blog posts on #cbra | |
http://pivotallabs.com/tag/rails-application-suites/ | |
#Past presentations by Ben Smith and me(mostly on this topic) | |
confreaks.com/presenters/790-stephan-hagemann | |
confreaks.com/presenters/784-ben-smith |
NewerOlder