Skip to content

Instantly share code, notes, and snippets.

@jarofgreen
jarofgreen / file1.ical
Last active July 15, 2016 09:43
2 versions of the same ICAL/ICS file to check importers behavoir
BEGIN:VCALENDAR
PRODID:-//OpenACalendar//NONSGML OpenACalendar//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:TEST
X-WR-TIMEZONE:Europe/London
X-WR-CALDESC:
BEGIN:VTIMEZONE
TZID:Europe/London
package xxxxxxxxxxxxxxxxxxx;
import android.text.TextUtils;
import java.io.BufferedReader;
import java.io.Closeable;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.LinkedList;
@jarofgreen
jarofgreen / IndexController.php
Created April 30, 2016 16:02
Location Cloud on OpenACalendar front page
<?php
// extension/XXX/php/site/controllers/IndexController.php
namespace site\controllers;
use Silex\Application;
use index\forms\CreateForm;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use models\CountryModel;
use repositories\CountryRepository;
@jarofgreen
jarofgreen / Readme.md
Last active August 29, 2015 14:01
Any adults wanting to learn to code?

Recently lots of clubs where volunteers teach kids to code have sprung up like CoderDojo and Prewired, and I know several adults have been jealous.

This is an informal group where adults who want to learn to code can meet up and work together. They would work online on a course of their choice (Codeacademy for instance) but would be with other people they could swap tips with and get encouragement from. We would try and encourage one or two programmers along to help out people who get really stuck, and to advise on what to learn next.

We are dedicated to providing a harassment-free learning experience for everyone.

  1. No feigned surprise. When someone says “I don’t know what X is”, you don’t say “You don’t know what X is?!” or “I can’t believe you don’t know what X is!”
  2. No well-actuallys. That’s the pedantic corrections that don’t make a difference to the conversation that’s happening.
  3. No back-seat driving. Let others learn. All learning, even in a technology you don't like, is good!
  4. We do