recentpopularlog in

kme : os   46

OmniOS Community Edition
illumos based server OS with ZFS, DTrace, Crossbow, SMF, Bhyve, KVM and Linux zone support
solaris  opensource  os  distro 
june 2019 by kme
How can I find which operating system my Ruby program is running on? - Stack Overflow
Use the RUBY_PLATFORM constant, and optionally wrap it in a module to make it more friendly:

<code class="language-ruby">
module OS
def OS.windows?
(/cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM) != nil
end

def OS.mac?
(/darwin/ =~ RUBY_PLATFORM) != nil
end

def OS.unix?
!OS.windows?
end

def OS.linux?
OS.unix? and not OS.mac?
end
end
</code>
ruby  os  platform  detection  solution 
december 2017 by kme
Mac OS X will not connect to webdav server but cadaver will - Server Fault
Investigate the cause of DAVLib appending trailing slash to request URI and post the solution here...
todo  mac  os  x  webdav  dav  apache  annoyance 
august 2010 by kme

Copy this bookmark:





to read