Skip to content

Instantly share code, notes, and snippets.

View thuongnn's full-sized avatar
🎯
Focusing

Nguyen Nhu Thuong thuongnn

🎯
Focusing
View GitHub Profile
@thuongnn
thuongnn / echo.go
Created May 14, 2021 10:37 — forked from paulsmith/echo.go
A simple echo server testing a few interesting Go language features, goroutines and channels.
// $ 6g echo.go && 6l -o echo echo.6
// $ ./echo
//
// ~ in another terminal ~
//
// $ nc localhost 3540
package main
import (
@thuongnn
thuongnn / SomeComponent.tsx
Created October 2, 2019 14:45 — forked from PTKC/SomeComponent.tsx
Google Autocomplete Example with Ant Design
import { Card, Col, Divider, Form, Input, Row } from "antd";
import { LocationSearchInput } from "./location-search";
import { geocodeByAddress, getLatLng } from "react-places-autocomplete";
import { FormComponentProps } from "antd/lib/form/Form";
type Props = {} & FormComponentProps;
type State = {
address: string;
};