- Copied the text from https://www.sfchronicle.com/newsroom_contacts/ to an empty Google spreadsheet.
- Split the names by comma using the "Split text to columns" feature, recorded in a macro so I can apply it using a keyboard shortcut.
- Used this formula to format as rows,
=CONCATENATE("03/26/2023,Hardik,",B44,",",A44,",",A46,",,,San Francisco Chronicle,",A45)
- Then copied it over to another sheet, splitting the text into columns.
- Sorted the columns to move the interspersed empty rows.
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
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml | |
index 007b5ee..00088e8 100644 | |
--- a/pnpm-lock.yaml | |
+++ b/pnpm-lock.yaml | |
@@ -63,7 +63,7 @@ devDependencies: | |
version: 14.0.0(react-dom@18.2.0)(react@18.2.0) | |
'@testing-library/user-event': | |
specifier: ^14.4.3 | |
- version: 14.4.3(@testing-library/dom@9.2.0) | |
+ version: 14.4.3(@testing-library/dom@9.3.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
FROM node:latest | |
EXPOSE 65520 | |
EXPOSE 65523 | |
EXPOSE 65522 | |
ENV PROJECT_DIR="/root/project" | |
WORKDIR $PROJECT_DIR | |
COPY . $PROJECT_DIR |
Install selenium for Python 3,
pip3 install selenium
Install chromedriver,
brew tap homebrew/cask
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 java.util.Arrays; | |
import java.util.Scanner; | |
/** | |
* Runs commands for circular buffer | |
* @author Hardik Vala | |
*/ | |
class CircBufferRunner { | |
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
""" | |
Translates each token in a text file to its WordNet synset. | |
@author: Hardik | |
""" | |
import argparse | |
import logging | |
import os | |
import re |
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 java.io.File | |
/* | |
* Problem description: Given a .tsv file where the first column is a tweet’s text content, the second | |
* column is the user id who made the tweet, and the third column is the lat lon of the tweet (if any), | |
* with a space in between the values how would you find the most frequently used hashtag for each user | |
* who has tweeted more than five times and has at least one tweet from in the continental US? | |
*/ | |
val inputPath: String = "/home/ndg/project/jurgens/command-line-demo/command-line-challenge-input.BIG.tsv" |
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
# Demo Dockerfile illustrating how to map a user from the host system to the | |
# Docker container. | |
# Here are some simple instructions to get up and running: | |
# | |
# Build the image with, | |
# | |
# docker build -t myDockerImage . | |
# | |
# and then build a container with a folder mount using, |
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
/* I did not come up this but can't find the proper source. */ | |
try { | |
// Some shiz. | |
} catch (e) { | |
var xcb="http://stackoverflow.com/search?q=[js]" + e.message; | |
window.open(xcb, '_blank'); | |
} |
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
""" | |
Example illustrating how to use a decorator to notify you via text message if a | |
long running function crashes. | |
""" | |
import os | |
import time | |
# Phone number (You may want to change this). |
NewerOlder