This file contains hidden or 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
#include <iostream> | |
#include <string> | |
#include <sstream> | |
#include <iomanip> | |
using namespace std; | |
#include "person.h" | |
void Person::setName(string aName) | |
{ |
This file contains hidden or 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
//Complex.cpp | |
#include <iostream> | |
#include "Complex.h" | |
using std::cout; | |
using std::endl; | |
/** | |
* Creates a new Complex with default values for real and imaginary |
This file contains hidden or 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
// TO save time i'm going with a single file class. Prototyped at the top, defined at the bottom. | |
#ifndef COMPLEX_H | |
#define COMPLEX_H | |
#include <iostream> | |
using namespace std; | |
class Complex | |
{ |
This file contains hidden or 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
// Page initialization - The root of all evil | |
$(document).ready(function () | |
{ | |
// hide the template container | |
$('#TemplateContainer').hide(); | |
// Initialize the Notification Daemon | |
$('#StatusBar').jnotifyInizialize({ | |
oneAtTime: true |
This file contains hidden or 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
@using CCBlog.Classes | |
@model IEnumerable<CCBlog.Classes.LastFmWrapper.Track> | |
@{ | |
ViewBag.Title = "About Me"; | |
} | |
<script type="text/javascript"> | |
$(document).ready(function () { |
This file contains hidden or 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
@using CCBlog.Classes | |
@model IEnumerable<CCBlog.Classes.LastFmWrapper.Track> | |
@{ | |
ViewBag.Title = "About Me"; | |
} | |
@* embed the json string for LFM *@ | |
<script type="text/javascript"> | |
var lfmData = @Html.Raw(ViewBag.Json) |
This file contains hidden or 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
<html> | |
<head> | |
<style type="text/css"> | |
.border{ | |
border: 2px solid #000; | |
width: 600px; | |
overflow: hidden; | |
margin-left: 400px; | |
} | |
.steps { |
This file contains hidden or 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
<section><!-- about-more --> | |
<div class="about-more"> | |
<div id="experience-div" class="experience"><h3>EXPERIENCE</h3> | |
<ul class="menu noaccordion"> | |
<li> | |
<a href="#"><h3>Linux Advocacy <span>//</span> Advocate & PowerUser</h3> | |
Early 1995 - Present</a> | |
<ul class="acitem"> | |
<li>Recently, due to my job and learning the intricacies of ASP.Net have I migrated back onto the windows platform. I was an early | |
adopter back in the mid 1990's running Redhat 5.3. Its amazing how far the free operating system has come. To anyone looking for a |
This file contains hidden or 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
[cmdletbinding()] | |
Param ( | |
[parameter(ValueFromPipeline=$True,ValueFromPipelineByPropertyName=$True)] | |
[string[]]$Computername, | |
[parameter()] | |
[System.Management.Automation.PSCredential]$Credential | |
) | |
Begin { | |
$queryhash = @{} | |
$BadDriveHash = @{} |
This file contains hidden or 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
#include <cstdlib> | |
#include <iostream> | |
#include <string> | |
using namespace std; | |
int hash_string(char str_name[]); | |
int main() | |
{ |