I hereby claim:
- I am jbourassa on github.
- I am jbourassa (https://keybase.io/jbourassa) on keybase.
- I have a public key ASAQeJddEp-SBkd0IfQM0Nvc9hx1I9Q8grkz1dvka3UnYgo
To claim this, I am signing this object:
$ ASAN_OPTIONS=detect_stack_use_after_return=1 \ | |
DYLD_INSERT_LIBRARIES=$HOME/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc-nightly_rt.asan.dylib \ | |
ruby -Ilib examples/crash.rb | |
Using wasmtime-rb 6.0.0: /Users/jbourassa/src/github.com/bytecodealliance/wasmtime-rb/lib/wasmtime/wasmtime_rb.bundle | |
================================================================= | |
==68819==ERROR: AddressSanitizer: heap-use-after-free on address 0x000106e5af30 at pc 0x0001129dd114 bp 0x00016cf599b0 sp 0x00016cf599a8 | |
WRITE of size 8 at 0x000106e5af30 thread T0 | |
#0 0x1129dd110 in wasmtime_rb::ruby_api::func::make_func_closure::_$u7b$$u7b$closure$u7d$$u7d$::hc435f6e5fd9cf7d8 func.rs:270 | |
#1 0x1129c500c in wasmtime::func::Func::invoke::hc54fcea15d9124cb func.rs:1125 |
I hereby claim:
To claim this, I am signing this object:
var Unloader = (function() { | |
var handlers = []; | |
var runNative = function() { | |
return findMessage(); | |
}; | |
var findMessage = function() { | |
var message; | |
for(var i = 0; i < handlers.length; i++) { |
Bébé-référence des concepts / trucs présentés lors du OpenCode #10
diff --git a/app/decorators/controllers/refinery/pages/admin/preview_controller_decorator.rb b/app/decorators/controllers/refinery/pages/admin/preview_controller_decorator.rb | |
index 97b985b..06fb8fc 100644 | |
--- a/app/decorators/controllers/refinery/pages/admin/preview_controller_decorator.rb | |
+++ b/app/decorators/controllers/refinery/pages/admin/preview_controller_decorator.rb | |
@@ -2,4 +2,29 @@ Refinery::Pages::Admin::PreviewController.class_eval do | |
+ | |
+ def home | |
+ render_with_templates? | |
+ end | |
+ |
<%= simple_form_for(@permissions) do |form| %> | |
<% @tags.each do |tag| %> | |
<h3><%= raw t('admin.permissions.tags', tag: tag.name) %></h3> | |
<%= form.input "tags[#{tag.key}]", | |
as: :check_boxes, | |
collection: tag.edit_select_opts, | |
label_method: :name, | |
value_method: :key, | |
label: false %> | |
<% end %> |
diff --git a/spec/requests/attach_page_images_spec.rb b/spec/requests/attach_page_images_spec.rb | |
index 6a6692e..d2f9b91 100644 | |
--- a/spec/requests/attach_page_images_spec.rb | |
+++ b/spec/requests/attach_page_images_spec.rb | |
@@ -12,7 +12,7 @@ describe "attach page images" do | |
end | |
it "shows images tab" do | |
- within "#custom_images_tab" do | |
+ within "#custom_Images_tab" do |
describe NameBilingual do | |
before(:all) do | |
@klass = Class.new do | |
include NameBilingual | |
end | |
end | |
context "Brand new instance" do | |
subject { @klass.new } | |
it { should respond_to :name= } |
$ rvm debug | |
+/Users/jbourassa/.rvm/scripts/base:11> [[ -z 4.3.11 ]] | |
+/Users/jbourassa/.rvm/scripts/base:21> export __array_start rvm_path | |
+/Users/jbourassa/.rvm/scripts/base:26> [[ -n 4.3.11 ]] | |
+/Users/jbourassa/.rvm/scripts/base:28> __array_start=1 | |
+/Users/jbourassa/.rvm/scripts/base:33> (( 0 == 0 )) | |
+/Users/jbourassa/.rvm/scripts/base:35> [[ -n 022 ]] | |
+/Users/jbourassa/.rvm/scripts/base:36> rvm_rvmrc_files=( /etc/rvmrc /Users/jbourassa/.rvmrc ) | |
+/Users/jbourassa/.rvm/scripts/base:37> [[ -n /Users/jbourassa ]] | |
+/Users/jbourassa/.rvm/scripts/base:37> [[ /Users/jbourassa/.rvmrc -ef /Users/jbourassa/.rvmrc ]] |