Skip to content

Instantly share code, notes, and snippets.

View nonafiona's full-sized avatar

Fiona Carty nonafiona

View GitHub Profile
### Keybase proof
I hereby claim:
* I am nonafiona on github.
* I am nonafiona (https://keybase.io/nonafiona) on keybase.
* I have a public key ASCcPozF7NsZPNb472X0Lzpx3IzbNp4ssRB47tcvvTK7oAo
To claim this, I am signing this object:
@nonafiona
nonafiona / airbnbCodable.swift
Created September 20, 2017 23:17
airbnbCodable Correct
import Foundation
import PlaygroundSupport
// Listing Struct nested inside the Search Result struct
struct Listing {
let name: String
let city: String
let bedrooms: Int
@nonafiona
nonafiona / airbnbCodable.swift
Last active September 18, 2017 21:25
y'all I'm getting a "nil" response with swift 4's new decodable
//: Playground - noun: a place where people can play
import Foundation
import PlaygroundSupport
// Struct
struct Listing {
let name: String
@nonafiona
nonafiona / hm.ino
Created September 9, 2017 23:28
uh attempt #3 😒🙄 at IoT butts
/*
SD card basic file example
This example shows how to create and destroy an SD card file
The circuit:
* SD card attached to SPI bus as follows:
** MOSI - pin 11
** MISO - pin 12
** CLK - pin 13
** CS - pin 4 (for MKRZero SD: SDCARD_SS_PIN)
@nonafiona
nonafiona / umm.ino
Created September 9, 2017 23:17
hahaha attempt #2 @ IoT butts
/*
SD card file dump
This example shows how to read a file from the SD card using the
SD library and send it over the serial port.
The circuit:
* SD card attached to SPI bus as follows:
** MOSI - pin 11
** MISO - pin 12
@nonafiona
nonafiona / uhhhh.ino
Created September 9, 2017 22:59
sd_card shit 4 allison's IoT butts :-0
/*
SD card datalogger
This example shows how to log data from three analog sensors
to an SD card mounted on the YunShield/Yún using the Bridge library.
The circuit:
* analog sensors on analog pins 0, 1 and 2
* SD card attached to SD card slot of the YunShield/Yún
@nonafiona
nonafiona / orig-mac-style.css
Created August 4, 2017 00:08
macintosh styling from original site
/* Import Statements for Google Fonts */
@import url('https://fonts.googleapis.com/css?family=Space+Mono');
/* body */
body {
font-family: "Space Mono", monospace;
font-size: 20px;
line-height: 1.45;
color: darkcyan;
@nonafiona
nonafiona / orig-macintosh.html
Created August 4, 2017 00:06
macintosh structure from original site
<html>
<head>
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<script src="https://use.fontawesome.com/c60f1ef41f.js"></script>
</head>
<body>
<div class="main">
<div class="site-status">