Skip to content

Instantly share code, notes, and snippets.

Pizza Requirements

  • tomato sauce
  • pesto

  • carmelized onions
  • red or yellow peppers
  • mushrooms
  • pear
We can make this file beautiful and searchable if this error is corrected: It looks like row 7 should actually have 15 columns, instead of 12 in line 6.
ESS_FCL_ID,STATUS_DT,OBJECTID,MNCPLTY,STATUS,ANNO_CAD,FCLTY_NAME,FCLTY_TYPE,ADDRESS,COMMUNITY,POSTAL_CD,PREOC_CD,RGNL_DSTRD,X,Y
1,20180219,1,THE CORPORATION OF THE CITY OF DAWSON CREEK,CLOSED,,EMERGENCY SERVICES - FIRE HALL,RC,10101 12A ST,DAWSON CREEK,V1G 3V7,NEA,PRRD,-120.2350134484,55.7611710387
2,20180219,2,CITY OF PRINCE GEORGE,CLOSED,,PRINCE GEORGE SECONDARY SCHOOL,RC,2901 GRIFFITHS AVE,PRINCE GEORGE,V2M 2S7,NEA,RDFFG,-122.7796176023,53.9035448232
3,20180219,3,CITY OF PRINCE GEORGE,CLOSED,,UNBC NORTHERN SPORT CENTRE ,RC,3333 UNIVERSITY WAY,PRINCE GEORGE,V2N 4Z9,NEA,RDFFG,-122.8134395831,53.8887672955
4,20180219,4,CITY OF PRINCE GEORGE,CLOSED,,COLLEGE OF NEW CALEDONIA,RC,3320 22AVE,PRINCE GEORGE,V2N 1P8,NEA,RDFFG,-122.7838259114,53.9037184223
5,20180219,5,CITY OF PRINCE GEORGE,CLOSED,,ECONOMY INN,RC,1915 3RD AVE,PRINCE GEORGE,V2M 1G6,NEA,RDFFG,-122.7565237202,53.9199129033
6,20180219,6,CITY OF PRINCE GEORGE,CLOSED,,PRINCE GEORGE CONFERANCE AND CIVIC CENTRE,RC,808 CANADA GAMES WAY,PRINCE GEORGE,V2L 5L1,NE
@gjlawran
gjlawran / README.md
Created September 23, 2017 22:40 — forked from DeanCording/README.md
ESP8266 OTA Firmware Upgrade Manager

This flow provides a tool for managing Over The Air firmware updates for ESP8266 Wifi SoC modules running the Arduino ESP8266 environment.

The ESP8266 is a very small, cheap, and reasonably powerful microcontroller with integrated WiFi. The OTA firmware upgrade process allows you to install these modules in location and have them automatically upgrade their firmware over WiFi.

The OTA upgrade library contacts a specified URL and passes the name and MD5 hash of the module's current firmware. This server implemented in this flow will compare the supplied MD5 hash against the one for the latest firmware and, if different, send the new firmware to the module. The server will uses either the module's MAC address or firmware name to identify the correct firmware file to send. The firmware can be specified in either the request URL or in the x-esp8266-version property in the request header.

This flow also includes a firmware management

@gjlawran
gjlawran / Template_ESP8266.ino
Last active January 9, 2023 23:38 — forked from DeanCording/Template_ESP8266.ino
ESP8266 Arduino project template with optional OTA firmware update
/**
* ESP8266 project template with optional:
* - WiFi config portal - auto or manual trigger
* - OTA update - Arduino or web server
* - Deep sleep
* - Process timeout watchdog
*
* Copyright (c) 2016 Dean Cording <[email protected]>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
@gjlawran
gjlawran / esp8266-twitter.ino
Created April 10, 2017 14:42 — forked from chaeplin/esp8266-twitter.ino
esp8266-twitter.ino
// check update : https://github.com/chaeplin/esp8266_and_arduino/tree/master/_56-gopro-control
// based on tweeting_silicon : http://harizanov.com/2015/06/tweeting-silicon/
// https://github.com/igrr/axtls-8266/blob/master/crypto/hmac.c
// http://hardwarefun.com/tutorials/url-encoding-in-arduino
// chaeplin
#include <TimeLib.h>
#include <ESP8266WiFi.h>
#include <WiFiClientSecure.h>
#include <ESP8266HTTPClient.h>
@gjlawran
gjlawran / ccog-readinglist.md
Created November 27, 2015 15:13 — forked from pramsey/ccog-readinglist.md
Canadian Council on Geomatics Reading List
@gjlawran
gjlawran / Issues.md
Last active August 29, 2015 14:16 — forked from rclark/Issues.md

There are a bunch of reasons why this is convoluted, mostly in building the URL to make the request:

  1. You have to rely on an AJAX request, this example uses jQuery
  2. To make a GetFeatureInfo request, you must provide a BBOX for a image, and the pixel coordinates for the part of the image that you want info from. A couple of squirrely lines of Leaflet code can give you that.
  3. Output formats. The info_format parameter in the request. We don't know a priori which will be supported by a WMS that we might make a request to. See Geoserver's docs for what formats are available from Geoserver. That won't be the same from WMS to WMS, however.
  4. WMS services return XML docs when there's a mistake in the request or in processing. This sends an HTTP 200, which jQuery doesn't think is an error.