I hereby claim:
- I am wojtodzio on github.
- I am wojtodzio (https://keybase.io/wojtodzio) on keybase.
- I have a public key ASDmAyGQO0nwTp4sxW3bRqeQzyJTipOzT-zAybbmYRThGgo
To claim this, I am signing this object:
puts "Debug me with: Process.kill('USR1', #{Process.pid})" | |
Signal.trap('USR1') do | |
File.open(Rails.root.join('log', 'wtf.log'), 'w') do |file| | |
Thread.list.each do |thread| | |
file.write "Thread TID-#{(thread.object_id ^ ::Process.pid).to_s(36)}}" | |
if thread.backtrace | |
file.write thread.backtrace.join("\n") | |
else | |
file.write "<no backtrace available>" |
I hereby claim:
To claim this, I am signing this object:
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
tagName: 'li', | |
mouseEnter() { | |
this.set('notification.seen', true); | |
} | |
}); |
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
tagName: 'li', | |
click() { | |
this.toggleProperty('todo.done'); | |
}, | |
actions: { |