This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//////////////////// | |
/// System Light /// | |
//////////////////// | |
ledState <- 0; // Variable to represent LED state | |
inhibit <- 0; // Variable to represent LED inhibit state | |
hardware.pin9.write(1); // System Light | |
// input class for LED control channel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html class="fuelux" lang="en"> <!-- FuelUX attribute --> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<link href="http://fuelux.exacttargetapps.com/fuelux/2.0/css/fuelux.css" rel="stylesheet" /> <!-- FuelUX CDN link to core css --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% assign first_post = site.posts.first %} | |
{{ first_post.title }} | |
{{ first_post.date | date: "%B %e, %Y" }} | |
{{ first_post.summary }} | |
{% for post in site.posts offset: 1 limit: 50 %} | |
{{ post.title }} | |
{{ post.date | date: "%B %e, %Y" }} | |
{% for tag in post.tags %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO | |
CREATE PROCEDURE ContactsSelCollection | |
@Page INT = NULL, | |
@PageSize INT = NULL, | |
@Sort NVARCHAR(45) = NULL, | |
@Direction BIT = NULL, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DECLARE @Count int, @Sort NVARCHAR(45), @Direction BIT, @Page INT, @PageSize INT | |
/* --------------------------------------- | |
USE THE VARIABLES BELOW TO TEST | |
CHANGE THEM TO SEE HOW THE RESULT | |
SET CHANGES ... | |
--------------------------------------- */ | |
SET @Sort = 'FirstName' | |
SET @Direction = 0 -- ASC = 1, DESC = 0 OR NULL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE dbo.Contacts ( | |
ContactID int IDENTITY (1,1) NOT NULL, | |
FirstName nvarchar(64) NULL, | |
LastName nvarchar(64) NULL, | |
Phone nvarchar(50) NULL, | |
[Address] nvarchar(128) NULL, | |
City nvarchar(50) NULL, | |
[State] nvarchar(50) NULL, | |
Zip nvarchar(50) NULL, | |
Country nvarchar(128) NULL, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DECLARE @Date SMALLDATETIME, | |
@NumberOfContacts INT, | |
@Cntr INT, | |
@ContactID INT, | |
@FirstName NVARCHAR(64), | |
@LastName NVARCHAR(64) | |
/* ------------------------------------- */ | |
/* -- DEFINE THE NUMBER OF CONTACTS ---- */ | |
/* ------------------------------------- */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
layout: post | |
title: Part two on how I built my blog | |
category: Coding | |
tags: jekyll github rss | |
year: 2012 | |
month: 3 | |
day: 22 | |
published: true | |
summary: A follow up post on how I built my blog |