Skip to content

Instantly share code, notes, and snippets.

Graham Bouvier omnistegan

Block or report user

Report or block omnistegan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
omnistegan / gist:49576c6f516025da41633636dc6c9601
Last active Aug 24, 2018
Procs, Lambdas, and implicit destructing in Ruby
View gist:49576c6f516025da41633636dc6c9601
[1] pry(main)> # Procs don't mind if you give them the wrong number of arguments
[2] pry(main)> foo = proc { |x, y| puts x; puts y }
=> #<Proc:0x000055f45b0909c0@(pry):2>
[3] pry(main)>
                                       # Notice the non-argument is printed
=> nil
[4] pry(main)>, 2, 3)

Keybase proof

I hereby claim:

  • I am omnistegan on github.
  • I am gmbouvier ( on keybase.
  • I have a public key ASBvre7N2NnT34qQ-qorG6b_Le-tHhDQwikphyYB9lB3ygo

To claim this, I am signing this object:

View vsftpd.conf
# Example config file /etc/vsftpd.conf
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
# capabilities.
You can’t perform that action at this time.