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
package advent | |
import adventutil.io._ | |
import scala.annotation.tailrec | |
object Day2 { | |
def splitInstruction(instruction: String): (String, Int) = { |
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
#!/etc/python | |
class BinarySearchTree(): | |
def __init__(self, parent=None): | |
self.key = None | |
self.value = None | |
self.left = None | |
self.right = None |
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
#!/usr/bin/env python | |
def is_triangle(a, b, c): | |
return not collinear(a, b, c) | |
def collinear(a, b, c): | |
return slope(a, b) == slope(b, c) |
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 | |
/* | |
Template Name: Contact Form | |
*/ | |
include("header.php"); ?> | |
<div id="content"> | |
21<div class="container_16 col_16"> | |
<div class="grid_11 alpha"> |
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
var selected_social_elem; | |
$(document).ready(function(){ | |
function closeSocialPopup(e, element_div, element_top){ | |
element_div.css("visibility","hidden"); | |
element_div.css("opacity","0"); | |
element_top.removeClass("greyedOut"); | |
} | |
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
class BinaryTree(): | |
def __init__(self, val): | |
self.value = val | |
self.left = None | |
self.right = None | |
self.parent = None | |
def set_left(self,node): | |
self.left = node | |
self.left.parent = self |
This file has been truncated, but you can view the full file.
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
a | |
aah | |
aahed | |
aahing | |
aahs | |
aardvark | |
aardvarks | |
aardwolf | |
ab | |
abaci |