글

vcpkg skia linux build - release include/core/SkRefCnt.h:166: fatal error: "assert(rc == 1)"

SK_DEBUG bug set "-DCMAKE_BUILD_TYPE=Release"

vscode - typescript setting

$ tsc --init ctrl + shift + b -> watch

golang print at run test

set golang test option at settings.json - create .vscode/settings.json  {     "go.testTimeout" : "10m" ,     "go.testFlags" : [ "-v" ] }

react + typescript + leaflet

create project $ npx create-react-app@latest project-name –template typescript $ cd project-name $ yarn add react react-dom leaflet $ yarn add react-leaflet $ yarn add -D @types/leaflet add App.css .leaflet-container { width: 100%; height: 100vh; } change App.tsx import { MapContainer, TileLayer } from "react-leaflet"; import "leaflet/dist/leaflet.css"; import "./App.css"; function App() { return ( <div className="App"> <MapContainer center={[36, 128]} zoom={4} scrollWheelZoom={true}> <TileLayer attribution='&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>' url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" /> </MapContainer> </div> ); } export default App;

react-flutter

react + typescript + leaflet create project $ npx create-react-app@latest project-name –template typescript $ cd project-name $ yarn add react react-dom leaflet $ yarn add react-leaflet $ yarn add -D @types/leaflet add App.css .leaflet-container { width: 100%; height: 100vh; } change App.tsx import { MapContainer, TileLayer } from "react-leaflet"; import "leaflet/dist/leaflet.css"; import "./App.css"; function App() { return ( <div className="App"> <MapContainer center={[36, 128]} zoom={4} scrollWheelZoom={true}> <TileLayer attribution='&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>' url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" /> </MapContainer> </div> ); } export default App;

git remove submodule

git submodule deinit -f -- third_party/submodule rm -rf .git/modules/third_party/submodule git rm -f third_party/submodule