This file contains 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
#!/usr/bin/env ruby | |
compile '/*' do | |
filter :haml | |
layout 'default' | |
end | |
compile '/feed/' do | |
filter :erb | |
end |
This file contains 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
# | |
# Author:: Mathieu Sauve-Frankel <msf@kisoku.net> | |
# Copyright:: Copyright (c) 2009, Mathieu Sauve Frankel | |
# License:: Apache License, Version 2.0 | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 |
This file contains 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
# | |
# Author:: Mathieu Sauve-Frankel <msf@kisoku.net> | |
# Copyright:: Copyright (c) 2008 Opscode, Inc. | |
# License:: Apache License, Version 2.0 | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 |
This file contains 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
# | |
# Author:: Mathieu Sauve-Frankel <msf@kisoku.net> | |
# Copyright:: Copyright (c) 2008 Opscode, Inc. | |
# License:: Apache License, Version 2.0 | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 |
This file contains 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
# | |
# Author:: Mathieu Sauve-Frankel <msf@kisoku.net> | |
# Copyright:: Copyright (c) 2008 Opscode, Inc. | |
# License:: Apache License, Version 2.0 | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 |
This file contains 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
# | |
# Author:: Mathieu Sauve-Frankel <msf@kisoku.net> | |
# Copyright:: Copyright (c) 2008 Opscode, Inc. | |
# License:: Apache License, Version 2.0 | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 |
This file contains 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
{ | |
"dmi": { | |
"bios": { | |
"version": "1RETDRWW (3.23 )", | |
"vendor": "IBM", | |
"release_date": "06\/18\/2007" | |
}, | |
"baseboard": { | |
"version": "Not Available", | |
"manufacturer": "IBM", |
This file contains 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
{ | |
"keys": { | |
"ssh": { | |
"host_dsa_public": "AAAAB3NzaC1kc3MAAACBAI7qyCk+clLc1egOypRauMdwG82cv80g4K+MxHoePf4rpZp8xamPKIwEQQHvh3WSPUr\/1\/dWcS6bQ6Cx9JSs\/5c1UIbqlBpNF9kmcO3gFFgD0sKRo0QAqrrpn6YeL13SiiRpe\/+PLjfbO3tzcnBCdyhyIKUEVOghp38VPht2mAsvAAAAFQCLmnUwYJa0M+kONXYmSLFXxSUoVQAAAIBCt6HIfYNAZOTNnsNkZft1DY+8F22Dm4BmElBg9EAocD2+PWMQu7zVxP8izq8uta4TbzEKghebTs4rJmOMcDjSDdteHvYbQMqW8BRoFnFBCnqFFeECNS9rtDRqsBN\/tcgPzc0IBfsw86DXda0dvgcLR3UvaDtkve6yFS29YsiXEQAAAIAfImoyMAs51yRt9mYFi\/MlX+2V9EPc64Nr7WZSGUdCa\/E5oKFEYVc3lag8Dn39W5X9rfS97yJvj+h267BLt\/WNkRtpBZZ\/m0\/oGlLxKXfBbmNWYQpaIK+8S5qRl0i4jKGe7clnrPrX3kkzbSY0EtbUtJmm5rhf107dbSJzs4cLsw==", | |
"host_rsa_public": "AAAAB3NzaC1yc2EAAAABIwAAAIEA0USpOmc1Y7Gb6ackVj0mfSaV331NNtHShyiM1sf+nu6vMapKViE+Yv7t9w1C0RwzavnWQwT5H\/is9kdfuHWrqBYuEeKfK\/0eZp2QfmxWy\/U84jSQkwZ1OrRiZY1lMdvGBUwQU5Gj5NVFIipJxPzy6F2Y24PYHCDxSz6Gkq+5g20=" | |
} | |
}, | |
"dmi": { | |
"bios": { | |
"version": "6.00", |
This file contains 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
$ ack net_counters | |
darwin/network.rb | |
171:net_counters = Mash.new | |
179: net_counters[ifname] = Mash.new unless net_counters[ifname] | |
180: net_counters[ifname] = { :rx => { :bytes => $5, :packets => $3, :errors => $4, :drop => 0, :overrun => 0, :frame => 0, :compressed => 0, :multicast => 0 }, | |
187:counters[:network][:interfaces] = net_counters | |
freebsd/network.rb | |
85:net_counters = Mash.new | |
97: net_counters[$1] = Mash.new unless net_counters[$1] |
This file contains 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: ruby.port.mk | |
=================================================================== | |
RCS file: /cvs/ports/lang/ruby/ruby.port.mk,v | |
retrieving revision 1.22 | |
diff -u -p -r1.22 ruby.port.mk | |
--- ruby.port.mk 11 Aug 2009 07:27:30 -0000 1.22 | |
+++ ruby.port.mk 11 Aug 2009 09:02:23 -0000 | |
@@ -2,20 +2,21 @@ | |
# ruby module |