This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| macbook-pros-computer:ruby187 lourens$ gdb miniruby | |
| GNU gdb 6.3.50-20050815 (Apple version gdb-768) (Tue Oct 2 04:07:49 UTC 2007) | |
| Copyright 2004 Free Software Foundation, Inc. | |
| GDB is free software, covered by the GNU General Public License, and you are | |
| welcome to change it and/or distribute copies of it under certain conditions. | |
| Type "show copying" to see the conditions. | |
| There is absolutely no warranty for GDB. Type "show warranty" for details. | |
| This GDB was configured as "i386-apple-darwin"...Reading symbols for shared libraries .... done | |
| (gdb) break malloc_error_break |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| static VALUE | |
| rb_callcc(self) | |
| VALUE self; | |
| { | |
| volatile VALUE cont; | |
| rb_thread_t th; | |
| volatile rb_thread_t th_save; | |
| struct tag *tag; | |
| struct RVarmap *vars; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| macbook-pros-computer:ruby187 lourens$ gdb miniruby | |
| GNU gdb 6.3.50-20050815 (Apple version gdb-768) (Tue Oct 2 04:07:49 UTC 2007) | |
| Copyright 2004 Free Software Foundation, Inc. | |
| GDB is free software, covered by the GNU General Public License, and you are | |
| welcome to change it and/or distribute copies of it under certain conditions. | |
| Type "show copying" to see the conditions. | |
| There is absolutely no warranty for GDB. Type "show warranty" for details. | |
| This GDB was configured as "i386-apple-darwin"...Reading symbols for shared libraries .... done | |
| (gdb) break malloc_error_break |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| IO.popen( "prince_whatever", "r+" ) do |pipe| | |
| pipe.puts( _html ) | |
| pipe.gets | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace 'views' do | |
| desc 'Renames all your html.erb views to erb' | |
| task 'rename' do | |
| Dir.glob('app/views/**/*.html.erb').each do |file| | |
| puts "#{file} -> #{file.gsub(/\.html.erb$/, '.erb')}" | |
| #puts `mv #{file} #{file.gsub(/\.html.erb$/, '.erb')}` | |
| end | |
| end | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Index: vendor/plugins/cache_fu/lib/acts_as_cached/config.rb | |
| =================================================================== | |
| --- vendor/plugins/cache_fu/lib/acts_as_cached/config.rb (revision 2337) | |
| +++ vendor/plugins/cache_fu/lib/acts_as_cached/config.rb (working copy) | |
| @@ -42,9 +42,16 @@ | |
| def setup_memcache(config) | |
| config[:namespace] << "-#{RAILS_ENV}" | |
| - | |
| + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| e2fsprogs-1.39 lourens$ cd lib/uuid | |
| e2fsprogs-1.39 lourens$ make && sudo make install | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| libmemcache-1.4.0.rc2 lourens$ ./configure && make && make install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| lourens$ sudo gem install caffeine | |
| Building native extensions. This could take a while... | |
| caffeine.c: In function 'key_from_segments': | |
| caffeine.c:712: warning: incompatible implicit declaration of built-in function 'mempcpy' | |
| caffeine.c: In function 'md5_digest': | |
| caffeine.c:872: warning: pointer targets in passing argument 1 of 'MD5' differ in signedness | |
| /usr/bin/ld: warning multiple definitions of symbol _setregid | |
| /opt/local/lib/libruby.dylib(process.o) definition of _setregid | |
| /usr/lib/gcc/i686-apple-darwin8/4.0.1/../../../libpthread.dylib(setregid.So) definition of _setregid | |
| /usr/bin/ld: warning multiple definitions of symbol _setreuid |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module Technoweenie | |
| module AttachmentFu | |
| module InstanceMethods | |
| def self.included( base ) | |
| base.define_callbacks *[:after_resize, :after_attachment_saved, :before_thumbnail_saved] | |
| end | |
| def callback_with_args(method, arg = self) |