Rails: Parsing ical calendar on a password-protected webdav server
Learn how to parse iCal calendars from a password-protected WebDAV server using Ruby on Rails and the iCalendar plugin for seamless integration.
Duration: 0:27 | Size: 0.5 MB
It took me a little while, but I finally got this working. You’ll need the iCalendar plugin.
require 'icalendar'
def view_ical
request = Net::HTTP::Get.new('/calendars/calendar.ics')
response = Net::HTTP.start('webdav.site.com') {|http|
request.basic_auth 'username', 'password'
response = http.request(request)
}
calendar_text = response.body
calendars = Icalendar.parse(calendar_text)
calendar = calendars.first
end
Nobody takes you aside anymore
Print taught a generation when to stop. What we lose when the machines absorb the constraints that used to form us.
Your AI agents need a water cooler
Coordination is a property of the room, not the org chart. What that means when your coworkers are agents.
On the death of the author and the birth of the detector
Why worrying about AI authorship is lazier, and more prejudiced, than it looks.
The work of being available now
A book on AI, judgment, and staying human at work.
The practice of work in progress
Practical essays on how work actually gets done.
How to manage content for multiple clients without flattening their voices
How to manage content for multiple clients without their voices blurring into one house style: a workspace and a voice profile per client, batchable stages, and approval buffers.
Why does AI writing sound generic? It has nothing to work with
Why does AI writing sound generic? Because the model has none of your perspective, examples, constraints, or stakes to work with. The fix is interview-first, not better adjectives.
How to train AI to write in your voice, not your vibe
How to train AI to write in your voice isn't a prompt trick. It's a system: writing samples, interview answers, keep/avoid lists, revision loops, and approval gates.
Rails + sugarcrm - an alternative approach
Discover a faster, simpler way to connect Rails with SugarCRM by accessing the database directly, avoiding slow API calls for seamless synchronization.
Rails + sugarcrm + soap - get a list of sugar accounts into Rails as an array
Integrate SugarCRM with Rails using SOAP to effortlessly sync company names and streamline your project management workflow.
Nested resources in Ruby on Rails: Why bother?
Discover the pros and cons of using nested resources in Ruby on Rails and learn when they truly add value to your application development.