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
| spree ALL=NOPASSWD: /usr/local/bin/bluepill |
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
| # See http://help.github.com/ignore-files/ for more about ignoring files. | |
| # | |
| # If you find yourself ignoring temporary files generated by your text editor | |
| # or operating system, you probably want to add a global ignore instead: | |
| # git config --global core.excludesfile ~/.gitignore_global | |
| # Ignore bundler config | |
| /.bundle | |
| # Ignore the default SQLite database. |
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
| source 'https://rubygems.org' | |
| # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
| gem 'rails', '4.0.2' | |
| # Use sqlite3 as the database for Active Record | |
| gem 'mysql2', :groups => :production | |
| gem 'sqlite3', :groups => [:development, :test] | |
| # Use SCSS for stylesheets |
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
| source 'https://rubygems.org' | |
| # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
| gem 'rails', '4.0.2' | |
| # Use sqlite3 as the database for Active Record | |
| gem 'sqlite3' | |
| # Use SCSS for stylesheets | |
| gem 'sass-rails', '~> 4.0.0' |
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
| function silkroad; curl -s 'https://blockchain.info/address/1FfmbHfnpaZjKFvyi1okTjJJusN455paPH?filter=1' | hxnormalize -x | hxselect 'tx_container'; echo; curl -s 'https://blockchain.info/address/1F1tAaz5x1HUXrCNLbtMDqcw6o5GNn4xqX?filter=1' | hxnormalize -x | hxselect 'tx_container'; end |
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
| require File.expand_path('../boot', __FILE__) | |
| require 'rails/all' | |
| if defined?(Bundler) | |
| # If you precompile assets before deploying to production, use this line | |
| Bundler.require(*Rails.groups(:assets => %w(development test))) | |
| # If you want your assets lazily compiled in production, use this line | |
| # Bundler.require(:default, :assets, Rails.env) | |
| end |
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
| def email_issue_attributes(issue) | |
| items = [] | |
| %w(author status priority assigned_to category fixed_version).each do |attribute| | |
| unless issue.disabled_core_fields.include?(attribute+"_id") | |
| items << "#{l("field_#{attribute}")}: #{issue.send attribute}" | |
| end | |
| end | |
| issue.custom_field_values.each do |value| | |
| items << "#{value.custom_field.name}: #{show_value(value)}" | |
| end |
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
| set :application, 'redmine' | |
| set :repo_url, 'git://github.com/binaryphile/redmine' | |
| set :branch, '2.3-stable' | |
| set :deploy_to, '/var/www/redmine' | |
| # set :scm, :git | |
| # set :format, :pretty | |
| # set :log_level, :debug | |
| # set :pty, true |
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
| set :application, 'redmine' | |
| set :repo_url, 'git://github.com/binaryphile/redmine' | |
| set :branch, '2.3-stable' | |
| set :deploy_to, '/var/www/redmine' | |
| # set :scm, :git | |
| # set :format, :pretty | |
| # set :log_level, :debug | |
| # set :pty, true |
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
| - hosts: all | |
| gather_facts: no | |
| tasks: | |
| - file: path=/usr/sbin/update-apt-xapian-index mode=0644 | |
| - copy: src=sources.list dest=/etc/apt/sources.list owner=root group=root mode=0644 | |
| - apt: update_cache=yes cache_valid_time=3600 | |
| - apt: pkg=linux-image-generic-lts-raring,linux-headers-generic-lts-raring,curl | |
| register: kernel_files | |
| - include: reboot.yml | |
| only_if: ${kernel_files.changed} |