- Install Dependencies
npm init -y npm install --save-dev vue @vue/cli http-server
- Create vue component
src/my-component.vue
.<template>
/* | |
MIT License | |
Copyright (c) 2020 Egor Nepomnyaschih | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |
const ts = require('typescript');
const fs = require('fs');
const path = require('path');
const prettier = require('prettier');
const { promisify } = require('util');
const { globFiles, clean, mkdirp } = require('aria-fs');
const writeFileAsync = promisify(fs.writeFile);
The following intructions can be used to install .NET Core on Linux ARM64.
Pro tip: Check out .NET Core Docker files to determine the exact instructions for installing .NET Core builds, for example .NET Core 3.1 ARM32 SDK Dockerfile.
The following instructions install the latest .NET Core globally. It isn't required to do that, but it provides the best experience.
This gist is based on the information available at golang/dep, only slightly more terse and annotated with a few notes and links primarily for my own personal benefit. It's public in case this information is helpful to anyone else as well.
I initially advocated Glide for my team and then, more recently, vndr. I've also taken the approach of exerting direct control over what goes into vendor/
in my Dockerfiles, and also work from
isolated GOPATH environments on my system per project to ensure that dependencies are explicitly found under vendor/
.
At the end of the day, vendoring (and committing vendor/
) is about being in control of your dependencies and being able to achieve reproducible builds. While you can achieve this manually, things that are nice to have in a vendoring tool include:
After installing Docker, follow three steps:
Step 1:
Run: docker network create mynet
Step 2:
Run: docker run --name sonar-postgres -e POSTGRES_USER=sonar -e POSTGRES_PASSWORD=sonar -d -p 5432:5432 --net mynet postgres
Step 3:
Run: docker run --name sonarqube -p 9000:9000 -e SONARQUBE_JDBC_USERNAME=sonar -e SONARQUBE_JDBC_PASSWORD=sonar -e SONARQUBE_JDBC_URL=jdbc:postgresql://sonar-postgres:5432/sonar -d --net mynet sonarqube:5.6
import * as Rx from 'rxjs' | |
const pointerDown$ = Rx.Observable.race( | |
Rx.Observable.fromEvent(window, 'mousedown'), | |
Rx.Observable.fromEvent(window, 'touchstart'), | |
) | |
const drag$ = pointerDown$.flatMap(() => { | |
const pointerUp$ = Rx.Observable.race( | |
Rx.Observable.fromEvent(window, 'mouseup'), |
First install Brew on your MAC
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
brew tap homebrew/dupes
brew tap homebrew/php
brew install php70
mcrypt
: brew install mcrypt php70-mcrypt
brew install composer
using System.Collections.Generic; | |
using GraphQL.Types; | |
using Xunit; | |
namespace GraphQL.Tests.Execution.Collections | |
{ | |
public class Foo | |
{ | |
public Foo() | |
{ |