Explore >> Select a destination


You are here

blog.jetbrains.com
| | grosser.it
20.1 parsecs away

Travel
| | Diff is defined on Set, but not on Array, so we patch it in... (thanks to reto) Usage [1,2] ^ [2,3,4] == [1,3,4] Code class Array def ^(other) result = dup other.each{|e| result.include?(e) ? result.delete(e) : result.push(e) } result end unless method_defined?(:^) alias diff ^ unless method_defined?(:diff) end puts ([] ^ [1]).inspect # [1] puts...
| | blog.presidentbeef.com
18.0 parsecs away

Travel
| | Backstory Recently, a friend asked me if just calling constantize on user input was dangerous, even if subsequent code did not use the result: 1
| | www.blackbytes.info
20.5 parsecs away

Travel
| | Ruby 2.4 is coming! What are some of the new features available in this version? Read this post to find out :)
| | voipsa.org
27.2 parsecs away

Travel
| Given recent announcements of security fixes in Asterisk, it was great to see: 1) Kevin Fleming from Digium posting Asterisk security advisories to the VOIPSEC mailing list; and 2) the creation of ...