Skip to content

Instantly share code, notes, and snippets.

View jxlin's full-sized avatar

Jensen Lin jxlin

View GitHub Profile
@jxlin
jxlin / core-set.sql
Created December 9, 2019 07:27 — forked from backpackerhh/core-set.sql
SQL - Social-Network Query Exercises
-- 1. Find the names of all students who are friends with someone named Gabriel.
SELECT H1.name
FROM Highschooler H1
INNER JOIN Friend ON H1.ID = Friend.ID1
INNER JOIN Highschooler H2 ON H2.ID = Friend.ID2
WHERE H2.name = "Gabriel";
-- 2. For every student who likes someone 2 or more grades younger than themselves, return that student's name and grade, and the name and grade of the student they like.
@jxlin
jxlin / sdcnd-latex-equations.md
Created August 14, 2017 16:09 — forked from hfoffani/sdcnd-latex-equations.md
Udacity Self-Drive Car ND Equations in LaTex

Udacity Self-Drive Car ND Equations in Latex

Equations in LaTex of the Udacity's Self-Drive Car Nanodegree lectures.

Term 2

MP Controller

State

[ x_1, y_1, \psi_1, v_1, cte_1, e\psi_1]

+----------------------------------------------+---------------------+
| Company Name | Nbr of job postings |
+----------------------------------------------+---------------------+
| CivilMaps | 4 |
| Booz Allen Hamilton | 1 |
| Delphi | 15 |
| ISP Optics Corporation | 3 |
| Stride Search | 7 |
| Rand McNally | 1 |
| Zemax | 1 |
@jxlin
jxlin / Apriori.java
Last active August 29, 2015 14:10 — forked from monperrus/Apriori.java
import java.io.*;
import java.util.*;
/** The class encapsulates an implementation of the Apriori algorithm
* to compute frequent itemsets.
*
* Datasets contains integers (>=0) separated by spaces, one transaction by line, e.g.
* 1 2 3
* 0 9
* 1 9