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
#include <iostream> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
using namespace std; | |
struct entry_node { | |
string name; | |
struct entry_node *next; |
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
package main | |
import ( | |
"fmt" | |
"os" | |
"strconv" | |
) | |
func main() { | |
allRows := [5][10]string{{" - ", " ", "--", "- ", " ", "-", "-", "-", "-"}, |
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
package main | |
import ( | |
"context" | |
"encoding/json" | |
"fmt" | |
"log" | |
"github.com/ethereum/go-ethereum/common" | |
"github.com/ethereum/go-ethereum/ethclient" |
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
node* minValueNode(node* node){ | |
struct node* current = node; | |
while (current && current->left != NULL) | |
current = current->left; | |
return current; | |
} | |
node* deleteNodeHelper(struct node* root){ | |
if (root == NULL) return root; | |
if (root->left == NULL){ |
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
from unittest import TestCase | |
import unittest | |
from credit_card_validator import credit_card_validator | |
class TestCredCardNumber(TestCase): | |
# Bug 3 - Valid card number (Visa) but an intteger : Found via manual test | |
def test_valid_card_int(self): | |
ccn = 4113601974804222 |
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
/* | |
** client.c -- a stream socket client demo | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <errno.h> | |
#include <string.h> | |
#include <netdb.h> |
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
// Element Implementation | |
#include "element.h" | |
// Class Methods | |
// Default constructor | |
element::element() { | |
data = nullptr; | |
next = nullptr; | |
prev = nullptr; |
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
#!/bin/bash | |
case $1 in | |
test) | |
echo "running test script" | |
./p4gradingscript $2 | |
;; | |
*) | |
echo "compiling files" | |
gcc -o keygen keygen.c |
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
/****************************** | |
* Developer: Harrison Latimer | |
* | |
* Class: CS 344 Fall 2019 | |
* | |
* Program 3: smallsh | |
* | |
* Description: unix shell like | |
* program that implements 3 unix shell | |
* like arguments (cd, status, exit) |
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
// list Genevieve Latimer v1.0 | |
#include "list.h" | |
using namespace std; | |
list::list() | |
{ | |
size = 0; | |
capacity = 1000; | |
for (int idx = 0; idx < capacity; idx++) data[idx] = std::string(""); | |
} |
NewerOlder