일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- 플러터
- 함수
- 파이썬
- kotlin
- 콜렉션
- List
- textstyle
- Collection
- pushnamed
- crawler
- package
- 클래스
- python
- map
- 다트
- Android
- 웹크롤러
- import
- 크롤러
- 코틀린
- variable
- DART
- animation
- Yocto
- function
- Class
- set
- ML
- text
- Flutter
- Today
- Total
목록tips (9)
조용한 담장
Jest 의 에러 Jest encountered an unexpected token SyntaxError: Cannot use import statement outside a module 를 해결 한 방법. 아래의 패키지 설치 (npm install) @babel/core @babel/preset-env @babel/plugin-transform-modules-commonjs @babel/plugin-transform-runtime project root directory 에 babel.config.js 파일 생성 module.exports = { presets: ["@babel/preset-env"], env: { test: { plugins: [ '@babel/plugin-transform-modul..
python https://docs.python.org/3/library/http.server.html python3 -m http.server 8080 --bind 192.168.0.2 node https://www.npmjs.com/package/http-server dart https://dart.dev/tutorials/server/httpserver import 'dart:async'; import 'dart:io'; import 'package:http_server/http_server.dart'; import 'package:path/path.dart' as p; Future main() async { final dir = VirtualDirectory('.') ..allowDirectory..
매번 까먹지 말고 기록... VirtualBox 에 그래픽 빼고 설치하고 삼바까지 설치하니 1.6GB 1. 유저추가 (root) $ su - $ adduser username buster 에서는 su 가 아닌 su - 를 사용해야 한다. link 2. 유저 sudo group 에 추가 $ su - $ apt install sudo $ usermod -aG sudo username 3. samba 설치 와 smb.cfg 설정 $ sudo apt install samba $ sudo vi /etc/samba/smb.conf [share] comment = my share path = /share/path browseable = yes read only = no create mask = 0700 directo..
원본 docker image 에 자신이 작업한 내용을 합치고자 할때 docker commit 을 사용 합니다. 1. ubuntu image 를 가져와 실행합니다. $ docker pull ubuntu $ docker run -it ubuntu 2. 내가 필요한 작업을 합니다. root@0a9b63f5f81d:/# apt-get update root@0a9b63f5f81d:/# apt-get install build-essential wget git python root@0a9b63f5f81d:/# exit 3. container 0a9b63f5f81d 의 내용을 commit 하여 새로운 이미지를 만듭니다. $ docker commit -m "ubuntu updated" 0a9b63f5f81d ubuntu..