Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am mehowte on github.
  • I am mehowte (https://keybase.io/mehowte) on keybase.
  • I have a public key ASD1GsEW59kf6Tb6ZE-9PwtKkESxUqO2EgMFek_EVE5GAgo

To claim this, I am signing this object:

@mehowte
mehowte / What if-wrocloverb-2015.md
Last active September 22, 2018 21:59
Presentation by Michal Taszycki delivered at the Wroc_love.rb conference on 2015-03-13.

What if... ?

Presentation by Michal Taszycki delivered at the Wroc_love.rb conference on 2015-03-13.

Below you can find various links I've mentioned during the talk.

Yeah, well, that's just, like. You know, your opinion man.

The Video & Slides

@mehowte
mehowte / gist:08f7e842b393efd583a1
Created March 4, 2015 13:16
Why I'm speaking at Wroc_love.rb despite their lack of Code of Conduct
I'm a speaker at [Wroc_love.rb](http://www.wrocloverb.com/).
 
Personally I would prefer the place to be more inclusive But I won't
support bullying the organizers into making decisions against their will.
 
Making the conference (especially virtually non-profit one like
wroc_love.rb) is a huge amount of work And I know that because I've been
selecting diverse set of speakers for two Railsberry conferences before it
was even cool.
 
@mehowte
mehowte / refactoring_solution_mehowte.rb
Created July 22, 2012 21:40
Solution to simple refactoring exercise.
# This is a simple refactoring exercise.
#
# What to do?
#
# 1. Look at the code of the class CorrectAnswerBehavior
# 2. Try to see what it does by running `ruby refactoring_example.rb`
# 3. Record characterisation tests by running `ruby refactoring_example.rb --record`
# 4. Make the code beautiful;)
# 5. You are allowed to modify only the code between markers (REFACTORING START/REFACTORING END).
# 6. Test must pass! You can run them with command `ruby refactoring_example.rb --record`
@mehowte
mehowte / refactoring_example.rb
Created July 18, 2012 22:11
Simple refactoring exercises and 2 minute commits version - with updated characterisation tests.
# This is a refactoring exercise.
#
# What to do?
#
# I. Simple refactoring
# 1. Look at the code of the class CorrectAnswerBehavior
# 2. Try to see what it does by running `ruby refactoring_example.rb`
# 3. Record characterisation tests by running `ruby refactoring_example.rb --record`
# 4. Make the code beautiful;)
# 5. You are allowed to modify only the code between markers (REFACTORING START/REFACTORING END).
Rubinius Crash Report #rbxcrashreport
Error: signal SIGSEGV
[[Backtrace]]
0 rbx 0x0000000100021e20 _ZN8rubiniusL12segv_handlerEi + 160
1 libSystem.B.dylib 0x00007fff828c01ba _sigtramp + 26
2 ??? 0x0000000000003a6a 0x0 + 14954
3 rbx 0x00000001000379c0 _ZN8rubinius8VMMethod11interpreterEPNS_2VMEPS0_PNS_20InterpreterCallFrameE + 12912
4 rbx 0x0000000100114dc0 _ZN8rubinius8VMMethod19execute_specializedINS_11NoArgumentsEEEPNS_6ObjectEPNS_2VMEPNS_9CallFrameERNS_8DispatchERNS_9ArgumentsE + 480