Rotate - MMB
Pan - Shift + MMB
Zoom - Mouse Scroll Wheel
| <scheme name="Darcula" version="142" parent_scheme="Darcula"> | |
| <option name="FONT_SCALE" value="1.0" /> | |
| <metaInfo> | |
| <property name="created">2022-09-16T07:34:38</property> | |
| <property name="ide">WebStorm</property> | |
| <property name="ideVersion">2022.2.2.0.0</property> | |
| <property name="modified">2022-09-16T07:34:54</property> | |
| <property name="originalScheme">_@user_Darcula</property> | |
| </metaInfo> | |
| <option name="LINE_SPACING" value="1.2" /> |
| import {Inject, Injectable} from '@angular/core'; | |
| import {CdkDragDrop, CdkDragMove, CdkDragRelease, CdkDropList} from "@angular/cdk/drag-drop"; | |
| import {DOCUMENT} from "@angular/common"; | |
| @Injectable({ | |
| providedIn: 'root' | |
| }) | |
| export class DragDropService { | |
| public readonly DEFAULT_SCOPE = 'default'; |
| version: '3.1' | |
| services: | |
| mongo: | |
| image: mongo | |
| restart: always | |
| environment: | |
| MONGO_INITDB_DATABASE: database_name | |
| MONGO_INITDB_ROOT_USERNAME: user |
| public static PropertyBuilder<TEnum> HasEnumConversion<TEnum>(this PropertyBuilder<TEnum> propertyBuilder) | |
| where TEnum : struct, Enum | |
| { | |
| return propertyBuilder.HasConversion( | |
| enumValue => $"{enumValue}", | |
| enumString => Enum.Parse<TEnum>(enumString) | |
| ); | |
| } | |
| # Staging Container | |
| FROM node:8.12.0 | |
| # Set working directory | |
| RUN mkdir /usr/src/app | |
| WORKDIR /usr/src/app | |
| # Add any global dependencies you need | |
| # RUN npm install -g @angular/cli |
| # Start a new rails api project in your current directory | |
| $ docker run -it --rm --user "$(id -u):$(id -g)" -v "$PWD":/usr/src/app -w /usr/src/app \ | |
| rails rails new --skip-bundle --api --database postgresql | |
| $ cd webapp | |
| $ docker run --rm -v "$PWD":/usr/src/app -w /usr/src/app ruby:2.4 bundle install |
| @import url(//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css); | |
| /*** basic styles ***/ | |
| body { margin: 30px; } | |
| h1 { font-size: 1.5em; } | |
| label { font-size: 24px; } | |
| div { | |
| width: 175px; | |
| margin-left: 20px; |
| module.exports = function(rabbit, subscribeTo) { | |
| return rabbit.configure({ | |
| connection: { | |
| user: 'guest', | |
| pass: 'guest', | |
| server: [ | |
| process.env.RABBITMQ_HOSTNAME | |
| ], | |
| port: 5672, | |
| vhost: '%2f', |