Skip to content

Instantly share code, notes, and snippets.

View zhj930924's full-sized avatar

Jing Zhang (Thomas) zhj930924

  • University of Virginia
  • Charlottesville, VA
View GitHub Profile
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"ExecuteTime": {
"end_time": "2017-03-10T23:15:45.914758Z",
"start_time": "2017-03-10T18:15:45.859245-05:00"
},
@zhj930924
zhj930924 / The Technical Interview Cheat Sheet.md
Created March 6, 2017 09:35 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
@zhj930924
zhj930924 / The Technical Interview Cheat Sheet.md
Created March 6, 2017 09:35 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
@zhj930924
zhj930924 / README-Template.md
Created February 25, 2017 04:38 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@zhj930924
zhj930924 / .gitignore
Created April 22, 2016 04:21 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@zhj930924
zhj930924 / shared-key-otp-solver.py
Created March 8, 2016 07:54 — forked from clifflu/shared-key-otp-solver.py
Interactive solver for cyphertexts encrypted with shared one-time-pad. Requires Python3.
#!/usr/bin/env python
"""
shared-key-otp-solver.py
Interactive solver for cyphertexts encrypted with shared one-time-pad. Requires Python3.
Author: Cliff Chao-kuan Lu <[email protected]>
License: CC0 / Public Domain
"""
@zhj930924
zhj930924 / _message.html.erb
Created February 21, 2016 12:16 — forked from Joseph-N/_message.html.erb
Tutorial code snippets for chat application in rails. Tutorial link http://goo.gl/l3e8zN
<li class="<%= self_or_other(message) %>">
<div class="avatar">
<img src="http://placehold.it/50x50" />
</div>
<div class="chatboxmessagecontent">
<p><%= message.body %></p>
<time datetime="<%= message.created_at %>" title="<%= message.created_at.strftime("%d %b %Y at %I:%M%p") %>">
<%= message_interlocutor(message).name %> • <%= message.created_at.strftime("%H:%M %p") %>
</time>
</div>
---
title: "Codebook template"
author: "Your name here"
date: "The date here"
output:
html_document:
keep_md: yes
---
## Project Description
@zhj930924
zhj930924 / server.R
Created November 11, 2015 01:18 — forked from garrettgman/server.R
A shiny app that helps you explore stock returns (by way of yahoo finance and quantmod)
library(shiny)
library(quantmod)
library(VGAM)
# Define server logic for random distribution application
shinyServer(function(input, output) {
# acquiring data
dataInput <- reactive({
if (input$get == 0)