I've gotten to the point where I can tell a commenter is Luke w/o looking at the name, mainly due to all the knowledge and references that are dropped. 

BTW, I found a decent series of methods for converting to snake_case if you aren't using ActiveRecord. You can prolly google as well as I did, but lemme know if anyone wants it

-Josh

On Aug 12, 2013, at 13:10, Luke Imhoff <notifications@github.com> wrote:

> In modules/post/osx/gather/password_prompt_spoof.rb:
> 
> > +		cmd_exec("umask 0077")
> > +		cmd_exec("/bin/mkdir #{dir}")
> > +
> > +		# write the script that will launch things
> > +		write_file(runme,run_script())
> > +		cmd_exec("/bin/chmod 700 #{runme}")
> > +
> > +		# write the credentials script, compile and run
> > +		write_file(creds_osa,creds_script(passfile))
> > +		cmd_exec("/usr/bin/osacompile -o #{creds} #{creds_osa}")
> > +		cmd_exec("#{runme} #{creds}")
> > +		print_status("Waiting for user '#{username}' to enter credentials...")
> > +
> > +		timeout = ::Time.now.to_f + datastore['TIMEOUT'].to_i
> > +		while (::Time.now.to_f < timeout)
> > +			fileexist = cmd_exec("ls #{passfile}")
> snake_case can also be referred to as underscore(d) since the ActiveSupport Inflection / Rails methods String#camelize produced CamelCase and String#underscore produces snake_case.
> 
> —
> Reply to this email directly or view it on GitHub.