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
In 2015, a student, S, had bullied me for what she believed to be anorexia and I distanced myself from this student. In 2016, student Jasmine Moore, had told a professor that I did not work with her on a project. I discussed with the professor that this was a lie. The professor confronted Jasmine Moore who confessed to her that she had lied and that S had talked her into it. Holford refused to interview the lab instructor Miss Moore had lied to, interviewing only the professor who was the head of the course. Holford refused to interview me. Later, the Dean of Students divulged that Holford chose to do nothing, stating, “I don’t know why Holford chose not to do anything.” Holford refused to meet with another student bullied by S. (Speculation is that Holford knew that Moore had recently been accepted to graduate school at Purdue. Knowing this mark on her record would likely prevent her entrance and her acceptance “looked good” to the College of Science. | |
S had invited a faculty member to speak at an event only |
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
// Check if page contains the text "Maternal side" | |
function checkPage(url, element, callback) { | |
let newTab = window.open(url, "_blank"); | |
newTab.addEventListener("load", function onTabLoad() { | |
newTab.removeEventListener("load", onTabLoad); | |
let isMaternal = newTab.document.body.textContent.includes("Maternal side"); | |
callback(isMaternal, element, newTab); |
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
string = 'This is a Ruby tutorial.' | |
string.count('i') | |
# This returns the integer 3 | |
# case sensitive example | |
string.count('r') | |
# This returns the integer 1 | |
string.count('r', + 'R') | |
# This returns the integer 2 |
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
string = "This is a Ruby tutorial." | |
# This returns the index where the 1st instance of i occurs | |
string.index('i') | |
# This code returns 2 |
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
string = "This is a Ruby tutorial." | |
# Here we will return an array containing each instance of i | |
string.scan('i') | |
# This code returns ["i", "i", "i"] |
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
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package rollingdie; | |
import java.util.Random; | |
import java.util.Scanner; | |
import java.util.*; | |
import java.util.Arrays; |
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
if rocks > pebbles | |
puts "You have more rocks than pebbles." | |
elsif rocks < pebbles | |
puts "You have more pebbles than rocks." | |
end | |
if rocks > pebbles | |
puts "You have more rocks than pebbles." | |
elsif pebbles > rocks | |
puts "You have more pebbles than rocks." |
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
puts "Enter a starting number for your range" | |
range_begin = gets.chomp.to_i | |
puts "Enter the ending number for your range" | |
range_end = gets.chomp.to_i | |
range = (range_begin..range_end) | |
dirty_prime_list = [] | |
range.each do |x| | |
euler = x**2 + x + 41 |
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
unsorted_array = [5, 2, 8, 0, 9, 3, 1] | |
sorted_array = [] | |
count = 0 | |
while sorted_array.count != unsorted_array.count | |
unsorted_array.each do |i| | |
if i == count | |
sorted_array << i | |
end | |
end |
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
puts "Pick a number 1-50" | |
number = gets | |
if number.include? "." | |
puts "I'm getting rid of that decimal. That was a dumb move." | |
end | |
number = number.chomp.to_i | |
while number < 1 || number > 50 |
NewerOlder