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
after "deploy:symlink", "deploy:restart_workers" | |
after "deploy:restart_workers", "deploy:restart_scheduler" | |
## | |
# Rake helper task. | |
# http://pastie.org/255489 | |
# http://geminstallthat.wordpress.com/2008/01/27/rake-tasks-through-capistrano/ | |
# http://ananelson.com/said/on/2007/12/30/remote-rake-tasks-with-capistrano/ | |
def run_remote_rake(rake_cmd) | |
rake_args = ENV['RAKE_ARGS'].to_s.split(',') |
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
Ooh ooh | |
We're no strangers to love | |
You know the rules and so do I | |
A full commitment's what I'm thinking of | |
You wouldn't get this from any other guy | |
I just wanna tell you how I'm feeling | |
Gotta make you understand | |
Never gonna give you up |
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
1.upto 100 do |x| | |
m3 = x % 3 == 0 | |
m5 = x % 5 == 0 | |
if m3 || m5 | |
p "#{"Fizz" if m3}#{"Buzz" if m5}" | |
else | |
p x | |
end | |
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
[PHP] | |
;;;;;;;;;;; | |
; WARNING ; | |
;;;;;;;;;;; | |
; This is the default settings file for new PHP installations. | |
; By default, PHP installs itself with a configuration suitable for | |
; development purposes, and *NOT* for production purposes. | |
; For several security-oriented considerations that should be taken | |
; before going online with your site, please consult php.ini-recommended |
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
Art of Deception | |
(http://www.amazon.com/Art-Deception-Controlling-Element-Security/dp/0471237124) | |
Effective C++ | |
(http://www.amazon.com/Effective-Specific-Addison-Wesley-Professional-Computing/dp/0201924889) | |
Data Structures and Problem Solving Using C++ | |
(http://www.amazon.com/Data-Structures-Problem-Solving-Using/dp/020161250X) | |
Tricks of the Windows Game Programming Gurus |