Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
{"CRITERIA":"Reg_ID = 0 & Fac_Type_ID = 0","RESULTS":{"1462":{"ZIP":54880,"REG_NAME":"VISN23: VA Midwest Health Care Network","FANDL_URL":"http://vaww.va.gov/directory/guide/facility.asp?id=5175","STATIONID":"618BY","FAC_INTERNETURL":"http://www.minneapolis.va.gov/locations/TwinPorts.asp","LONGITUDE":-92.104072,"STATE":"WI","FAC_INTRANETURL":"http://vaww.minneapolis.va.gov","DIV_NAME":"VeteransHealth Administration","CITY":"Superior","FAC_ID":5175,"ADDRESS":"3520Tower Avenue","FAC_NAME":"Twin Ports VA Clinic","SHOWPHOTO":1,"SHOWMAP":1,"PHONE_NUMBER":"715-398-2400","FAX":"715-392-3782","LATITUDE":46.697503,"TYPE_DESC":"CommunityBased Outpatient Clinic"},"1461":{"ZIP":61081,"REG_NAME":"VISN 23: VA MidwestHealth Care Network","FANDL_URL":"http://vaww.va.gov/directory/guide/facility.asp?id=6152","STATIONID":"636GT","FAC_INTERNETURL":"http://www.iowacity.va.gov/locations/CBOC_Sterling_IL.asp","LONGITUDE":-89.700231,"STATE":"IL","FAC_INTRANETURL":"","DIV_NAME":"VeteransHealth Administration","CITY":"Sterling","FAC_
@mildocjr
mildocjr / variables1.swift
Created August 10, 2018 02:22
variables-1
var a = 1
var name = "Bob"
var physicsRoomNumber = "123 B"
@mildocjr
mildocjr / variables2.swift
Created August 10, 2018 02:23
variables-2
var a = 1
a = 253
@mildocjr
mildocjr / constants1.swift
Created August 10, 2018 02:25
constants-1
let stopSignText = "STOP"
let myFirstName = "Bob"
let appleCompanyName = "Apple Inc."
@mildocjr
mildocjr / comments1.swift
Last active August 10, 2018 02:26
comments-1
/* this is the start of the comment
This is a multi-line comment
*/ //This is the end of the comment noted with a single line comment
var myString = "Not a comment"
/*
* Most people use multi-line comments like this. It helps them to
* know what is and is not a comment
*/
@mildocjr
mildocjr / compilerhate.swift
Last active August 10, 2018 02:28
compiler-hate
// This does not work
var myString // we get a compiler error
// This is how it should be written
var myLastName: String
var myAge: Int
// You can, and should, use the type declaration with initial values
// so you know exactly what the value should be later on
@mildocjr
mildocjr / hellostring.swift
Created August 10, 2018 02:32
hello-string
var myString = "Hello"
@mildocjr
mildocjr / cpointers1.m
Created August 10, 2018 02:33
c-pointers-1
// same as var age = 21 except this is a pointer in C
char *name[]= "Bob";
// In Objective-C it would look like this
NSString *name = @"Bob";
@mildocjr
mildocjr / modulo1.swift
Created August 10, 2018 02:37
modulo-1
// Remainder - also referred to as Modulo
var r = 25 % 7 // r is equal to 4 (25 / 7 = 3 with remainder of 4
@mildocjr
mildocjr / concatstrings1.swift
Created August 10, 2018 02:38
concat-strings
var firstName = "John"
let lastName = "Doe"
let fullName = firstName + " " + lastName