Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
<# | |
.SYNOPSIS | |
Logs out inactive users. | |
.DESCRIPTION | |
Logs out inactive users, except for specific users that | |
have been manually approved and are allowed to stay logged | |
in for indefinite periods of time. | |
You can run this script directly on Powershell: |
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
// Michael Lee | |
// Tuesday, April 14, 2015 | |
// Sample program: StackDeck.java | |
// | |
// This class represents a deck of cards, which you can shuffle | |
// and manipulate. | |
import java.util.List; | |
import java.util.ArrayList; | |
import java.util.NoSuchElementException; |
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
// Michael Lee | |
// Section AP | |
// Tuesday, April 14, 2015 | |
// Sample program: ListDeck.java | |
// | |
// This class represents a deck of cards, which you can shuffle | |
// and manipulate. | |
import java.util.List; | |
import java.util.ArrayList; |
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
// Michael Lee | |
// Section AP | |
// Tuesday, April 14, 2015 | |
// Sample program: Deck.java | |
import java.util.List; | |
interface Deck { | |
public int size(); | |
public boolean isEmpty(); |
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
#!/usr/bin/env python | |
''' | |
A program to test logical expressions for equivalence and generate truth tables. | |
Usage: | |
python test_logic.py | |
Edit the "main" function located at the bottom of the file to change what | |
expressions you want to test. |
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 manuallyOpen() { | |
var anchor = window.location.hash.substring(1); | |
if (anchor.length > 0) { | |
var element = document.getElementById(anchor); | |
element.click(); | |
} | |
} | |
$(document).foundation(); | |
$(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
ren *.ellog *.itlog |
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
// Michael Lee | |
// January 27, 2015 | |
// Section BP | |
// | |
// This file takes two queues with numbers in random order and sorts them. | |
import java.util.*; | |
public class SortTwoQueuesV2 { | |
// The main starting point of the program. |
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
// Michael Lee | |
// January 27, 2015 | |
// Section BP | |
// | |
// This file takes two queues with numbers in random order and sorts them. | |
import java.util.*; | |
public class SortTwoQueues { | |
// The main starting point of the program. |