Skip to content

Instantly share code, notes, and snippets.

View yuuniverse4444's full-sized avatar

Zhou Yu yuuniverse4444

  • Stitch Fix
  • Sunnyvale, CA
View GitHub Profile
@yuuniverse4444
yuuniverse4444 / mens_eb_ls_woven.csv
Last active April 13, 2017 00:02
This is for uploading men's EB LS woven shirt
We can make this file beautiful and searchable if this error is corrected: It looks like row 9 should actually have 21 columns, instead of 4. in line 8.
Style Variant Id,Item Id,Size,Collar Length at Collar Stand,Shoulder to Shoulder,Across Front (6 inches down from HPS),Chest (1 inch down),Waist on the Half (Halfway between Armhole and Hem),Hem,Front Neck Drop,Depth of 1st Button,Armhole Depth,Front Body Length,Sleeve Length Armhole to Cuff Seam,Under Sleeve Length Armhole to Cuff Seam,Armhole on the Curve,Bicep (1 inch down),Sleeve Opening at Cuff Seam,Cuff Height,Yoke Width,Yoke Height
39120,,XS,16,16.25,14,20.5,19.5,20,3,2.75,10.5,28,23,18,9.75,7.75,4,2.25,16,3
39120,,S,16.5,17.25,15,21.5,20.5,21,3.25,2.75,11,29,23.5,18.5,10.25,8,4.25,2.25,17,3
39120,,M,17,18.25,16,22.5,21.5,22,3.5,2.75,11.5,30,24,19,10.75,8.25,4.5,2.25,18,3
39120,,L,18,19.25,17,24.5,23.5,24,3.75,3,12,31,24.5,19.5,11.25,8.75,4.75,2.25,19,3
39120,,XL,19,20.25,18,25.5,24.5,25,4,3.25,12.5,32,25,20,11.75,9,5,2.25,20,3
39120,,XXL,20,21.25,19,26.5,25.5,26,4.25,3.25,13,33,25.5,20.5,12.25,9.25,5.25,2.25,21,3
39118,,XS,16,16.25,14,20.5,19.5,20,3,2.75,10.5,28,23,18,9.75,7.75,4,2.25,16,3
39118,,S,16
@yuuniverse4444
yuuniverse4444 / README.md
Last active June 14, 2020 17:24
Interactive Stacked Bar Chart

I started this project by forking the static stacked bar chart created by Mike Bostock. I added two interactive features to the original chart. In order to see the whole view and the all interactive feature, please click Open in a new window.

  • Switching between Relative and Absolute View

    Stacked bar chart always faces the problem of looking from absolute view and relative view at the same time. In this case, an absolute view would allow one to see the variation of total population across different states. However, it would be very hard to see the difference of age group distribution between states. By contrast, a relative view would well present the variation of age group distribution across states at the cost of losing the information of total population of each state after normalizing every state to 100%. This interactive stacked chart would enable one

@yuuniverse4444
yuuniverse4444 / PathFinder.cpp
Created January 8, 2014 08:11
Sample C++ Code I had
/*
Name Zhou Yu
File:pathfinder.cpp
Section Leader: Snir & Rohan
*/
#include"pqueue.h"
#include"helpFunc.h"
#include "genlib.h"
#include "extgraph.h"
@yuuniverse4444
yuuniverse4444 / Python_Sample1.py
Created January 8, 2014 07:47
This is my sample python code. It contains two files. The first file automatically generated a .config file for running program based on user's input parameters. the second file used a dictionary to run a vlookup and find those rows that cannot be matched.
#This file automatically output a .config file based on user's input parameters.
OutputFileName = "zhou1.txt" # This is where the output file will be saved
Total_budget = 200000
Longest_Delay_Week = 5 # Expected longest weeks of delay; For example if you expect the delay will not be more than 35 days then the value would be 5 weeks
NumberofGroup = 4 # Can switch betwee 2 and 4, indicating if 1/2 or 1/4 test groups