-
Introduction
-
Application in real life (share by round expreriences)
-
Tools: Development:
- agile lean development (SCRUM, Kanban vs waterfall)
- Code review
- code retrospective
- XP (pair, active pairing, whole team, continuous delivery, TDD/BDD) QA
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 'awesome_print' | |
@hosts = %w{ ... } | |
@results = @hosts.each.inject({}) {|mem, h| mem[h]=[]; mem} | |
def step | |
mutex = Mutex.new |
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/perl | |
use strict; | |
use REST::Client; | |
use Data::Printer; | |
use JSON::Parse 'parse_json'; | |
use MIME::Base64; | |
use List::Flatten; | |
use constant AUTH_HEADER => "Basic " . encode_base64('<org level login>:<org level password>'); |
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
module RuboCop | |
module Cop | |
module Style | |
# This cops checks missing empty lines around the bodies of classes, | |
# | |
# @example | |
# | |
# class Test | |
# | |
# def something |
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
can :manage_conference_roles, Conference do |conference| | |
user.conference_organizer?(conference) | |
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
╰─$ curl -I https://scc.suse.com/login | |
HTTP/1.1 200 OK | |
Server: nginx | |
Date: Wed, 30 Apr 2014 09:27:39 GMT | |
Content-Type: text/html; charset=utf-8 | |
Content-Length: 10211 | |
Connection: keep-alive | |
Vary: Accept-Encoding | |
Status: 200 OK | |
Strict-Transport-Security: max-age=31536000 |
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": 27, | |
"zypper_name": "extension_2", | |
"zypper_version": "11", | |
"release_type": "GA", | |
"arch": "i586" | |
} |
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
ERROR: While executing gem ... (NoMethodError) | |
undefined method `extensions' for nil:NilClass | |
/usr/lib64/ruby/2.0.0/openssl/ssl.rb:99:in `verify_certificate_identity' | |
/usr/lib64/ruby/2.0.0/openssl/ssl.rb:138:in `post_connection_check' | |
/usr/lib64/ruby/2.0.0/net/http.rb:926:in `connect' | |
/usr/lib64/ruby/2.0.0/net/http.rb:867:in `do_start' | |
/usr/lib64/ruby/2.0.0/net/http.rb:859:in `start' | |
/usr/lib64/ruby/site_ruby/2.0.0/rubygems/request.rb:100:in `connection_for' | |
/usr/lib64/ruby/site_ruby/2.0.0/rubygems/request.rb:125:in `fetch' | |
/usr/lib64/ruby/site_ruby/2.0.0/rubygems/remote_fetcher.rb:329:in `request' |
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 'cancan/matchers' | |
require 'spec_helper' | |
describe Ability do | |
describe Invoice do | |
before(:each) do | |
Invoice.any_instance.stub(:debit_fee_percent => 10) | |
Invoice.any_instance.stub(:credit_fee_percent => 10) | |
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
def index | |
@repositories = ... | |
render :partial => "repositories", :layout => false if request.xhr? | |
end |