Skip to content

Instantly share code, notes, and snippets.

@WangLarry
WangLarry / test.csv
Created October 3, 2025 02:25
public-transport-delays-with-weather-and-events
We can make this file beautiful and searchable if this error is corrected: It looks like row 7 should actually have 24 columns, instead of 2 in line 6.
trip_id,date,time,transport_type,route_id,origin_station,destination_station,scheduled_departure,scheduled_arrival,actual_departure_delay_min,actual_arrival_delay_min,weather_condition,temperature_C,humidity_percent,wind_speed_kmh,precipitation_mm,event_type,event_attendance_est,traffic_congestion_index,holiday,peak_hour,weekday,season,delayed
T00000,2023-01-01,05:00:00,Tram,Route_15,Station_31,Station_6,05:02:00,05:55:00,12,3,Storm,5.1,52,46,13.0,None,500,81,0,1,6,Winter,0
T00001,2023-01-01,05:15:00,Metro,Route_12,Station_49,Station_32,05:16:00,05:55:00,15,9,Rain,34.0,64,11,11.4,None,0,53,0,0,6,Autumn,1
T00002,2023-01-01,05:30:00,Bus,Route_16,Station_29,Station_42,05:33:00,06:17:00,0,0,Clear,29.5,35,31,14.1,Sports,0,67,1,0,6,Autumn,0
T00003,2023-01-01,05:45:00,Tram,Route_19,Station_26,Station_18,05:49:00,06:08:00,15,10,Clear,27.4,55,41,6.4,None,500,84,0,0,6,Winter,1
T00004,2023-01-01,06:00:00,Tram,Route_8,Station_18,Station_15,06:00:00,06:35:00,-1,14,Snow,0.1,90,30,18.5,None,500,46,0,0,6,Spring,1
T00005,2023

Next.js Starters

A list of CLI generators, starter kits / boilerplates and toolkits to kick start your Next.js apps.

  • What is included in this list:
    • Has ~1K+ Github stars
    • Actively maintained / up to date
    • Includes a style / css solution or UI Framework
    • Includes a database
  • Includes authentication / authorization
@WangLarry
WangLarry / auto-form.tsx
Created September 29, 2023 16:12
auto-form: support hidden and grid layout
/* eslint-disable @typescript-eslint/no-unsafe-argument */
import React from "react";
import { type z } from "zod";
import {
Form,
FormControl,
FormDescription,
FormField,
FormItem,
FormLabel,
@WangLarry
WangLarry / webdev_online_resources.md
Created May 3, 2021 04:28 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)