Skip to content

Instantly share code, notes, and snippets.

View n-rodriguez's full-sized avatar
🏠
To hire!

Nicolas Rodriguez n-rodriguez

🏠
To hire!
View GitHub Profile
/cache/nicolas/concerto/ruby-wip-sidekiq/ruby/3.4.0/gems/measured-3.2.0/lib/measured/parser.rb:36: [BUG] Segmentation fault at 0x0000000000000000
ruby 3.4.2 (2025-02-15 revision d2930f8e7a) +PRISM [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0063 p:---- s:0329 e:000328 CFUNC :captures
c:0062 p:0056 s:0325 e:000324 METHOD /cache/nicolas/concerto/ruby-wip-sidekiq/ruby/3.4.0/gems/measured-3.2.0/lib/measured/parser.rb:36
c:0061 p:0046 s:0319 e:000318 METHOD /cache/nicolas/concerto/ruby-wip-sidekiq/ruby/3.4.0/gems/measured-3.2.0/lib/measured/unit.rb:59
c:0060 p:0062 s:0314 e:000313 METHOD /cache/nicolas/concerto/ruby-wip-sidekiq/ruby/3.4.0/gems/measured-3.2.0/lib/measured/unit.rb:11 [FINISH]
c:0059 p:---- s:0305 e:000304 CFUNC :new
c:0058 p:0041 s:0299 e:000298 METHOD /cache/nicolas/concerto/ruby-wip-sidekiq/ruby/3.4.0/gems/measured-3.2.0/lib/measured/unit.rb:18
```sh
/builds/concerto/concerto/lib/concerto/core_ext/sentry_patch.rb:31: [BUG] Segmentation fault at 0x0000000000000000
ruby 3.4.2 (2025-02-15 revision d2930f8e7a) +PRISM [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0064 p:---- s:0335 e:000334 CFUNC :prepend_features
c:0063 p:---- s:0332 e:000331 CFUNC :prepend
c:0062 p:0020 s:0327 e:000326 TOP /builds/concerto/concerto/lib/concerto/core_ext/sentry_patch.rb:31 [FINISH]
c:0061 p:---- s:0324 e:000323 CFUNC :require
c:0060 p:0054 s:0319 e:000318 BLOCK /home/nonroot/.asdf/installs/ruby/3.4.2/lib/ruby/3.4.0/bundled_gems.rb:82
@n-rodriguez
n-rodriguez / ArrayObjectDemo.coffee
Created September 9, 2021 23:26 — forked from frane/ArrayObjectDemo.coffee
Traversing arrays and objects in CoffeeScript
# Traversing arrays and objects in CoffeeScript
# The array and object we use for testing
arr = [1, 2, 3, 4, 5]
obj = {a: 1, b: 2, c: 3, d: 4, e: 5}
# 'in' has a different meaning in CoffeeScript than in JavaScript
# CS: element in array -> JS: array.indexOf(element) >= 0
console.log '5 in arr: ' + (5 in arr)
@n-rodriguez
n-rodriguez / redmine_checklists_patch.diff
Created August 28, 2015 19:19
Redmine Checklists Loading Patch
diff --git a/init.rb b/init.rb
index 0d3028b..65f949c 100644
--- a/init.rb
+++ b/init.rb
@@ -18,7 +18,7 @@
# along with redmine_checklists. If not, see <http://www.gnu.org/licenses/>.
require 'redmine'
-require 'redmine_checklists/redmine_checklists'
+require 'redmine_checklists'
@n-rodriguez
n-rodriguez / redmine_contact_patch.diff
Created August 27, 2015 10:18
Redmine Contact Loading Patch
diff --git a/init.rb b/init.rb
index 57ff0d8..c2d2bdb 100755
--- a/init.rb
+++ b/init.rb
@@ -107,6 +107,4 @@ Redmine::Plugin.register :redmine_contacts do
end
-ActionDispatch::Callbacks.to_prepare do
- require 'redmine_contacts'