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
// this node program takes 3 URLs provided by the first 3 command line arguments and gets some data from those URLS. | |
// the program then prints each set of data in the order it was called. | |
// counting callbacks was a requirement as a method to handle the asyncronicity. | |
const http = require('http'); | |
const urls = []; | |
const dataArr = []; | |
let count = 0; |
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
// this program is run on the command line. Fist compile the program with clang or C compiler. | |
// then run ./<program name> <key> | |
// the key is a numerical value greater or equal to zero and is required. | |
// The program will then ask you for a plaintext message to encrypt using your key. | |
// The program returns ciphertext. | |
#include <stdio.h> | |
#include <cs50.h> | |
#include <string.h> |
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
// Recovers JPEGs from a .raw file by searching for JPEG headers and writing all of the bytes | |
// between headers to different out files. | |
#include <stdio.h> | |
#include <string.h> | |
#include <math.h> | |
#include <stdlib.h> | |
#include <ctype.h> | |
#include <stdint.h> |
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
// BMP-related data types based on Microsoft's own | |
#include <stdint.h> | |
/** | |
* Common Data Types | |
* | |
* The data types in this section are essentially aliases for C/C++ | |
* primitive data types. | |
* |
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
// Implements a dictionary's functionality | |
#include <stdbool.h> | |
#include "dictionary.h" | |
#include <stdio.h> | |
#include <string.h> | |
#include <math.h> | |
#include <stdlib.h> | |
#include <ctype.h> | |
#include <stdint.h> |
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
import re | |
import math | |
import csv | |
from utils import sanitize | |
from sys import argv, exit | |
countStrand1 = 0 | |
countStrand2 = 0 | |
countStrand3 = 0 | |
countStrand4 = 0 |