Create droplet of your liking (ubuntu 12.10 x32)
ssh to root in terminal with your server ip
ssh [email protected]
Add ssh fingerprint and enter password provided in email
Create droplet of your liking (ubuntu 12.10 x32)
ssh to root in terminal with your server ip
ssh [email protected]
Add ssh fingerprint and enter password provided in email
module CalendarHelper | |
def calendar(date = Date.today, &block) | |
Calendar.new(self, date, block).table | |
end | |
class Calendar < Struct.new(:view, :date, :callback) | |
HEADER = %w[SUN MON TUE WED THU FRI SAT] | |
START_DAY = :sunday | |
delegate :content_tag, to: :view |
<div class="row"> | |
<div class="large-12 columns calendar-container"> | |
<h3 class="month"> | |
<a href="/admin/analytics?class=cal-larr&date=2013-11-01"><</a> | |
December 2013 | |
<a href="/admin/analytics?class=cal-rarr&date=2014-01-01">></a> | |
</h3> | |
<section class="calendar" role="main"> | |
<ul class="day-row"> | |
<li class="day">SUN</li> |