Use SASS .scss style sheet with Angular 2+
SCSS is build in with angular 2+. To use SCSS in your project, change the style.css file to style.scss then change style.css to style.scss in your .angula… 阅读更多 »Use SASS .scss style sheet with Angular 2+
SCSS is build in with angular 2+. To use SCSS in your project, change the style.css file to style.scss then change style.css to style.scss in your .angula… 阅读更多 »Use SASS .scss style sheet with Angular 2+
Then Import css from .angular-cli.json Add the following style to style.css use
I used the following module in my angular project. https://www.npmjs.com/package/ng2-dnd It works fine on google chrome. Whereas on Firefox, the textarea i… 阅读更多 »TextArea in Draggable container doesn’t work well with firefox 60.0
FROM php:alpine RUN apk update && apk add zip libxml2-dev libpng-dev && docker-php-ext-install mysqli simplexml mbstring gd RUN mkdir /var… 阅读更多 »Run multiple commands in dockerFile CMD
FROM php:apache RUN apt-get update && apt-get -y install zip libxml2-dev libpng-dev apt-utils && docker-php-ext-install mysqli simplexml mb… 阅读更多 »Dockerfile for building mybb 1.8.15 based on apache and alpine
When I tried to mount a windows folder as docker volume, the mounted folder in docker container is empty. docker run –rm -v c:/Users:/data alpine l… 阅读更多 »A problem with docker volume mount on windows
Navigate to the www dir which you would like to use as web root Create a new file call http.py (you can use any file name) with following content import… 阅读更多 »A quick HTTP server using python docker container
Install VSVIM Fix ctrl+[ keyboard (I did following twice until it works)
When you use docker run to start a new docker container, you can use -p option to map a docker container port to a localhost port. For example: docker run … 阅读更多 »Expose new ports for running docker container