mentby.com
Blog | Jobs | Help | Signup | Login

loading

referring to version numbers in a gem

Fri, 11 Nov 2011 13:03:23 -0800 Post Comments

module MyAwesomeTool
  VERSION = "0.1.0-1" # Major, minor, tiny, patch-level
end

puts MyAwesomeTool::VERSION

--
Phillip Gawlowski

gplus.to/phgaw | twitter.com/phgaw

A method of solution is perfect if we can forsee from the start,
and even prove, that following that method we shall attain our aim.
              -- Leibniz

Setting systems date and time - Windows

Thu, 03 Nov 2011 06:39:28 -0700 Post Comments

On Windows (client as well as Server), by default only members of the
System Service and Administrator groups can change system-wide
settings like the time and date.

You can change this via Group Policy, including for workstations not
connected to an Active Directory server.

If, in your case, the PCs *are* connected to an AD server, leave
system time changes to the AD server, otherwise you'll get to know the
Kerberos protocol more intimately than any sane person should. ;)

The question is, why don't you let Windows' and *NIX NTP
services/daemons deal with adjusting time and date (you can set up
your own NTP server, if your machines are disconnected from the
Internet).

--
Phillip Gawlowski

gplus.to/phgaw | twitter.com/phgaw

A method of solution is perfect if we can forsee from the start,
and even prove, that following that method we shall attain our aim.
              -- Leibniz
File a feature request  http://redmine.ruby-lang.org/.  It will get at
least some discussion, and it's mirrored on ruby-core. :)

--
Phillip Gawlowski

gplus.to/phgaw | twitter.com/phgaw

A method of solution is perfect if we can forsee from the start,
and even prove, that following that method we shall attain our aim.
              -- Leibniz
Group(s)
Profile Widget
Copy and paste this HTML code to your blog or website: