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
<?php | |
// Used to make sure test mode isn't entered into on accident | |
class TestModeException extends Exception { } | |
// Used to return a testable value as far into the logic that the test can reach | |
class TestResultsException extends Exception { } | |
// The class which will be tested | |
class TestableClass { |
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
#!/bin/bash | |
SERVICE_NAME='my-example-vpn' | |
SERVICE_URL='my-example-vpn.com' | |
if [[ ${#USER} > 1 ]] | |
then | |
read -p "Log in as ${USER}? [y/n] " LIA | |
else | |
LIA = 'n' |
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
kids = [ | |
# Name, Family | |
['Noah', :esb], | |
['Galen', :esb], | |
['Charlotte', :kab], | |
['Alice', :kab], | |
['Elijah', :dkw], | |
['Celia', :dkw], | |
['Helena', :dkw] | |
] |