The project consisted of three parts:
- Make search better by introducing additional search filters. (e.g., tags, notebook, type)
- Make the ranking of search results better by implementing the Okapi BM25 relevance function.
- Make fuzzy search possible.
const d = {"1": "2"} | |
export default d |
#!/usr/bin/env sh | |
# first check to see if mongo service is running. you can't delete any files until the service stops so perform a quick check. | |
launchctl list | grep mongo | |
# NOTE: the pipe | symbol means the commands on the right performs on the output from the left | |
# grep is a string search utility. `grep mongo` means search for the substring mongo | |
# use the unload command to end the mongo service. this is required to 'unlock' before removing the service. | |
# first look for the file to delete | |
MONGO_SERVICE_FILE=$(ls ~/Library/LaunchAgents/*mongodb*) |
function download_submissions() { | |
const table = document.getElementsByClassName("assignment_answers") | |
function get_link(num, table) { | |
const anchor_link = table[0].rows[num].children[3].innerHTML | |
const startPos = anchor_link.indexOf(`"`) + 1; | |
const endPos = anchor_link.indexOf(`"`, startPos); | |
const link = anchor_link.slice(startPos, endPos); |
The project consisted of three parts:
import email | |
import getpass, imaplib | |
import os | |
import sys | |
import re | |
import subprocess | |
# TO DO : Sort the report based on line number. | |
# TO DO : Make folder structure Lab#/Group#/*.v |
The project consisted of three parts:
Of these, the first two have been merged. The third is nearing completion.
// http://eloquentjavascript.net/ | |
// Looping a Triangle | |
for (var i = 0; i < 7; i++) { | |
line = ''; | |
while (line.length < i) | |
line += "#"; | |
console.log(line); | |
} |