Symbols & Numbers A

Total Page:16

File Type:pdf, Size:1020Kb

Symbols & Numbers A ruby_02.book Page 267 Thursday, May 10, 2007 4:12 PM INDEX Symbols & Numbers \ (backslash), in regular expression, for literal characters, 144 %Q for instantiating Strings, 23, \W, in regular expression, for 108–109, 215–216, 219, 239, whitespace, 66 245, 248–250 { } (braces) %w for instantiating Arrays, 47, for blocks, 28 113, 115 for declaring Hash, 42 & (ampersand), for expressing blocks {x}, in regular expression, 79 and Procs, 105–106 - method (Hash), 93 ! (exclamation point), for destructive ||= operator, 77–78, 127 methods, 20, 22–23 | (pipe) character, in regular || (or) operator, 17 expression, 56 # character + method of Integers and Strings, 3–4 for comments, 14 + (plus sign), in regular for instance method, 234 expression, 62 #{} for wrapping expression to be = (equal sign), for assigning value to interpolated, 23 variable, 9 #! (shebang), 47 == operator, for equality testing, 14 $ (dollar sign), for bash prompt, 19 =begin rdoc, 22 * (asterisk), in irb prompt, 8 =end, 22 ** (asterisk doubled), for “to the <=> method (Comparable), 145, power of,” 72 150–151 /\d+/ in regular expression, for digits <% and %> tags, 211 only, 79 <%= tag, for printing expression, 214 :needs_data Symbol key, 116 99bottles.rb script, 20–25 :nitems Symbol key, 116 :unless0th Symbol key, 116 ? (question mark) A in predicate method names, 22 actionpack, warnings related to, 226 in regular expression, for optional Active Record, Rails dependence expressions, 144 on, 227 @ sign, for instance variable, 21–22 Agile Web Development with Rails @@ sign, for class variable, 82–84 (Thomas and Hansson), 227 [] (square brackets), for Array Akregator, 257, 259 instantiation, 5–6 alias method, 34–35, 199 [] method (Array), 68 all_photos method (ApplicationController), 243 ruby_02.book Page 268 Thursday, May 10, 2007 4:12 PM alpha_width method, 217 assert_nil method ampersand (&), for transforming (Test::Unit::Assertions), 140 blocks and Procs, 105–106 assert_raise method ancestors method (Module), 75 (Test::Unit::Assertions), 140 any? method (Enumerable), 44, 45 assert_respond_to method Apache webserver (Test::Unit::Assertions), 140 CGI for, 206 asterisk (*) set up to handle mod_ruby, 211–212 doubled, for “to the power of,” 72 web resources, 213 in irb prompt, 8 app directory for Rails, 230 Australian National University, 162 Apple operating systems, end-of-line marker, 51 B ARABIC_TO_ROMAN Hash, 84 ArgumentError exception, 106 backslash (\), for literal characters arguments, 8 within regular expression, 144 ARGV environment variable, 11, 16 bang (!), for destructive methods, arity, 106 22–23 flexible with Proc.new, 116–117 base, for exponentiation, 72 Array class, 27. See also Enumerable bash prompt, $ (dollar sign) for, 19 module begin keyword, 157 Children class inheritance =begin rdoc, 22 from, 171 Benchmark module and bm count_of method, 65 method, 129 detect method, 85–86 benchmarking, 128–131 each_with_index method, 58 Berners-Lee, Tim, 141 join method, 37 best_num method (Meta_Mutator), 180 matches_block method, 105 The Bible Code (Drosnin), 161 matching_compound_members method, 106 Bignum, 3 matching_members method, 105 Black, David Alan, Ruby for Rails, 227 nitems method, 116 The Blind Watchmaker (Dawkins), 168 rand method, 18, 27 blocks, 27 shuffle method, 27–28 ampersand (&) and, 105 shuffle! method, 27–28 do and end for, 28 for shuffled file playback, 26 Procs and, 102 sort_by method, 27, 145, 175 using Procs as, 110 as Strings, 36 bm (Benchmark) method, 129 array_join.rb script, 36–39 Boole, George, 6 Arrays, 5–6 Boolean type, 6 of Arrays, converting Hash into, 150 items evaluating to true, 7 converting item into, 6 Boolean values, methods returning, 22 creating single-word, 116 boolean_golf.rb script, 33–36 filtering, 103–108 bound variable, of inner lambda, 111 for return values, for factorial or braces ({ }) Fibonacci test, 125 for blocks, 28 instantiating with %w, 47, 113, 115 for declaring Hash, 42 ASCII values for characters, 171–172 browsers, dynamic stylesheet for, assert_instance_of method 215–218 (Test::Unit::Assertions), 140 Buffalo, NY, clement weather in November, 136 bytecode, 263 268 INDEX ruby_02.book Page 269 Thursday, May 10, 2007 4:12 PM C comma (,), adding to numbers, 75–81 C (programming language), 261–262 comments, # character for, 14 call method (Proc), 100 commify.rb script, 75–81 callback, 185 Common Gateway Interface CamelCase capitalization, 3 (CGI), 206 capital letters, for constants, 10 scripts, 207–210 carriage return, 15, 52 Comparable module, 145n Cascading Style Sheets (CSS), comparing Strings, 145 215–221, 246, 257 compiled language, 262 case, of names, 3 compose method casting, 4–5, 33 (Temperature_Converter), Boolean, 7 137 CD-ROM drive, Windows filesystem composition of functions, 134 access to, 20 implicit, 137 Celsius, vs. kelvins, 134 compounded filtering, Proc class for, CGI (Common Gateway 103–108 Interface), 206 Comprehensive Perl Archive scripts, 207–210 Network, 224 cgi library, 207 concatenation, 4, 80 cgi.out method, 209 Concurrent Versions System cgi.params Hash, 209 (CVS), 188 chaining methods, 5n, 80 constants, 10, 125 characters declaring inside class, 42 ASCII values for, 171–172 defining, 14–15 rotating in String, 68–70 construct_candidate method check_payday.rb script, 14–16 (ELS_Parser), 166 Cheese Shop (Python), 224 CONVERSIONS Hash, 135 Children class, 171 convert method select_fittest method, 171, 174, 175 class (Temperature_Converter), keyword, 21 135 method (Object), 3 converting class variables, 83–84 item into Array, 6 classes temperatures, 132–137 adding “helper” method to, 65 counting defining, 20–21 tags, 148–154 instances of, 2–3 words in file, 62–64 CLI parsers in Ruby, 39 count_of method (Array), 65 closing files, 17 create_english method code (Representable_In_English), placement in controller vs. 198 helper, 247 create_spanish method reusable, 40 (Representable_In_Spanish), testing execution speed of, 198 128–132 create_table method code coverage by testing, 139 (CreatePhotos), 239 command-line interface, 39–45 crontab, 19 Ruby options, 10 INDEX 269 ruby_02.book Page 270 Thursday, May 10, 2007 4:12 PM CSS (Cascading Style Sheets), double quotation marks in String, 215–221, 246, 257 %Q for, 23 currency conversion downcase method (String), 47 advanced, 90–98 download_new_rates method basic, 87–90 (CurrencyConverter), 94, 95 CurrencyConverter class Drosnin, Michael, The Bible Code, 161 download_new_rates method, 94, 95 dup method (Array), 37 get_rates method, 94 get_value method, 89 E get_xml_lines method, 94 initialize method, 89 -e flag, for Ruby, 56 output_rates method, 94 each method vs. map method, 66 pluralize method, 89 each_with_index method (Array), 58 save_rates_in_local_file! method, eager evaluation, 127 95–96 ELSes (equidistant letter currency_converter1.rb script, 87–90 sequences), 161 currency_converter2.rb script, 90–98 ELS_Parser class, 164 cv method (String), 84 initialize method, 165 prepare method, 165 reset_params method, 165 D search method, 165 Darwinian selection model, 168, 176 els_parser.rb script, 161–168 data-driven programming, 44 email signatures, dynamic content databases for Rails application, 229 for, 16–20 preparing, 238 empty? method (Wall), 22 Dawkins, Richard, The Blind =end, 22 Watchmaker, 168 end keyword declare_regexes_and_replacements for block, 28, 105 method, 144 for if expression, 7 with inject, 148 and method call, 61 def keyword, 8, 21 for method definitions, 24 definition list, output in HTML, 209 end-of-line marker, converting, 51–56 demo_els_parser.rb script, 167 END_OF_USAGE marker, 43 describe method (Him), 119 English units, converting, 132–137 describe2 method (Him), 119 Enumerable module destructive methods, 23 any? method, 44, 45 detect method (Array), 85–86 grep method, 65, 79 Dijkstra, Edsger, 263n inject method, 60–61, 65, 107 display method (Simple_CGI), 209 declare_regexes_and_replacements do keyword, for block, 28, 105 method with, 148 doc directory, for Rails, 230 ENV environment variable, 17 DocBook, 62, 141 environment variables and spell checker, 154 ARGV, 16 dollar sign ($), for bash prompt, 19 ENV, 17 DOM (Document Object Model), 157 for Ruby, 10 dont_play_file_proc Proc, 191 Epiphany web browser, 257 DOS-to-Unix EOL conversion, 56 equidistant letter sequences dos2unix.rb script, 51–56 (ELSes), 161 270 INDEX ruby_02.book Page 271 Thursday, May 10, 2007 4:12 PM eRuby, 211 File class exceptions new method, 17 ArgumentError, 106 well_formed_xml? method, 156–158 NoMethodError, 24, 39, 152 File objects, creating, 17 TypeError, 4 filename extensions, 213 XMLParserError, 158 files exchange rates, XML file for, 94–95 counting words in, 62–64 exclamation point (!), for destructive name for class definition, 21 methods, 22–23 filtering execution speed of code, testing, Proc class for, 102–103 128–132 Proc class for compounded, exit conditions, 74 103–108 exponentiation, 72 find method (Rails Models), 242 expressions, 2, 4 find_all method, 185 value appearing inside String, 23 first-class functions, 111 eXtensible HyperText Markup first_if_true method, 8 Language (XHTML), 142 fitness, measuring for survival of eXtensible Markup Language (XML), fittest, 173 87, 141 Fixnum module, 3 file for exchange rates, 94–95 flow control, 6–8 online tutorial, 90 format_float method (Precision), 80 validating, 156–158 format_int method (Precision), 79–80 external content, -r command-line Fowler, Martin, Refactoring: Improving flag for, 22 the Design of Existing Code, 124, 247 F free variables, 111 Friedl, Jeffrey, Mastering Regular
Recommended publications
  • Questions for Ruby Gems
    www.YoYoBrain.com - Accelerators for Memory and Learning Questions for Ruby Gems Category: Basics - (21 questions) How do you check the version of gems on gem --version system Ruby: How do you update gems version gem update --system Ruby: How do you install a particular gem gem install rails (such as rails) How do you search the gem repository gem list -r name directly for gem with a name How do you uninstall a particular version of a gem uninstall name -v#.# gem What type of file would you need to install a .gem file gem directly If you install a gem directly and it needs post postinstall.rb installation code to be run, what is the typical file name 2 ways to make the gem code available in a require xxxx - uses the latest version ruby program require_gem 'xxxx', = x.x.x - to specify the gem version Ruby: How can you find out which version of gem list --remote name the gems are available from remote repository What is a .gem file essentially archives like tar or zip files with metadata describing contents Ruby: What must be created to make your custom gem specification, called own gem gemspecplaced in gemspec.rb and uses object GEM::Specification Ruby: How do you create your own .gem file gem build gemspec.rb RubyGem: code for package is placed within lib ____ directory RubyGem: convention for primary file lib/gem_name.rb RubyGem: file where you define what's in gem_name.gempspec gem, who made it, and version RubyGem: how to build / install from source gem build gem_name.gemspecgem install files ./gemname.gem RubyGem: how to push a created gem to gem push gem_name-0.0.0.gem RubyGems.org RubyGems: how to detect a gem on gem list -r gem_name RubyGems.org RubyGems: convention for adding modules / make a directory inside lib with same name classes to gem as gemlib/gem_name/ .
    [Show full text]
  • Automating Configuration N49(PDF)
    Automating Network Configuration Brent Chapman Netomata, Inc. [email protected] www.netomata.com NANOG 49 — 13 June 2010 Copyright © 2010, Netomata, Inc. All Rights Reserved. Introduction Who I am What I'm here to talk about 2 Copyright © 2010, Netomata, Inc. All Rights Reserved. Why automate network configuration? Because automated networks are More reliable Easier to maintain Easier to scale 3 Copyright © 2010, Netomata, Inc. All Rights Reserved. For example... Imagine you're managing a moderately complex web site Multiple real and virtual hosts Several "environments" (production, testing, development, etc.) Separate VLAN for each environment 4 Copyright © 2010, Netomata, Inc. All Rights Reserved. For example... What networking devices & services need to be managed? Routers Switches Load Balancers Firewalls Real-time status monitoring (i.e., Nagios) Long-term usage monitoring (i.e., MRTG) 5 Copyright © 2010, Netomata, Inc. All Rights Reserved. For example... How to add new virtual host to existing load balancer pool? Set up host itself, using Puppet or cfengine or whatever Add host to VLAN defs on switches Add host to ACLs on routers Add host to pool on load balancers Add host to NAT and ACLs on firewalls Add host to real-time monitoring (i.e., Nagios) Add host to usage monitoring (i.e., MRTG) 6 Copyright © 2010, Netomata, Inc. All Rights Reserved. For example... What's the problem with doing all that by hand? You have to remember how to manage all those very different devices (and you probably don't do it very often) It takes a lot of time Every step is a chance to make a mistake You might get distracted, and never finish Over time, these small mistakes add up, leading to inconsistent networks that are unreliable and difficult to troubleshoot 7 Copyright © 2010, Netomata, Inc.
    [Show full text]
  • Third-Party Software for Engage Products APPLICATIONS Red Hat
    Third-Party Software for Engage Products APPLICATIONS Red Hat Enterprise Linux General Information Source Code Status Not modified by Vocera URL https://www.redhat.com/en/about/licenses-us Supplemental END USER LICENSE AGREEMENT (November 2010) License Text RED HAT® ENTERPRISE LINUX® AND RED HAT APPLICATIONS PLEASE READ THIS END USER LICENSE AGREEMENT CAREFULLY BEFORE USING SOFTWARE FROM RED HAT. BY USING RED HAT SOFTWARE, YOU SIGNIFY YOUR ASSENT TO AND ACCEPTANCE OF THIS END USER LICENSE AGREEMENT AND ACKNOWLEDGE YOU HAVE READ AND UNDERSTAND THE TERMS. AN INDIVIDUAL ACTING ON BEHALF OF AN ENTITY REPRESENTS THAT HE OR SHE HAS THE AUTHORITY TO ENTER INTO THIS END USER LICENSE AGREEMENT ON BEHALF OF THAT ENTITY. IF YOU DO NOT ACCEPT THE TERMS OF THIS AGREEMENT, THEN YOU MUST NOT USE THE RED HAT SOFTWARE. THIS END USER LICENSE AGREEMENT DOES NOT PROVIDE ANY RIGHTS TO RED HAT SERVICES SUCH AS SOFTWARE MAINTENANCE, UPGRADES OR SUPPORT. PLEASE REVIEW YOUR SERVICE OR SUBSCRIPTION AGREEMENT(S) THAT YOU MAY HAVE WITH RED HAT OR OTHER AUTHORIZED RED HAT SERVICE PROVIDERS REGARDING SERVICES AND ASSOCIATED PAYMENTS. This end user license agreement (“EULA”) governs the use of any of the versions of Red Hat Enterprise Linux, certain other Red Hat software applications that include or refer to this license, and any related updates, source code, appearance, structure and organization (the “Programs”), regardless of the delivery mechanism. 1. License Grant. Subject to the following terms, Red Hat, Inc. (“Red Hat”) grants to you a perpetual, worldwide license to the Programs (most of which include multiple software components) pursuant to the GNU General Public License v.2.
    [Show full text]
  • Puppet Offers a Free, Reliable and Cross Flavor Option for Remote Enterprise Computer Management
    This material is based on work supported by the National Science Foundation under Grant No. 0802551 Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author (s) and do not necessarily reflect the views of the National Science Foundation C4L8S1 System administrators are constantly challenged when managing large enterprise systems using Linux-based operating systems. Administrators need to know a variety of command line differentiations, dependency variations, and support options to support the various computers systems in use. Puppet offers a free, reliable and cross flavor option for remote enterprise computer management. This lesson will introduce you to the Puppet AdministrativeU the tool and provide you with a basic overview on how to use Puppet. Lab activities will provide you with hands-on experience with the Puppet application and assignments and discussion activities will increase your learning on this subject. Understanding Puppet is important because of its ability to manage enterprise systems. Students hoping to become Linux Administrators must gain mastery of enterprise management tools like Puppet to improve efficiency and productivity. C4L8S2 You should know what will be expected of you when you complete this lesson. These expectations are presented as objectives. Objectives are short statements of expectations that tell you what you must be able to do, perform, learn, or adjust after reviewing the lesson. Lesson Objective: U the Given five computers that need to be configured,
    [Show full text]
  • Rubyperf.Pdf
    Ruby Performance. Tips, Tricks & Hacks Who am I? • Ezra Zygmuntowicz (zig-mun-tuv-itch) • Rubyist for 4 years • Engine Yard Founder and Architect • Blog: http://brainspl.at Ruby is Slow Ruby is Slow?!? Well, yes and no. The Ruby Performance Dichotomy Framework Code VS Application Code Benchmarking: The only way to really know performance characteristics Profiling: Measure don’t guess. ruby-prof What is all this good for in real life? Merb Merb Like most useful code it started as a hack, Merb == Mongrel + Erb • No cgi.rb !! • Clean room implementation of ActionPack • Thread Safe with configurable Mutex Locks • Rails compatible REST routing • No Magic( well less anyway ;) • Did I mention no cgi.rb? • Fast! On average 2-4 times faster than rails Design Goals • Small core framework for the VC in MVC • ORM agnostic, use ActiveRecord, Sequel, DataMapper or roll your own db access. • Prefer simple code over magic code • Keep the stack traces short( I’m looking at you alias_method_chain) • Thread safe, reentrant code Merb Hello World No code is faster then no code • Simplicity and clarity trumps magic every time. • When in doubt leave it out. • Core framework to stay small and simple and easy to extend without gross hacks • Prefer plugins for non core functionality • Plugins can be gems Key Differences • No auto-render. The return value of your controller actions is what gets returned to client • Merb’s render method just returns a string, allowing for multiple renders and more flexibility • PartController’s allow for encapsualted applets without big performance cost Why not work on Rails instead of making a new framework? • Originally I was trying to optimize Rails and make it more thread safe.
    [Show full text]
  • Next Generation Web Scanning Presentation
    Next generation web scanning New Zealand: A case study First presented at KIWICON III 2009 By Andrew Horton aka urbanadventurer NZ Web Recon Goal: To scan all of New Zealand's web-space to see what's there. Requirements: – Targets – Scanning – Analysis Sounds easy, right? urbanadventurer (Andrew Horton) www.morningstarsecurity.com Targets urbanadventurer (Andrew Horton) www.morningstarsecurity.com Targets What does 'NZ web-space' mean? It could mean: •Geographically within NZ regardless of the TLD •The .nz TLD hosted anywhere •All of the above For this scan it means, IPs geographically within NZ urbanadventurer (Andrew Horton) www.morningstarsecurity.com Finding Targets We need creative methods to find targets urbanadventurer (Andrew Horton) www.morningstarsecurity.com DNS Zone Transfer urbanadventurer (Andrew Horton) www.morningstarsecurity.com Find IP addresses on IRC and by resolving lots of NZ websites 58.*.*.* 60.*.*.* 65.*.*.* 91.*.*.* 110.*.*.* 111.*.*.* 113.*.*.* 114.*.*.* 115.*.*.* 116.*.*.* 117.*.*.* 118.*.*.* 119.*.*.* 120.*.*.* 121.*.*.* 122.*.*.* 123.*.*.* 124.*.*.* 125.*.*.* 130.*.*.* 131.*.*.* 132.*.*.* 138.*.*.* 139.*.*.* 143.*.*.* 144.*.*.* 146.*.*.* 150.*.*.* 153.*.*.* 156.*.*.* 161.*.*.* 162.*.*.* 163.*.*.* 165.*.*.* 166.*.*.* 167.*.*.* 192.*.*.* 198.*.*.* 202.*.*.* 203.*.*.* 210.*.*.* 218.*.*.* 219.*.*.* 222.*.*.* 729,580,500 IPs. More than we want to try. urbanadventurer (Andrew Horton) www.morningstarsecurity.com IP address blocks in the IANA IPv4 Address Space Registry Prefix Designation Date Whois Status [1] -----
    [Show full text]
  • "This Book Was a Joy to Read. It Covered All Sorts of Techniques for Debugging, Including 'Defensive' Paradigms That Will Eliminate Bugs in the First Place
    Perl Debugged By Peter Scott, Ed Wright Publisher : Addison Wesley Pub Date : March 01, 2001 ISBN : 0-201-70054-9 Table of • Pages : 288 Contents "This book was a joy to read. It covered all sorts of techniques for debugging, including 'defensive' paradigms that will eliminate bugs in the first place. As coach of the USA Programming Team, I find the most difficult thing to teach is debugging. This is the first text I've even heard of that attacks the problem. It does a fine job. Please encourage these guys to write more." -Rob Kolstad Perl Debugged provides the expertise and solutions developers require for coding better, faster, and more reliably in Perl. Focusing on debugging, the most vexing aspect of programming in Perl, this example-rich reference and how-to guide minimizes development, troubleshooting, and maintenance time resulting in the creation of elegant and error-free Perl code. Designed for the novice to intermediate software developer, Perl Debugged will save the programmer time and frustration in debugging Perl programs. Based on the authors' extensive experience with the language, this book guides developers through the entire programming process, tackling the benefits, plights, and pitfalls of Perl programming. Beginning with a guided tour of the Perl documentation, the book progresses to debugging, testing, and performance issues, and also devotes a chapter to CGI programming in Perl. Throughout the book, the authors espouse defensible paradigms for improving the accuracy and performance of Perl code. In addition, Perl Debugged includes Scott and Wright's "Perls of Wisdom" which summarize key ideas from each of the chapters, and an appendix containing a comprehensive listing of Perl debugger commands.
    [Show full text]
  • Questions for Mongrel
    www.YoYoBrain.com - Accelerators for Memory and Learning Questions for Mongrel Category: Introduction - (16 questions) Mongrel is described in what way in the "A web application container for Ruby on Mongrel pdf available from O Reilly Rails" Mongrel is compared with what web servers production performance: Fast CGI or SCGI in the Rails world in terms of production performance and development Development: WEBrick simplicity/speed Creator of Mongrel Zed A Shawwww.zedshaw.com Mongrel is developed on what mixture of Ruby and C programming/scripting languages Documentation for Mongrel mongrel.rubyforge.org/docs/index.html The creators of Mongrel describe it how? a fast HTTP library and server for Ruby that is intended for hosting Ruby web applications of any kind using plain HTTP rather than FastCGI or SCGI. It is framework agnostic Three key technologies that are used for A custom HTTP 1.1 parser (based on RFC Mongrel's internals standard, written using Ragel in C and Java as a Rby extension) Simple server that uses the parser and URIClassifier to process requests, find the right handlers, then pass the results to the handler for processing Handlers are responsible for using HttpRequet and HttpResponse objects to "do their thing and then return results" Component of Mongrel responsible for Handlers dealing with HttpRequest and HttpResponse How does Mongrel support threading one thread per request, but it will start closing connections when it gets "overloaded"while Mongrel is processing HTTP requests and sending responses it uses Ruby's threading system What platforms that already work with Camping and Og+Nitro Mongrel are throught to be "thread-safe" Have not been heavily tested Is Ruby on Rails thread safe? no How does Mongrel handle Rails" " Ruby on Rails is not thread safe so there is a synchronized block around the calls to Dispatcher.dispatch.
    [Show full text]
  • Ruby on Rails Matt Dees All Trademarks Used Herein Are the Sole Property of Their Respective Owners
    Ruby on Rails Matt Dees All trademarks used herein are the sole property of their respective owners. Introduction How Ruby on Rails Works cPanel's interaction with Ruby on Rails Administrating Ruby on Rails Troubleshooting Ruby on Rails What is Ruby on Rails? A Web Application Framework aimed towards the rapid development and deployment of Dynamic Web 2.0 Applications Interpreted Programming Language Web Applications are done through either Rails or as a straight CGI application Every part of the Ruby on Rails system is dependent on ruby working correctly Gems Gems are Ruby modules Either compiled or interpreted Ruby code Gems can be full applications or libraries for Ruby programs Managed by the “gem” command Rails Rails is a framework for creating Ruby applications and provides several different pieces of functionality Rails exists for multiple programming languages Is a gem Consists of several gems used for handling different functions Different versions of this exist, each application requires a specific version Rails Continued Action Record – Rapid development library for building daemon independent database queries Action Pack – An implementation of Model View Controller for Ruby. Action Mailer – An Email Handler Webserver – Usually webrick, however we use mongrel Mongrel Mongrel is the Web Server used for serving Ruby on Rails applications One instance per Ruby application Other daemons exist, but mongrel has the best security and performance record Is a gem Runs applications on port 12001 and up on cPanel Uses a significant amount
    [Show full text]
  • Practical Ruby Projects: Practical Ruby Projects Ideas for the Eclectic Programmer
    CYAN YELLOW MAGENTA BLACK PANTONE 123 C BOOKS FOR PROFESSIONALS BY PROFESSIONALS® THE EXPERT’S VOICE® IN OPEN SOURCE Companion eBook Available Practical Ruby Projects: Projects Ruby Practical Ideas for the Eclectic Programmer Dear Reader, You’ve learned the basics of Ruby, and you’re ready to move on to the next level— trying out advanced techniques, mastering best practices, and exploring Ruby’s full potential. With this book you’ll learn by experience while you tackle an exciting series of varied but always practical programming projects. What is an eclectic programmer, you ask? He or she is an inquisitive thinker Practical who likes to play around with new concepts, a person who is project-oriented and enjoys coding, a person who doesn’t mind some technical depth folded in with creative excursions, and a person who is always looking for fresh ideas. This book is a little different from other computer books. It is meant to be entertaining, exciting, and intellectually challenging. Inside you’ll find a collec- tion of diverse projects, ranging from the creative to the practical, written as a nod to all the great Rubyists I’ve been privileged to know. Each chapter dives into Ruby Projects new topics and approaches meant to exercise your programming muscles. You’ll start by building a cross-platform music environment, progress to drawing animations using scalable vector graphics, and then move on to prac- tical problem solving using simulation. In addition, you’ll implement your own turn-based strategy game and build a Mac-native RubyCocoa interface to it.
    [Show full text]
  • Messageway Web Client Installation and Configuration
    Version 6.0.0 MessageWay Web Client Installation and Configuration Document History Part Number Product Name Date MW600-590 MessageWay Web Client Installation and Configuration 04/2013 MW600-MR01 MessageWay Web Client Installation and Configuration 06/26/15 MW600-MR02 MessageWay Web Client Installation and Configuration 10/14/16 MW600-MR03 MessageWay Web Client Installation and Configuration 03/16/18 MW600-MR04 MessageWay Web Client Installation and Configuration 03/13/20 Copyright ©1991-2020 Ipswitch, Inc. All rights reserved. This document, as well as the software described in it, is furnished under license and may be used or copied only in accordance with the terms of such license. Except as permitted by such license, no part of this publication may be reproduced, photocopied, stored on a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, recording, or otherwise, without the express prior written consent of Ipswitch, Inc. The content of this document is furnished for informational use only, is subject to change without notice, and should not be construed as a commitment by Ipswitch, Inc. While every effort has been made to assure the accuracy of the information contained herein, Ipswitch, Inc. assumes no responsibility for errors or omissions. Ipswitch, Inc. also assumes no liability for damages resulting from the use of the information contained in this document. WS_FTP, the WS_FTP logos, Ipswitch, and the Ipswitch logo, MOVEit and the MOVEit logo, MessageWay and the MessageWay logo are trademarks of Ipswitch, Inc. Other products and their brands or company names, are or may be trademarks or registered trademarks, and are the property of their respective companies.
    [Show full text]
  • Benjamin M. Ward (703) 336 9706 [email protected]
    Benjamin M. Ward www.benmward.com (703) 336 9706 [email protected] SECURITY CLEARANCE TOP SECRET / SCI with Polygraph Jun 2017 - Present PROFESSIONAL EXPERIENCE Software Engineer​ | ​Bit Systems, Sterling, VA Jul 2016 - Present Work on a team developing a powerful software platform to facilitate mission data ingestion, persistence, and real-time analysis with a modern web application based client Tasks range from full-stack application development, database design, file system infrastructure enforcement, peer code review, technical documentation, and configuration of integrated systems in classified environments Technologies:​ Grails, Groovy, Java, AngularJS, Puppet, PostgreSQL, HTML, CSS, Shell Scripting, and others Computer Law and Ethics TA​ | ​George Mason University, Fairfax, VA Jan 2016 - Jul 2016 Received the 2016 Distinguished Undergraduate Teaching Assistant Award from the GMU Computer Science Dept. Assisted students with legal research for landmark computer/software related cases; Grading responsibilities Internship (Software Engineer)​ | ​Bit Systems, Sterling, VA May 2015 - Aug 2015 Developed a caching system to optimize the delivery of large and bursty data for an enterprise Java application Technologies:​ Java, PostgreSQL, Spring Framework, Camel, ActiveMQ, JMS, Javascript, Ant, XML (JAXB) EDUCATION George Mason University​ | ​Fairfax, VA Aug 2012 - May 2016 B.S. in Applied Computer Science with a concentration in Software Engineering Cum Laude GPA 3.52 TECHNICAL SKILLS Languages Java, Groovy, Javascript, PostgreSQL, Shell
    [Show full text]