Skip to content

Instantly share code, notes, and snippets.

View MBO's full-sized avatar

Mirosław Boruta MBO

  • Lędziny, Poland
View GitHub Profile
# Distance between two dates in days
now.yday - back.yday + (back.year...now.year).reduce(0) do |acc,el|
acc + Time.mktime(el, 12, 31).yday # last day of year = number of days in year
end
sortedDefault:
==============
a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, ó, ö, ą, ć, ę, ě, ł, ń, ś, ź, ż
sortedDefaultWithCollator:
==========================
a, ą, b, c, ć, d, e, ě, ę, f, g, h, i, j, k, l, m, n, ń, o, ó, ö, p, q, r, s, ś, t, u, v, w, x, y, z, ź, ż, ł
##
## Zapisz jako /etc/apt/sources.list
##
#
# deb cdrom:[Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081028)]/ intrepid main restricted
# deb cdrom:[Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081028)]/ intrepid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.