Here’s a little CSS Grid use case where a list of days is transformed into a calendar: See the Pen Simple Calendar With CSS Grid by Calendar Tricks (@calendartricks) on CodePen. My choice for this CSS calendar tutorial is a list. Why? Because it’s the easiest way to show the amazing capabilities of CSS grid. …
Tag Archives: calendar
How to Perform Calendar Calculations in Your Head
In case you want to impress your family over Christmas’/New Year’s Dinner: A so-called calendrical savant (or calendar savant) is someone who despite their intellectual disability (typically autism) can name the day of the week of a given date, or visa versa in a few seconds or even a tenth of a second (Kennedy & …
Continue reading “How to Perform Calendar Calculations in Your Head”
Day-O 2
Yesterday Shaun Inman released version 2 of the aforementioned Day-O for use with the most recent macOS versions. It’s been five years to the day since I released the original Day-O, a simple menu bar clock replacement with a simple icon and an equally simple fly-out calendar for your Mac. So simple. So clever. So …
Easily interact with Google Calendar from PHP with spatie/laravel-google-calendar
Great new package by spatie: use Spatie\GoogleCalendar\Event; //create a new event $event = new Event; $event->name = 'A new event'; $event->startDateTime = Carbon\Carbon::now(); $event->endDateTime = Carbon\Carbon::now()->addHour(); $event->save(); // get all future events on a calendar $events = Event::get(); $firstEvent = $events->first(); $firstEvent->name = 'updated name'; $firstEvent->save(); // create a new event Event::create([ 'name' => 'A …
Continue reading “Easily interact with Google Calendar from PHP with spatie/laravel-google-calendar
“