Skip to content

Instantly share code, notes, and snippets.

View AndrienkoAleksandr's full-sized avatar

Oleksandr Andriienko AndrienkoAleksandr

View GitHub Profile
docker rmi $(docker images -f "dangling=true" -q)
specVersion: 0.0.1
name: che-machine-exec
components:
- name: theia-editor
type: cheEditor
id: org.eclipse.che.editor.theia:next
- name: exec-plugin
type: chePlugin
id: che-machine-exec-plugin:0.0.1
- name: ms-vscode.go
eclipse-che/theia-plugin-ext: error Command failed with exit code 1.
@eclipse-che/theia-plugin-ext: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@eclipse-che/theia-plugin-ext: error Command failed with exit code 1.
lerna ERR! execute callback with error
lerna ERR! Error: Command failed: yarn run prepare
lerna ERR! error Command failed with exit code 1.
lerna ERR! error Command failed with exit code 1.
lerna ERR!
lerna ERR! $ yarn clean && yarn build
lerna ERR! $ rimraf lib
@AndrienkoAleksandr
AndrienkoAleksandr / Travis CI local install
Created February 18, 2019 13:05 — forked from jarun/Travis CI local install
How to install Travis CI locally on Ubuntu 16.04
sudo apt install ruby ruby-dev
sudo gem install travis
# install path: /var/lib/gems/
{
"id": "che7-preview",
"creator": "ide",
"name": "Che 7 Theia dev",
"description": "Development Theia as IDE, CHE-Theia, Theia plugins or plugin api.",
"scope": "general",
"tags": [
"ws.next",
"Theia",
"Node.JS",
export THEIA_DEFAULT_PLUGINS=local-dir:../../plugins && theia start
@AndrienkoAleksandr
AndrienkoAleksandr / installing-node-with-nvm.md
Created January 3, 2019 08:25 — forked from d2s/installing-node-with-nvm.md
Installing Node.js for Linux & macOS with nvm
# Compile stage
FROM golang:1.10.1-alpine3.7 AS build-env
ENV CGO_ENABLED 0
ADD . /go/src/github.com/ws-skeleton/che-machine-exec
# The -gcflags "all=-N -l" flag helps us get a better debug experience
RUN go build -gcflags "all=-N -l" -o /server/che-machine-exec github.com/ws-skeleton/che-machine-exec
# Compile Delve
RUN apk add --no-cache git
@AndrienkoAleksandr
AndrienkoAleksandr / gist:2e590968f554c0384993846000ecd950
Created December 10, 2018 15:25
Remove all untagged docker images
docker rmi $(docker images | grep "^<none>" | awk "{print $3}")
‘yarn’ command to build Theia uses lerna.js:
https://github.com/theia-ide/theia/blob/master/scripts/lerna.js
By default lerna uses 4 threads. But You could modify this script to use less threads. Simply Change:
```
require(lernaPath);
```
To:
```
process.argv.push('--concurrency=1');