Skip to content

Instantly share code, notes, and snippets.

View guocheng's full-sized avatar

Guo Cheng guocheng

View GitHub Profile
@guocheng
guocheng / gist:10b604234a0b275bcd55
Created March 13, 2015 04:02
This gist documents the analysis of the New York turnstile data. It is one of the projects for the Udacity's Data Analysis Nanodegree course.
{
"metadata": {
"name": "",
"signature": "sha256:b47a212f4b046df9d0d9e4b7f8c1e3c7c5758e0c1215f2e1df6975dc2131233c"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@guocheng
guocheng / index.html
Last active August 29, 2015 14:18
Bootstrap django index template
<!DOCTYPE html>
<html lang="zh-Hans">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title></title>
<link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}">
</head>
@guocheng
guocheng / .eslintrc
Last active January 3, 2018 19:18
A eslint config file for linting react/jsx and ES6 syntax. This file is based on (https://gist.github.com/cletusw/e01a85e399ab563b1236) and (https://github.com/kriasoft/react-starter-kit/blob/master/.eslintrc). Note that I use single quote in the rules, to change it, lookup 'quotes' and change it to `"quotes": [1, "double"].
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"es6": true
},
"ecmaFeatures": {
"jsx": true,
"modules": true,
@guocheng
guocheng / .eslintrc
Last active April 1, 2016 13:03
A copy of the eslintrc I use
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"es6": true
},
"ecmaFeatures": {
"jsx": true,
"modules": true,
@guocheng
guocheng / 1 - sql_interview_questions.md
Last active April 14, 2019 13:36 — forked from mjhea0/1 - sql_interview_questions.md
Jitbit's SQL interview questions
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@guocheng
guocheng / Python for and while loop.ipynb
Last active June 9, 2019 06:26
Python for and while loop
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@guocheng
guocheng / Recursion.ipynb
Created June 28, 2019 07:54
Recursion Practise
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@guocheng
guocheng / Python LinkedList.ipynb
Created June 29, 2019 13:55
Python implementation of LinkedList
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.