-
User visits web application.
- User can view resource availability as unauthenticated user (availability recorded in web app database).
-
User logs in to web application.
- User information is authenticated against library SIP2 server:
- On failure: user is prompted to re-enter information
- On success:
- User's supplementary information (e.g., name) is added to web app database (unless exists). Password (PIN) is not saved to web app database.
- User account is created in ActiveDirectory (unless already exists). AD password is created from user's PIN (all information passed over SSL). Group and logon hours set to none.
- User information is authenticated against library SIP2 server:
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
class TestsController < ApplicationController | |
# GET /tests | |
# GET /tests.json | |
def index | |
@tests = Test.all | |
respond_to do |format| | |
format.html # index.html.erb | |
format.json { render json: @tests } | |
end |
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
require 'net/ldap' | |
module AdHelper | |
class Connector | |
NO_LOGON_HOURS = '0' * 168 | |
def initialize | |
config_file = Dir.glob("#{Rails.root}/config/**/ad.yml").first |
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
[DCINSTALL] | |
SafeModeAdminPassword=<%= @admin_password %> | |
RebootOnCompletion=Yes | |
ReplicaOrNewDomain=domain | |
NewDomain=forest | |
NewDomainDNSName=<%= @domain_name %> | |
ForestLevel=3 | |
DomainLevel=3 | |
InstallDNS=yes |
[email protected]
214/223-1654
M.S., Information Science (Digital Imaging). University of North Texas. December 2011. (4.0 GPA.)
This stacked area chart is constructed from a TSV file storing the market share of several popular web browsers over the last year. Data is from Clicky Web Analytics. The chart employs conventional margins and a number of D3 features:
- d3.tsv - load and parse data
- d3.time.format - parse dates
- d3.format - format percentages
- d3.time.scale - x-position encoding
- d3.scale.linear - y-position encoding
- d3.scale.category20, a d3.scale.ordinal - color encoding
- [d3.extent](https://github.com/mbostock/d3/wiki/Arrays#wiki-d3_exten
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> | |
<title>Charts</title> | |
<!-- <script src="../assets/d3.v2.js"></script> --> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<script src="../assets/sankey.js"></script> | |
<script src="../assets/jquery-1.8.3.min.js"></script> | |
<script src="../assets/underscore.js"></script> | |
<script src="../assets/underscore.nest.js"></script> | |
<script src="../assets/jquery-ui-1.9.2.custom/js/jquery-ui-1.9.2.custom.js"></script> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- Derived from imlsdcc.grainger.uiuc.edu/docs/stylesheets/GeneralMARCtoQDC.xsl --> | |
<xsl:stylesheet version="1.0" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="marc"> | |
<xsl:template name="subfieldSelect"> | |
<xsl:param name="codes"/> | |
<xsl:param name="delimeter"> | |
<xsl:text> </xsl:text> | |
</xsl:param> | |
<xsl:variable name="str"> | |
<xsl:for-each select="marc:subfield"> |
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
(function(){ | |
if (typeof jQuery=='undefined') { | |
var headTag = document.getElementsByTagName("head")[0]; | |
var jqTag = document.createElement('script'); | |
jqTag.type = 'text/javascript'; | |
jqTag.src = 'http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js'; | |
jqTag.onload = (function(){ myJQueryCode(jQuery); }); | |
headTag.appendChild(jqTag); | |
} else { |
Switch between stacked and grouped layouts using sequenced transitions! Animations preserve object constancy and allow the user to follow the data across views. Animation design by Heer and Robertson. Colors and data generation inspired by Byron and Wattenberg.